aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--community/cups-filters/APKBUILD4
-rw-r--r--community/cups-filters/cstring.patch13
2 files changed, 16 insertions, 1 deletions
diff --git a/community/cups-filters/APKBUILD b/community/cups-filters/APKBUILD
index dc8a7f7c9f..9f202c3310 100644
--- a/community/cups-filters/APKBUILD
+++ b/community/cups-filters/APKBUILD
@@ -21,6 +21,7 @@ makedepends="bash cups-dev libjpeg-turbo-dev poppler-dev zlib-dev
checkdepends="ttf-dejavu"
subpackages="$pkgname-dev $pkgname-doc $pkgname-libs"
source="https://github.com/OpenPrinting/cups-filters/releases/download/release-${pkgver//./-}/cups-filters-$pkgver.tar.xz
+ cstring.patch
"
build() {
@@ -66,4 +67,5 @@ libs() {
mv "$pkgdir"/usr/lib/lib*.so.* "$subpkgdir"/usr/lib/
}
-sha512sums="0386c4640249a0325257f9b10a0eee387bc6e8129bde734b6c35704719c0ad60624f9ad44c73cd199768373ffd331fc1b4b4c4c8641f5ec8792ddf8850da510a cups-filters-1.25.4.tar.xz"
+sha512sums="0386c4640249a0325257f9b10a0eee387bc6e8129bde734b6c35704719c0ad60624f9ad44c73cd199768373ffd331fc1b4b4c4c8641f5ec8792ddf8850da510a cups-filters-1.25.4.tar.xz
+66ee8e2d0de484fa2a2ec69005fb1f946b7d844a50292c18de7b330e425d1be954f697dafee666dd1d956abec0c63231d3ed4e5395a7eac9d11a00c7f766793c cstring.patch"
diff --git a/community/cups-filters/cstring.patch b/community/cups-filters/cstring.patch
new file mode 100644
index 0000000000..793a0074ea
--- /dev/null
+++ b/community/cups-filters/cstring.patch
@@ -0,0 +1,13 @@
+diff --git a/filter/pdf.cxx b/filter/pdf.cxx
+index 5b212ca..f12607f 100644
+--- a/filter/pdf.cxx
++++ b/filter/pdf.cxx
+@@ -20,6 +20,7 @@
+ #include "pdf.h"
+ #include <vector>
+ #include <string>
++#include <cstring>
+ #include <qpdf/QPDF.hh>
+ #include <qpdf/QPDFObjectHandle.hh>
+ #include <qpdf/QPDFWriter.hh>
+