summaryrefslogtreecommitdiff
path: root/system/heirloom-pax/sysmacros.patch
diff options
context:
space:
mode:
authorSamuel Holland <samuel@sholland.org>2019-08-05 01:18:51 +0000
committerSamuel Holland <samuel@sholland.org>2019-08-05 01:18:51 +0000
commit484f778d507f36038efd370f4c4832900dc7faa8 (patch)
tree9475752ccc1112be795d9600be126942a45a2eb5 /system/heirloom-pax/sysmacros.patch
parent6f02c28c6bb7366615dd989bddb25234e12332c1 (diff)
downloadpackages-484f778d507f36038efd370f4c4832900dc7faa8.tar.gz
packages-484f778d507f36038efd370f4c4832900dc7faa8.tar.bz2
packages-484f778d507f36038efd370f4c4832900dc7faa8.tar.xz
packages-484f778d507f36038efd370f4c4832900dc7faa8.zip
system/heirloom-pax: Fix build for major/minor move
Signed-off-by: Samuel Holland <samuel@sholland.org>
Diffstat (limited to 'system/heirloom-pax/sysmacros.patch')
-rw-r--r--system/heirloom-pax/sysmacros.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/system/heirloom-pax/sysmacros.patch b/system/heirloom-pax/sysmacros.patch
new file mode 100644
index 000000000..3a4feb996
--- /dev/null
+++ b/system/heirloom-pax/sysmacros.patch
@@ -0,0 +1,14 @@
+--- heirloom-pax-1.0/cpio/cpio.c
++++ heirloom-pax-1.0/cpio/cpio.c
+@@ -91,9 +91,9 @@
+ #include <sfile.h>
+ #include <atoll.h>
+
+-#ifdef _AIX
++#ifndef major
+ #include <sys/sysmacros.h>
+-#endif /* _AIX */
++#endif /* !major */
+
+ #ifndef major
+ #include <sys/mkdev.h>