public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Lars Wendler" <polynomial-c@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-fs/nfs-utils/, net-fs/nfs-utils/files/
Date: Sat, 20 Apr 2019 18:34:37 +0000 (UTC)	[thread overview]
Message-ID: <1555785270.3bac589455e4c1d815a27cbe41bd2171698a65d0.polynomial-c@gentoo> (raw)

commit:     3bac589455e4c1d815a27cbe41bd2171698a65d0
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 20 18:33:40 2019 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Sat Apr 20 18:34:30 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3bac5894

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 <AT> gentoo.org>

 .../nfs-utils/files/nfs-utils-2.3.1-limits.patch   | 105 +++++++++++++++++++++
 net-fs/nfs-utils/nfs-utils-2.3.3.ebuild            |   1 +
 2 files changed, 106 insertions(+)

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 00000000000..b322b6fb17c
--- /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 18852036dc2..07216af6e21 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
 )
 


             reply	other threads:[~2019-04-20 23:24 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-20 18:34 Lars Wendler [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-02-26 16:44 [gentoo-commits] repo/gentoo:master commit in: net-fs/nfs-utils/, net-fs/nfs-utils/files/ Mike Gilbert
2024-01-23 11:57 David Seifert
2024-01-19  5:39 Sam James
2021-04-11 15:49 David Seifert
2020-10-22 17:49 Lars Wendler
2019-11-20 12:55 Thomas Deutschmann
2019-11-16 13:06 Lars Wendler
2019-09-28 14:53 Thomas Deutschmann
2019-08-11 22:09 Matt Turner
2019-01-18 15:37 Lars Wendler
2017-02-11 11:40 Lars Wendler
2016-04-14  4:03 Mike Frysinger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1555785270.3bac589455e4c1d815a27cbe41bd2171698a65d0.polynomial-c@gentoo \
    --to=polynomial-c@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox