summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanno Böck <hanno@gentoo.org>2005-11-29 21:27:18 +0000
committerHanno Böck <hanno@gentoo.org>2005-11-29 21:27:18 +0000
commit3b76176617c647cfed895a2c873f9b0c9969a234 (patch)
tree36533fcaee7264964c17ed82ae627d491f80b231 /app-text/poppler/files
parentnmap gcc41 fix (diff)
downloadgentoo-2-3b76176617c647cfed895a2c873f9b0c9969a234.tar.gz
gentoo-2-3b76176617c647cfed895a2c873f9b0c9969a234.tar.bz2
gentoo-2-3b76176617c647cfed895a2c873f9b0c9969a234.zip
poppler gcc41 fix
(Portage version: 2.0.53_rc7)
Diffstat (limited to 'app-text/poppler/files')
-rw-r--r--app-text/poppler/files/poppler-gcc41.patch40
1 files changed, 40 insertions, 0 deletions
diff --git a/app-text/poppler/files/poppler-gcc41.patch b/app-text/poppler/files/poppler-gcc41.patch
new file mode 100644
index 000000000000..2c37da268d28
--- /dev/null
+++ b/app-text/poppler/files/poppler-gcc41.patch
@@ -0,0 +1,40 @@
+Index: poppler-0.4.2/poppler/TextOutputDev.cc
+===================================================================
+--- poppler-0.4.2.orig/poppler/TextOutputDev.cc
++++ poppler-0.4.2/poppler/TextOutputDev.cc
+@@ -3025,7 +3025,7 @@ public:
+ virtual void visitWord (TextWord *word, int begin, int end,
+ PDFRectangle *selection) { };
+
+- GooString *TextSelectionDumper::getText(void);
++ GooString *getText(void);
+
+ private:
+ TextLineFrag *frags;
+Index: poppler-0.4.2/qt/poppler-qt.h
+===================================================================
+--- poppler-0.4.2.orig/qt/poppler-qt.h
++++ poppler-0.4.2/qt/poppler-qt.h
+@@ -150,7 +150,7 @@ public:
+ UseOC
+ };
+
+- static Document *Document::load(const QString & filePath);
++ static Document *load(const QString & filePath);
+
+ Page *getPage(int index) const{ return new Page(this, index); }
+
+@@ -172,11 +172,11 @@ public:
+ bool okToAddNotes() const;
+ double getPDFVersion() const;
+
+- Document::~Document();
++ ~Document();
+
+ private:
+ DocumentData *data;
+- Document::Document(DocumentData *dataA);
++ Document(DocumentData *dataA);
+ };
+
+ }