From 1daf71c2980b1920bbdc2f07af669ebf6f0f82d6 Mon Sep 17 00:00:00 2001 From: davidovski Date: Sat, 12 Mar 2022 23:00:02 +0000 Subject: added patches for broken files --- repo/util/net-tools.xibuild | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) (limited to 'repo/util/net-tools.xibuild') diff --git a/repo/util/net-tools.xibuild b/repo/util/net-tools.xibuild index af7cf61..bc232dc 100644 --- a/repo/util/net-tools.xibuild +++ b/repo/util/net-tools.xibuild @@ -4,16 +4,23 @@ MAKEDEPS="make " DEPS="pam libcap readline ncurses libxcrypt utmps iana-etc net-tools" PKG_VER=2.10 -SOURCE=https://downloads.sourceforge.net/project/net-tools/net-tools-$PKG_VER.tar.xz +SOURCE=https://github.com/ecki/net-tools ADDITIONAL=" - musl-fixes.patch " DESC="Linux networking base tools" prepare () { - apply_patches - cat > config.make </a #include " + sed -i netstat.c \ + -e "/#include /a #include " + + sed -i slattach.c \ + -e "/#include /a #include " + + + cat > config.make < config.h + } build () { - make + yes "" | make } package () { -- cgit v1.2.1