summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2019-07-06 14:10:00 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2019-07-06 14:10:00 +0200
commit4a15dc1efe6b4004a45db86e2ab7e2c2b643b466 (patch)
tree6df857ba659d50448bf9939819ddc3563f4cb156
parent968ac73785f4d68568904d2d32a1454c9547863a (diff)
downloadpackages-4a15dc1efe6b4004a45db86e2ab7e2c2b643b466.tar.xz
extra/dvd+rw-tools: added a minor/major patch
-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__)