summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2016-10-29 19:20:53 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-10-29 19:21:01 +0200
commit689658b9440e5b3c2c063a4efa40e003ef358975 (patch)
treee0bbb7bf54b348facb3fc8503e1263123f41c06f
parent5fc40302928482e17a3a8ea24a03ebd86037960d (diff)
nfs-utils: fix glibc build
-rw-r--r--package/atftp/Makefile2
-rw-r--r--package/nfs-utils/patches/patch-utils_mount_network_c8
2 files changed, 5 insertions, 5 deletions
diff --git a/package/atftp/Makefile b/package/atftp/Makefile
index 2f476de19..27178dbe4 100644
--- a/package/atftp/Makefile
+++ b/package/atftp/Makefile
@@ -16,8 +16,6 @@ PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=atftp/}
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-PKG_LIBC_DEPENDS:= uclibc-ng glibc
-
PKG_SUBPKGS:= ATFTP ATFTPD
PKGSD_ATFTPD:= tftp server
PKGSS_ATFTPD:= libreadline libncurses
diff --git a/package/nfs-utils/patches/patch-utils_mount_network_c b/package/nfs-utils/patches/patch-utils_mount_network_c
index fe8400b26..be55fd4b4 100644
--- a/package/nfs-utils/patches/patch-utils_mount_network_c
+++ b/package/nfs-utils/patches/patch-utils_mount_network_c
@@ -1,10 +1,12 @@
--- nfs-utils-1.3.4.orig/utils/mount/network.c 2016-08-03 20:25:15.000000000 +0200
-+++ nfs-utils-1.3.4/utils/mount/network.c 2016-10-08 18:01:13.000000000 +0200
-@@ -38,7 +38,6 @@
++++ nfs-utils-1.3.4/utils/mount/network.c 2016-10-20 19:16:18.000000000 +0200
+@@ -38,7 +38,9 @@
#include <sys/socket.h>
#include <sys/wait.h>
#include <sys/stat.h>
--#include <linux/in6.h>
++#if defined(__GLIBC__)
+ #include <linux/in6.h>
++#endif
#include <netinet/in.h>
#include <rpc/rpc.h>
#include <rpc/pmap_prot.h>