mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 11:13:24 +02:00
nfs: Fix building with newer glibcs
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
4
lfs/nfs
4
lfs/nfs
@@ -88,13 +88,15 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
|||||||
cd $(DIR_APP)/libnfsidmap* && make $(MAKETUNING) $(EXTRA_MAKE)
|
cd $(DIR_APP)/libnfsidmap* && make $(MAKETUNING) $(EXTRA_MAKE)
|
||||||
cd $(DIR_APP)/libnfsidmap* && make install
|
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 \
|
cd $(DIR_APP) && ./configure \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
--sysconfdir=/etc \
|
--sysconfdir=/etc \
|
||||||
--disable-gss \
|
--disable-gss \
|
||||||
--disable-tirpc \
|
--disable-tirpc \
|
||||||
--disable-nfsv41 \
|
--disable-nfsv41 \
|
||||||
--without-tcp-wrappers --disable-ipv6
|
--without-tcp-wrappers \
|
||||||
|
--disable-ipv6
|
||||||
|
|
||||||
cd $(DIR_APP) && make $(MAKETUNING) $(EXTRA_MAKE)
|
cd $(DIR_APP) && make $(MAKETUNING) $(EXTRA_MAKE)
|
||||||
cd $(DIR_APP) && make install
|
cd $(DIR_APP) && make install
|
||||||
|
|||||||
10
src/patches/nfs-1.3.3-glibc-stdint.patch
Normal file
10
src/patches/nfs-1.3.3-glibc-stdint.patch
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
--- nfs-utils-1.3.3/support/nsm/rpc.c~ 2018-02-11 17:01:31.137039166 +0000
|
||||||
|
+++ nfs-utils-1.3.3/support/nsm/rpc.c 2018-02-11 17:01:45.683511380 +0000
|
||||||
|
@@ -40,6 +40,7 @@
|
||||||
|
|
||||||
|
#include <time.h>
|
||||||
|
#include <stdbool.h>
|
||||||
|
+#include <stdint.h>
|
||||||
|
#include <string.h>
|
||||||
|
#include <unistd.h>
|
||||||
|
#include <fcntl.h>
|
||||||
Reference in New Issue
Block a user