]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - lfs/nfs
nfs: Fix building with newer glibcs
[people/pmueller/ipfire-2.x.git] / lfs / nfs
diff --git a/lfs/nfs b/lfs/nfs
index 2a8e331b534d98068f87564308033ae4fae77cd2..242b3caafedb4eca713d74003f41b82bdad6f4b4 100644 (file)
--- a/lfs/nfs
+++ b/lfs/nfs
@@ -88,13 +88,15 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        cd $(DIR_APP)/libnfsidmap* && make $(MAKETUNING) $(EXTRA_MAKE)
        cd $(DIR_APP)/libnfsidmap* && make install
 
+       cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/nfs-1.3.3-glibc-stdint.patch
        cd $(DIR_APP) && ./configure \
                --prefix=/usr \
                --sysconfdir=/etc  \
                --disable-gss \
                --disable-tirpc \
                --disable-nfsv41 \
-               --without-tcp-wrappers --disable-ipv6
+               --without-tcp-wrappers \
+               --disable-ipv6
 
        cd $(DIR_APP) && make $(MAKETUNING) $(EXTRA_MAKE)
        cd $(DIR_APP) && make install