summaryrefslogtreecommitdiff
path: root/packages/gpdf/files
diff options
context:
space:
mode:
Diffstat (limited to 'packages/gpdf/files')
-rw-r--r--packages/gpdf/files/gpdf-2.10.0-gcc4-2.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/packages/gpdf/files/gpdf-2.10.0-gcc4-2.patch b/packages/gpdf/files/gpdf-2.10.0-gcc4-2.patch
new file mode 100644
index 0000000000..d45becb346
--- /dev/null
+++ b/packages/gpdf/files/gpdf-2.10.0-gcc4-2.patch
@@ -0,0 +1,30 @@
+diff -Naur gpdf-2.10.0.orig/xpdf/TextOutputDev.h gpdf-2.10.0/xpdf/TextOutputDev.h
+--- gpdf-2.10.0.orig/xpdf/TextOutputDev.h 2005-08-23 21:59:57.000000000 +0000
++++ gpdf-2.10.0/xpdf/TextOutputDev.h 2005-08-23 22:00:10.000000000 +0000
+@@ -166,6 +166,8 @@
+ // TextLine
+ //------------------------------------------------------------------------
+
++class TextBlock;
++
+ class TextLine {
+ public:
+
+@@ -223,6 +225,8 @@
+ // TextBlock
+ //------------------------------------------------------------------------
+
++class TextPage;
++
+ class TextBlock {
+ public:
+
+@@ -342,6 +346,8 @@
+ // TextPage
+ //------------------------------------------------------------------------
+
++class TextLineFrag;
++
+ class TextPage {
+ public:
+