diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2019-04-20 20:33:40 +0200 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2019-04-20 20:34:30 +0200 |
commit | 3bac589455e4c1d815a27cbe41bd2171698a65d0 (patch) | |
tree | d8edab9337e7cb342cffca7f89a3892fb90407c7 /net-fs/nfs-utils | |
parent | dev-lang/vala: alpha stable wrt bug #682072 (diff) | |
download | gentoo-3bac589455e4c1d815a27cbe41bd2171698a65d0.tar.gz gentoo-3bac589455e4c1d815a27cbe41bd2171698a65d0.tar.bz2 gentoo-3bac589455e4c1d815a27cbe41bd2171698a65d0.zip |
net-fs/nfs-utils: Added another musl build fix.
Closes: https://bugs.gentoo.org/651080
Package-Manager: Portage-2.3.64, Repoman-2.3.12
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'net-fs/nfs-utils')
-rw-r--r-- | net-fs/nfs-utils/files/nfs-utils-2.3.1-limits.patch | 105 | ||||
-rw-r--r-- | net-fs/nfs-utils/nfs-utils-2.3.3.ebuild | 1 |
2 files changed, 106 insertions, 0 deletions
diff --git a/net-fs/nfs-utils/files/nfs-utils-2.3.1-limits.patch b/net-fs/nfs-utils/files/nfs-utils-2.3.1-limits.patch new file mode 100644 index 000000000000..b322b6fb17ce --- /dev/null +++ b/net-fs/nfs-utils/files/nfs-utils-2.3.1-limits.patch @@ -0,0 +1,105 @@ +Required for successful build on musl +https://bugs.gentoo.org/651080#c5 + +Thanks-to: Robert Bridge <robert@robbieab.com> + +--- nfs-utils-2.3.1/support/export/export.c ++++ nfs-utils-2.3.1/support/export/export.c +@@ -17,6 +17,7 @@ + #include <stdlib.h> + #include <dirent.h> + #include <errno.h> ++#include <limits.h> + #include "xmalloc.h" + #include "nfslib.h" + #include "exportfs.h" +--- nfs-utils-2.3.1/support/export/xtab.c ++++ nfs-utils-2.3.1/support/export/xtab.c +@@ -18,6 +18,7 @@ + #include <sys/stat.h> + #include <errno.h> + #include <libgen.h> ++#include <limits.h> + + #include "nfslib.h" + #include "exportfs.h" +--- nfs-utils-2.3.1/support/misc/file.c ++++ nfs-utils-2.3.1/support/misc/file.c +@@ -27,6 +27,7 @@ + #include <dirent.h> + #include <stdlib.h> + #include <stdbool.h> ++#include <limits.h> + + #include "xlog.h" + #include "misc.h" +--- nfs-utils-2.3.1/support/nfs/xcommon.c ++++ nfs-utils-2.3.1/support/nfs/xcommon.c +@@ -16,6 +16,7 @@ + #include <stdio.h> + #include <stdlib.h> + #include <string.h> ++#include <limits.h> + + #include "xcommon.h" + #include "nls.h" /* _() */ +--- nfs-utils-2.3.1/support/nsm/file.c ++++ nfs-utils-2.3.1/support/nsm/file.c +@@ -85,6 +85,7 @@ + #include <fcntl.h> + #include <dirent.h> + #include <grp.h> ++#include <limits.h> + + #include "xlog.h" + #include "nsm.h" +--- nfs-utils-2.3.1/utils/blkmapd/device-discovery.c ++++ nfs-utils-2.3.1/utils/blkmapd/device-discovery.c +@@ -49,6 +49,7 @@ + #include <unistd.h> + #include <libgen.h> + #include <errno.h> ++#include <limits.h> + #include <libdevmapper.h> + + #ifdef HAVE_CONFIG_H +--- nfs-utils-2.3.1/utils/gssd/krb5_util.c ++++ nfs-utils-2.3.1/utils/gssd/krb5_util.c +@@ -120,6 +120,7 @@ + #endif + #include <krb5.h> + #include <rpc/auth_gss.h> ++#include <limits.h> + + #include "gssd.h" + #include "err_util.h" +--- nfs-utils-2.3.1/utils/mountd/cache.c ++++ nfs-utils-2.3.1/utils/mountd/cache.c +@@ -26,6 +26,7 @@ + #include <pwd.h> + #include <grp.h> + #include <mntent.h> ++#include <limits.h> + #include "misc.h" + #include "nfslib.h" + #include "exportfs.h" +--- nfs-utils-2.3.1/utils/mountd/mountd.c ++++ nfs-utils-2.3.1/utils/mountd/mountd.c +@@ -22,6 +22,7 @@ + #include <fcntl.h> + #include <sys/resource.h> + #include <sys/wait.h> ++#include <limits.h> + + #include "conffile.h" + #include "xmalloc.h" +--- nfs-utils-2.3.1/utils/mountd/rmtab.c ++++ nfs-utils-2.3.1/utils/mountd/rmtab.c +@@ -16,6 +16,7 @@ + #include <netinet/in.h> + #include <arpa/inet.h> + #include <netdb.h> ++#include <limits.h> + + #include "misc.h" + #include "exportfs.h" diff --git a/net-fs/nfs-utils/nfs-utils-2.3.3.ebuild b/net-fs/nfs-utils/nfs-utils-2.3.3.ebuild index 18852036dc25..07216af6e213 100644 --- a/net-fs/nfs-utils/nfs-utils-2.3.3.ebuild +++ b/net-fs/nfs-utils/nfs-utils-2.3.3.ebuild @@ -68,6 +68,7 @@ PATCHES=( "${FILESDIR}"/${PN}-1.2.8-cross-build.patch "${FILESDIR}"/${PN}-2.3.2-junction_libs.patch "${FILESDIR}"/${PN}-2.3.2-no-werror.patch + "${FILESDIR}"/${PN}-2.3.1-limits.patch #651080 "${FILESDIR}"/${PN}-2.3.4_rc2-improved_res_querydomain_check.patch #651080 ) |