ports/openssh: Add missing patches

I just noticed I had some uncommited patches that are required for the
compilation. Also remove the ifaddrs.h fixup as we now support those!
This commit is contained in:
2026-07-05 00:21:28 +03:00
parent 15f6158cea
commit a863b2ca13
4 changed files with 62 additions and 4 deletions

View File

@@ -9,13 +9,10 @@ MAKE_INSTALL_TARGETS=('install-nokeys')
CONFIGURE_OPTIONS=(
'--sysconfdir=/etc'
'--sbindir=/usr/bin'
'--disable-utmpx'
'CFLAGS=-Wno-deprecated-declarations'
)
post_configure() {
sed -i 's|#define HAVE_IFADDRS_H 1|/* #undef HAVE_IFADDRS_H */|' config.h || exit 1
}
post_install() {
passwd="$BANAN_SYSROOT/etc/passwd"
test "$(tail -c 1 "$passwd")" && echo >> $passwd