summarylogtreecommitdiffstats
path: root/maj_min.patch
diff options
context:
space:
mode:
authorbrent s2018-08-12 00:38:48 -0400
committerbrent s2018-08-12 00:38:48 -0400
commit53a1293b34987d1cc6ee15c08dba0b8f2bd55f64 (patch)
treee4afb5587386bef4e1183be521bc9944d05453cd /maj_min.patch
parentfbfff815c6242029ea184e2da13a9215795333ac (diff)
downloadaur-53a1293b34987d1cc6ee15c08dba0b8f2bd55f64.tar.gz
adding patch for glibc changes
Diffstat (limited to 'maj_min.patch')
-rw-r--r--maj_min.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/maj_min.patch b/maj_min.patch
new file mode 100644
index 000000000000..bf466d81725a
--- /dev/null
+++ b/maj_min.patch
@@ -0,0 +1,15 @@
+--- a/pkgsrc/pkgtools/mtree/files-build/pack_dev.c 2018-08-12 00:20:05.968656198 -0400
++++ b/pkgsrc/pkgtools/mtree/files-build/pack_dev.c 2018-08-12 00:22:26.052941801 -0400
+@@ -57,6 +57,11 @@
+ #if HAVE_SYS_STAT_H
+ #include <sys/stat.h>
+ #endif
++/* Arch AUR packages presume glibc installed.
++ 'major' and 'minor' have been moved to
++ sysmacros.h in some recent version of glibc.
++*/
++#include <sys/sysmacros.h>
+
+ #if HAVE_LIMITS_H
+ #include <limits.h>
+