diff --git a/nfs-utils-2.1.1-rpc-include.patch b/nfs-utils-2.1.1-rpc-include.patch new file mode 100644 index 0000000..5cf44f1 --- /dev/null +++ b/nfs-utils-2.1.1-rpc-include.patch @@ -0,0 +1,20 @@ +commit ba03a02c2fd912f370e1f55de921a403bf5f9247 +Author: Steve Dickson +Date: Thu Jun 22 12:56:41 2017 -0400 + + rpc.c: added include file so UINT16_MAX is defined. + + Signed-off-by: Steve Dickson + +diff --git a/support/nsm/rpc.c b/support/nsm/rpc.c +index 4e5f40e..0a8e56f 100644 +--- a/support/nsm/rpc.c ++++ b/support/nsm/rpc.c +@@ -38,6 +38,7 @@ + #include + #include + ++#include + #include + #include + #include diff --git a/nfs-utils.spec b/nfs-utils.spec index 6840893..38a545a 100644 --- a/nfs-utils.spec +++ b/nfs-utils.spec @@ -16,6 +16,7 @@ Source4: lockd.conf Source5: 24-nfs-server.conf Patch001: nfs-utils-2.1.2-rc4.patch +Patch002: nfs-utils-2.1.1-rpc-include.patch Patch100: nfs-utils-1.2.1-statdpath-man.patch Patch101: nfs-utils-1.2.1-exp-subtree-warn-off.patch @@ -75,6 +76,7 @@ This package also contains the mount.nfs and umount.nfs program. %setup -q %patch001 -p1 +%patch002 -p1 %patch100 -p1 %patch101 -p1 @@ -290,6 +292,7 @@ fi %changelog * Wed Jun 21 2017 Steve Dickson 2.1.1-5.rc4 - Updated to the latest RC releease: nfs-utils-2-1-2-rc4 (bz 1462218) +- rpc.c: added include file so UINT16_MAX is defined * Thu Jun 1 2017 Steve Dickson 2.1.1-5.rc3 - Updated to the latest RC releease: nfs-utils-2-1-2-rc3 (bz 1457921)