summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2016-04-17 19:27:28 -0400
committerAnthony G. Basile <blueness@gentoo.org>2016-04-17 19:28:32 -0400
commit578bd618a703044adb1cfc4f8bd1d114572848c6 (patch)
treec82f20a962df766c3e85f8e590ba9d4db05f0f16 /app-arch/pax/files
parentgames-arcade/performous: version bump (diff)
downloadgentoo-578bd618a703044adb1cfc4f8bd1d114572848c6.tar.gz
gentoo-578bd618a703044adb1cfc4f8bd1d114572848c6.tar.bz2
gentoo-578bd618a703044adb1cfc4f8bd1d114572848c6.zip
app-arch/pax: add musl support, bug #580362
Package-Manager: portage-2.2.26
Diffstat (limited to 'app-arch/pax/files')
-rw-r--r--app-arch/pax/files/pax-20160306-glibc-to-linux.patch38
1 files changed, 38 insertions, 0 deletions
diff --git a/app-arch/pax/files/pax-20160306-glibc-to-linux.patch b/app-arch/pax/files/pax-20160306-glibc-to-linux.patch
new file mode 100644
index 000000000000..f864729cc4fe
--- /dev/null
+++ b/app-arch/pax/files/pax-20160306-glibc-to-linux.patch
@@ -0,0 +1,38 @@
+--- pax/cache.c.old 2016-03-06 08:12:52.000000000 -0600
++++ pax/cache.c 2016-04-17 13:01:26.461307830 -0500
+@@ -195,7 +195,7 @@
+ * No entry for this uid, we will add it
+ */
+ if (!pwopn) {
+-#if defined(__GLIBC__)
++#if defined(__GLIBC__) || defined(__linux__)
+ setpwent();
+ #elif !defined(__INTERIX)
+ setpassent(1);
+@@ -265,7 +265,7 @@
+ * No entry for this gid, we will add it
+ */
+ if (!gropn) {
+-#if defined(__GLIBC__)
++#if defined(__GLIBC__) || defined(__linux__)
+ setgrent();
+ #elif !defined(__INTERIX) && !defined(__CYGWIN__)
+ setgroupent(1);
+@@ -336,7 +336,7 @@
+ }
+
+ if (!pwopn) {
+-#if defined(__GLIBC__)
++#if defined(__GLIBC__) || defined(__linux__)
+ setpwent();
+ #elif !defined(__INTERIX)
+ setpassent(1);
+@@ -403,7 +403,7 @@
+ }
+
+ if (!gropn) {
+-#if defined(__GLIBC__)
++#if defined(__GLIBC__) || defined(__linux__)
+ setgrent();
+ #elif !defined(__INTERIX) && !defined(__CYGWIN__)
+ setgroupent(1);