svn commit: r365575 - in head/print/cups-filters: . files
Kris Moore
kmoore at FreeBSD.org
Thu Aug 21 18:22:18 UTC 2014
Author: kmoore
Date: Thu Aug 21 18:22:17 2014
New Revision: 365575
URL: http://svnweb.freebsd.org/changeset/ports/365575
QAT: https://qat.redports.org/buildarchive/r365575/
Log:
- Fix cups-filter failing on a number of printer classes that use poppler's
"pdftops"
- Bump PORTREV
Approved by: Maintainer
Added:
head/print/cups-filters/files/patch-filter_pdftops.c (contents, props changed)
Modified:
head/print/cups-filters/Makefile
Modified: head/print/cups-filters/Makefile
==============================================================================
--- head/print/cups-filters/Makefile Thu Aug 21 18:08:00 2014 (r365574)
+++ head/print/cups-filters/Makefile Thu Aug 21 18:22:17 2014 (r365575)
@@ -2,6 +2,7 @@
PORTNAME= cups-filters
PORTVERSION= 1.0.57
+PORTREVISION= 1
CATEGORIES= print
MASTER_SITES= http://www.openprinting.org/download/cups-filters/
@@ -44,6 +45,7 @@ AVAHI_LIB_DEPENDS= libavahi-client.so:${
post-patch:
@${REINPLACE_CMD} 's:-std=c++0x:-std=c++11:' ${WRKSRC}/Makefile.in
+ @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/filter/pdftops.c
post-configure:
@${REINPLACE_CMD} \
Added: head/print/cups-filters/files/patch-filter_pdftops.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/print/cups-filters/files/patch-filter_pdftops.c Thu Aug 21 18:22:17 2014 (r365575)
@@ -0,0 +1,11 @@
+--- filter/pdftops.c.orig 2014-08-21 10:11:24.448404905 -0400
++++ filter/pdftops.c 2014-08-21 10:12:00.298402116 -0400
+@@ -535,7 +535,7 @@
+
+ if (renderer == PDFTOPS)
+ {
+- pdf_argv[0] = (char *)"pdftops";
++ pdf_argv[0] = (char *)"%%LOCALBASE%%/bin/pdftops";
+ pdf_argc = 1;
+ }
+ else if (renderer == GS)
More information about the svn-ports-all
mailing list