From: Markham Date: Sat, 28 Nov 2015 20:15:24 +0000 (+0100) Subject: fix build portmap; add forgotten patch X-Git-Url: https://git.webhop.me/?a=commitdiff_plain;h=610b709582f84c16514490bc7c4e89009b20597e;p=bs-cst-neutrino-hd.git fix build portmap; add forgotten patch --- 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 +