From 610b709582f84c16514490bc7c4e89009b20597e Mon Sep 17 00:00:00 2001 From: Markham Date: Sat, 28 Nov 2015 21:15:24 +0100 Subject: [PATCH] fix build portmap; add forgotten patch --- archive-patches/portmap_6.0-nocheckport.diff | 27 ++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 archive-patches/portmap_6.0-nocheckport.diff diff --git a/archive-patches/portmap_6.0-nocheckport.diff b/archive-patches/portmap_6.0-nocheckport.diff new file mode 100644 index 0000000..e4976c8 --- /dev/null +++ b/archive-patches/portmap_6.0-nocheckport.diff @@ -0,0 +1,27 @@ +diff --git a/Makefile b/Makefile +index 9e9a4b4..07fece3 100644 +--- a/Makefile ++++ b/Makefile +@@ -33,7 +33,7 @@ endif + # ports. You can find out by running "rpcinfo -p"; if all mountd and NIS + # daemons use a port >= 1024 you should probably disable the next line. + +-CPPFLAGS += -DCHECK_PORT ++#CPPFLAGS += -DCHECK_PORT + + # The portmap daemon runs a uid=1/gid=1 by default. You can change that + # be defining DAEMON_UID and DAMEON_GID to numbers, or RPCUSER to a +diff --git a/pmap_check.c b/pmap_check.c +index 84f2c12..8adc92d 100644 +--- a/pmap_check.c ++++ b/pmap_check.c +@@ -44,7 +44,9 @@ + #include + #include + #endif ++#ifdef CHECK_PORT + #include ++#endif + #include + #include + -- 2.39.5