aboutsummaryrefslogtreecommitdiffstats
path: root/print
diff options
context:
space:
mode:
authorhrs <hrs@FreeBSD.org>2011-05-24 04:43:10 +0800
committerhrs <hrs@FreeBSD.org>2011-05-24 04:43:10 +0800
commit94af30a511722c8589b4d68e83174c29de5b5d87 (patch)
treed8234bcc7fb16e72a7fc9a524d0c6397036352fb /print
parenteeb9f84d1434d6eac14d3e33f218720302fdd526 (diff)
downloadfreebsd-ports-gnome-94af30a511722c8589b4d68e83174c29de5b5d87.tar.gz
freebsd-ports-gnome-94af30a511722c8589b4d68e83174c29de5b5d87.tar.zst
freebsd-ports-gnome-94af30a511722c8589b4d68e83174c29de5b5d87.zip
- Fix a problem when opening a PDF file.
- Fix a build issue when TARGET_ARCH is defined. PR: ports/156654 PR: ports/156607
Diffstat (limited to 'print')
-rw-r--r--print/ghostscript8/Makefile2
-rw-r--r--print/ghostscript8/files/Makefile.epag2
-rw-r--r--print/ghostscript8/files/patch-lib-pdf2dsc.ps11
3 files changed, 13 insertions, 2 deletions
diff --git a/print/ghostscript8/Makefile b/print/ghostscript8/Makefile
index 0fd8fcaf9a58..4676b3609011 100644
--- a/print/ghostscript8/Makefile
+++ b/print/ghostscript8/Makefile
@@ -7,7 +7,7 @@
PORTNAME= ghostscript8
PORTVERSION= 8.71
-PORTREVISION= 6
+PORTREVISION= 7
CATEGORIES= print
MASTER_SITES= http://ghostscript.com/releases/:gs_srcs \
SF/ghostscript/files/GPL%20Ghostscript/${PORTVERSION}:gs_srcs \
diff --git a/print/ghostscript8/files/Makefile.epag b/print/ghostscript8/files/Makefile.epag
index 53da9b6a1b48..ad9a7a5c150a 100644
--- a/print/ghostscript8/files/Makefile.epag
+++ b/print/ghostscript8/files/Makefile.epag
@@ -12,7 +12,7 @@ pre-build-epag:
post-build-epag:
cd ${WRKSRC}/${EPAG_NAME} && \
- ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} Makefile
+ ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} Makefile
post-install-docs-epag:
${MKDIR} ${WRKSRC}/contrib/epag
diff --git a/print/ghostscript8/files/patch-lib-pdf2dsc.ps b/print/ghostscript8/files/patch-lib-pdf2dsc.ps
new file mode 100644
index 000000000000..dab7f7a1b84c
--- /dev/null
+++ b/print/ghostscript8/files/patch-lib-pdf2dsc.ps
@@ -0,0 +1,11 @@
+--- lib/pdf2dsc.ps.orig 2011-05-24 05:26:51.000000000 +0900
++++ lib/pdf2dsc.ps 2011-05-24 05:27:14.000000000 +0900
+@@ -116,7 +116,7 @@
+ DSCfile PDFname write==only
+ ( \(r\) file { DELAYSAFER { .setsafe } if } stopped pop\n) puts
+ ( pdfopen begin\n) puts
+- ( copy_trailer_attrs\n) puts
++ ( process_trailer_attrs\n) puts
+ (%%EndSetup\n) puts
+
+ /.hasPageLabels false def % see "Page Labels" in the PDF Reference