1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00

- Fix cups-filter failing on a number of printer classes that use poppler's

"pdftops"
- Bump PORTREV

Approved by: Maintainer
This commit is contained in:
Kris Moore 2014-08-21 18:22:17 +00:00
parent 4fdfafda5b
commit 07434cc6dc
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=365575
2 changed files with 13 additions and 0 deletions

View File

@ -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:${PORTSDIR}/net/avahi-app
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} \

View File

@ -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)