aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
Diffstat (limited to 'graphics')
-rw-r--r--graphics/xpdf/Makefile9
-rw-r--r--graphics/xpdf/distinfo3
2 files changed, 10 insertions, 2 deletions
diff --git a/graphics/xpdf/Makefile b/graphics/xpdf/Makefile
index 4e9f57a5793a..9cdb2f7eb47c 100644
--- a/graphics/xpdf/Makefile
+++ b/graphics/xpdf/Makefile
@@ -7,14 +7,15 @@
PORTNAME= xpdf
PORTVERSION= 3.02
-PORTREVISION= 11
+PORTREVISION= 12
CATEGORIES= graphics print
MASTER_SITES= ftp://ftp.foolabs.com/pub/xpdf/ \
${MASTER_SITE_TEX_CTAN}
MASTER_SITE_SUBDIR= support/xpdf
PATCH_SITES= ftp://ftp.foolabs.com/pub/xpdf/
-PATCHFILES= xpdf-3.02pl1.patch xpdf-3.02pl2.patch xpdf-3.02pl3.patch
+PATCHFILES= xpdf-3.02pl1.patch xpdf-3.02pl2.patch xpdf-3.02pl3.patch \
+ xpdf-3.02pl4.patch
PATCH_DIST_STRIP= -p1
MAINTAINER= araujo@FreeBSD.org
@@ -78,6 +79,10 @@ PLIST_SUB+= X11=""
# add support for adding/deleting drawing annotations in PDF files
PATCH_SITES+= http://info.iet.unipi.it/~luigi/FreeBSD/
PATCHFILES+= patch-zz-xpdf-annot.20080728a
+
+post-patch:
+ ${REINPLACE_CMD} -e 's|undef USE_COMBO_BOX|define USE_COMBO_BOX 1|' \
+ ${WRKSRC}/xpdf/XPDFViewer.h
.endif
post-install:
diff --git a/graphics/xpdf/distinfo b/graphics/xpdf/distinfo
index c4c43f66ac73..1f044c6d6c2c 100644
--- a/graphics/xpdf/distinfo
+++ b/graphics/xpdf/distinfo
@@ -10,6 +10,9 @@ SIZE (xpdf-3.02pl2.patch) = 20843
MD5 (xpdf-3.02pl3.patch) = 581963ede0fb5715e1a69f01b5b8ce63
SHA256 (xpdf-3.02pl3.patch) = 594ce8fbd23bff29eacddfae3533c63c7e86b4a24f7d45e44f1937d3d19e534b
SIZE (xpdf-3.02pl3.patch) = 30727
+MD5 (xpdf-3.02pl4.patch) = 70b752716798dd341a4bf890df5f6fdc
+SHA256 (xpdf-3.02pl4.patch) = b0844395411318766ef750987787f778231e94bc15f04f7f7d16f41fd58188b0
+SIZE (xpdf-3.02pl4.patch) = 6982
MD5 (patch-zz-xpdf-annot.20080728a) = ddb032df9edcad1ba0ef1fb03189acd8
SHA256 (patch-zz-xpdf-annot.20080728a) = c96308c0fb90450251a6f8a19b5436a5fd5d70b4d6af2626ba85d3c4b7300fe1
SIZE (patch-zz-xpdf-annot.20080728a) = 69092