summaryrefslogtreecommitdiff
path: root/app-text/xpdf/files
diff options
context:
space:
mode:
Diffstat (limited to 'app-text/xpdf/files')
-rw-r--r--app-text/xpdf/files/xpdf-3.02-poppler-0.16.patch13
-rw-r--r--app-text/xpdf/files/xpdf-3.03-poppler-0.16.patch13
2 files changed, 26 insertions, 0 deletions
diff --git a/app-text/xpdf/files/xpdf-3.02-poppler-0.16.patch b/app-text/xpdf/files/xpdf-3.02-poppler-0.16.patch
new file mode 100644
index 00000000..ea2d5ee2
--- /dev/null
+++ b/app-text/xpdf/files/xpdf-3.02-poppler-0.16.patch
@@ -0,0 +1,13 @@
+Index: xpdf-3.02-poppler/XPDFViewer.cc
+===================================================================
+--- xpdf-3.02-poppler.orig/XPDFViewer.cc
++++ xpdf-3.02-poppler/XPDFViewer.cc
+@@ -3447,7 +3447,7 @@ void XPDFViewer::printPrintCbk(Widget wi
+ lastPage = doc->getNumPages();
+ }
+
+- psOut = new PSOutputDev(psFileName->getCString(), doc->getXRef(),
++ psOut = new PSOutputDev(psFileName->getCString(), doc, doc->getXRef(),
+ doc->getCatalog(),
+ NULL,
+ firstPage, lastPage, psModePS);
diff --git a/app-text/xpdf/files/xpdf-3.03-poppler-0.16.patch b/app-text/xpdf/files/xpdf-3.03-poppler-0.16.patch
new file mode 100644
index 00000000..ea2d5ee2
--- /dev/null
+++ b/app-text/xpdf/files/xpdf-3.03-poppler-0.16.patch
@@ -0,0 +1,13 @@
+Index: xpdf-3.02-poppler/XPDFViewer.cc
+===================================================================
+--- xpdf-3.02-poppler.orig/XPDFViewer.cc
++++ xpdf-3.02-poppler/XPDFViewer.cc
+@@ -3447,7 +3447,7 @@ void XPDFViewer::printPrintCbk(Widget wi
+ lastPage = doc->getNumPages();
+ }
+
+- psOut = new PSOutputDev(psFileName->getCString(), doc->getXRef(),
++ psOut = new PSOutputDev(psFileName->getCString(), doc, doc->getXRef(),
+ doc->getCatalog(),
+ NULL,
+ firstPage, lastPage, psModePS);