Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--extra/dvd+rw-tools/PKGBUILD12
-rw-r--r--extra/dvd+rw-tools/dvd+rw-tools-7.1-minor-major.patch11
2 files changed, 23 insertions, 0 deletions
diff --git a/extra/dvd+rw-tools/PKGBUILD b/extra/dvd+rw-tools/PKGBUILD
new file mode 100644
index 00000000..7c2b717e
--- /dev/null
+++ b/extra/dvd+rw-tools/PKGBUILD
@@ -0,0 +1,12 @@
+# another minor/major glibc issue
+
+source+=('dvd+rw-tools-7.1-minor-major.patch')
+sha512sums+=('4424c24a143b3346330e04039b170da5e8201617e6b620d8e33897e80580e9b4e572ca4757dd885ba09d1df45151a277ddb299f2735f18a19e9deffac731d8aa')
+
+eval "$(
+ declare -f build | \
+ sed '
+ /make/ i \
+ patch -p1 -i "${srcdir}/dvd+rw-tools-7.1-minor-major.patch"
+ '
+)"
diff --git a/extra/dvd+rw-tools/dvd+rw-tools-7.1-minor-major.patch b/extra/dvd+rw-tools/dvd+rw-tools-7.1-minor-major.patch
new file mode 100644
index 00000000..301fbdef
--- /dev/null
+++ b/extra/dvd+rw-tools/dvd+rw-tools-7.1-minor-major.patch
@@ -0,0 +1,11 @@
+diff -rauN dvd+rw-tools-7.1/growisofs.c dvd+rw-tools-7.1-minor-major-patch/growisofs.c
+--- dvd+rw-tools-7.1/growisofs.c 2008-03-04 10:15:03.000000000 +0100
++++ dvd+rw-tools-7.1-minor-major-patch/growisofs.c 2019-07-06 14:03:49.283311518 +0200
+@@ -442,6 +442,7 @@
+ #include <sys/types.h>
+ #include <sys/stat.h>
+ #include <assert.h>
++#include <sys/sysmacros.h>
+ #include "mp.h"
+
+ #if defined(__unix) || defined(__unix__)