summaryrefslogtreecommitdiff
path: root/user/pax/pax-20160306-glibc-to-linux.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2017-07-29 15:03:19 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2017-07-29 15:03:19 +0000
commitd44caf81b064bf1cfcb4cc4d26378a80375bbb77 (patch)
treeabee1b4637c8c278a52ac2c725561331a39387e8 /user/pax/pax-20160306-glibc-to-linux.patch
parent763b7f5ddc29219163d98aa435edd769f996d467 (diff)
downloadpackages-d44caf81b064bf1cfcb4cc4d26378a80375bbb77.tar.gz
packages-d44caf81b064bf1cfcb4cc4d26378a80375bbb77.tar.bz2
packages-d44caf81b064bf1cfcb4cc4d26378a80375bbb77.tar.xz
packages-d44caf81b064bf1cfcb4cc4d26378a80375bbb77.zip
user/pax: finish writing build
Diffstat (limited to 'user/pax/pax-20160306-glibc-to-linux.patch')
-rw-r--r--user/pax/pax-20160306-glibc-to-linux.patch38
1 files changed, 38 insertions, 0 deletions
diff --git a/user/pax/pax-20160306-glibc-to-linux.patch b/user/pax/pax-20160306-glibc-to-linux.patch
new file mode 100644
index 000000000..f864729cc
--- /dev/null
+++ b/user/pax/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);