diff options
Diffstat (limited to 'main')
-rw-r--r-- | main/cups-filters/APKBUILD | 18 | ||||
-rw-r--r-- | main/cups-filters/path_max.patch | 22 |
2 files changed, 33 insertions, 7 deletions
diff --git a/main/cups-filters/APKBUILD b/main/cups-filters/APKBUILD index fab933c298..794ad1a537 100644 --- a/main/cups-filters/APKBUILD +++ b/main/cups-filters/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=cups-filters -pkgver=1.0.41 -pkgrel=1 +pkgver=1.0.42 +pkgrel=0 pkgdesc="OpenPrinting CUPS filters and backends" url="http://www.linuxfoundation.org/collaborate/workgroups/openprinting/pdf_as_standard_print_job_format" arch="all" @@ -11,10 +11,11 @@ depends="poppler-utils bc bash" depends_dev="" makedepends="$depends_dev cups-dev libjpeg-turbo-dev poppler-dev zlib-dev libpng-dev tiff-dev lcms-dev freetype-dev ghostscript-dev fontconfig-dev - qpdf-dev avahi-dev" + qpdf-dev avahi-dev dbus-dev" install="" subpackages="$pkgname-dev $pkgname-doc $pkgname-libs" -source="http://www.openprinting.org/download/cups-filters/cups-filters-$pkgver.tar.xz" +source="http://www.openprinting.org/download/cups-filters/cups-filters-$pkgver.tar.xz + path_max.patch" _builddir="$srcdir"/cups-filters-$pkgver prepare() { @@ -65,6 +66,9 @@ libs() { mv "$pkgdir"/usr/lib/lib*.so.* "$subpkgdir"/usr/lib/ } -md5sums="fe5a9a07b9a64b35975154068cbedef9 cups-filters-1.0.41.tar.xz" -sha256sums="acb9e43aabcbdcbf9184d03b8a83345bb37e74a669f2f133058aa003a5497cb1 cups-filters-1.0.41.tar.xz" -sha512sums="61da199312d1cc9d77dc8452bc0a00d5f1a7622db5ce5d06c9a63710f969ccd60d2f0ab443176fa2a1ee1407b1f1ac9f6b8a9ab7643cb8a029a7825a117d827d cups-filters-1.0.41.tar.xz" +md5sums="3047524b51f2ac064663f1997c7d2c81 cups-filters-1.0.42.tar.xz +d113d611b603d8f10c33292a66394cca path_max.patch" +sha256sums="3df524207ab24472430cffba7f01407b8adc094ec40094c5f6682d5a88a70dd6 cups-filters-1.0.42.tar.xz +3abac367128cc121c89fe077abac96d168ca06f7541731bfea2cacd490d0c181 path_max.patch" +sha512sums="f323b79f8c1c8596fe9b2a98bee24bdccc9b8ad95852101895c6d4936ebfd75fc1fe34b829606e3bbb102138f484473ccd60dd5035baf486d3027f7143cbbff2 cups-filters-1.0.42.tar.xz +f4768f487147d98e27030f5408175509a9d1be97b300e82d6ec147894cc28cae0108e2f92d13c9202f79293aaaa3afdcbc87bdd27907a69ffd3e8465ed65d1f3 path_max.patch" diff --git a/main/cups-filters/path_max.patch b/main/cups-filters/path_max.patch new file mode 100644 index 0000000000..05aa030087 --- /dev/null +++ b/main/cups-filters/path_max.patch @@ -0,0 +1,22 @@ +diff --git a/filter/foomatic-rip/foomaticrip.h b/filter/foomatic-rip/foomaticrip.h +index 875e6b8..b46abba 100644 +--- a/filter/foomatic-rip/foomaticrip.h ++++ b/filter/foomatic-rip/foomaticrip.h +@@ -33,6 +33,7 @@ + #include <stddef.h> + #include <stdio.h> + #include <time.h> ++#include <limits.h> + + /* This is the location of the debug logfile (and also the copy of the + * processed PostScript data) in case you have enabled debugging above. +@@ -75,7 +76,9 @@ + extern int spooler; + + ++#ifndef PATH_MAX + #define PATH_MAX 65536 ++#endif + + typedef struct { + char printer[256]; |