[arch-commits] Commit in cups-filters/trunk (PKGBUILD)
Evangelos Foutras
foutrelis at archlinux.org
Mon Oct 22 20:37:17 UTC 2018
Date: Monday, October 22, 2018 @ 20:37:16
Author: foutrelis
Revision: 337078
Fix build with latest poppler
Modified:
cups-filters/trunk/PKGBUILD
----------+
PKGBUILD | 15 +++++++++++++--
1 file changed, 13 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-10-22 20:25:01 UTC (rev 337077)
+++ PKGBUILD 2018-10-22 20:37:16 UTC (rev 337078)
@@ -15,11 +15,22 @@
'foomatic-db-nonfree: drivers use Ghostscript to convert PostScript to a printable form directly'
'antiword: needed to convert MS Word documents (requires also docx2txt (AUR)')
backup=(etc/cups/cups-browsed.conf)
-source=(https://www.openprinting.org/download/cups-filters/$pkgname-$pkgver.tar.xz)
-sha256sums=('f5a61222148f68d0afc3bb5960eda167f9bcd0055dcd4c5c4a6909f1a79126e0')
+source=(https://www.openprinting.org/download/cups-filters/$pkgname-$pkgver.tar.xz
+ cups-filters-poppler-0.69.0.patch::https://github.com/OpenPrinting/cups-filters/commit/6b0747c163.patch)
+sha256sums=('f5a61222148f68d0afc3bb5960eda167f9bcd0055dcd4c5c4a6909f1a79126e0'
+ 'c68a773ec7d44f2ad532fbe1d6cb3e4825300dcb626461d4bebdce911da24f1a')
+prepare() {
+ cd $pkgname-$pkgver
+ patch -Np1 -i ../cups-filters-poppler-0.69.0.patch
+}
+
build() {
cd $pkgname-$pkgver
+
+ # Ignore const-related errors (remove once fixed upstream)
+ CXXFLAGS+=' -fpermissive'
+
./configure --prefix=/usr \
--sysconfdir=/etc \
--sbindir=/usr/bin \
More information about the arch-commits
mailing list