summaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authormezz <mezz@FreeBSD.org>2006-12-17 06:33:48 +0000
committermezz <mezz@FreeBSD.org>2006-12-17 06:33:48 +0000
commit0a726e0030fcbdab2772f63cdd828ede77e72805 (patch)
treeb0ab8069776b916b79439e16251b03a33480d152 /graphics
parentaa231186e9c18c62012be5107d602a9d7dcae435 (diff)
downloadFreeBSD-ports-0a726e0030fcbdab2772f63cdd828ede77e72805.zip
FreeBSD-ports-0a726e0030fcbdab2772f63cdd828ede77e72805.tar.gz
Fix the build with GCC 4.1, took small parts from graphics/xpdf.
Reported by: krismail
Diffstat (limited to 'graphics')
-rw-r--r--graphics/gpdf/files/patch-gcc4.129
1 files changed, 29 insertions, 0 deletions
diff --git a/graphics/gpdf/files/patch-gcc4.1 b/graphics/gpdf/files/patch-gcc4.1
new file mode 100644
index 0000000..a6c6898
--- /dev/null
+++ b/graphics/gpdf/files/patch-gcc4.1
@@ -0,0 +1,29 @@
+--- xpdf/TextOutputDev.h.orig Sun Dec 17 00:26:20 2006
++++ xpdf/TextOutputDev.h Sun Dec 17 00:27:45 2006
+@@ -26,6 +26,15 @@
+ class GfxState;
+ class UnicodeMap;
+
++class TextWord;
++class TextPool;
++class TextLine;
++class TextLineFrag;
++class TextBlock;
++class TextFlow;
++class TextWordList;
++class TextPage;
++
+ //------------------------------------------------------------------------
+
+ typedef void (*TextOutputFunc)(void *stream, char *text, int len);
+@@ -553,6 +562,10 @@
+ // order (if both flags are false).
+ TextWordList *makeWordList();
+ #endif
++
++ // Returns the TextPage object for the last rasterized page,
++ // transferring ownership to the caller.
++ TextPage *takeText();
+
+ private:
+
OpenPOWER on IntegriCloud