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:
parent
4fdfafda5b
commit
07434cc6dc
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=365575
@ -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} \
|
||||
|
11
print/cups-filters/files/patch-filter_pdftops.c
Normal file
11
print/cups-filters/files/patch-filter_pdftops.c
Normal 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)
|
Loading…
Reference in New Issue
Block a user