diff options
author | Hanno Böck <hanno@gentoo.org> | 2005-11-29 21:27:18 +0000 |
---|---|---|
committer | Hanno Böck <hanno@gentoo.org> | 2005-11-29 21:27:18 +0000 |
commit | 3b76176617c647cfed895a2c873f9b0c9969a234 (patch) | |
tree | 36533fcaee7264964c17ed82ae627d491f80b231 /app-text/poppler | |
parent | nmap gcc41 fix (diff) | |
download | gentoo-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')
-rw-r--r-- | app-text/poppler/ChangeLog | 6 | ||||
-rw-r--r-- | app-text/poppler/files/poppler-gcc41.patch | 40 | ||||
-rw-r--r-- | app-text/poppler/poppler-0.4.2.ebuild | 3 |
3 files changed, 47 insertions, 2 deletions
diff --git a/app-text/poppler/ChangeLog b/app-text/poppler/ChangeLog index b16f38a51b33..98a358d46038 100644 --- a/app-text/poppler/ChangeLog +++ b/app-text/poppler/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for app-text/poppler # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/poppler/ChangeLog,v 1.15 2005/10/31 16:39:50 dang Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/poppler/ChangeLog,v 1.16 2005/11/29 21:27:18 hanno Exp $ + + 29 Nov 2005; Hanno Boeck <hanno@gentoo.org> +files/poppler-gcc41.patch, + poppler-0.4.2.ebuild: + Fix for gcc 4.1. 31 Oct 2005; <dang@gentoo.org> poppler-0.4.2.ebuild: Add cairo flag back, now cairo is out of mask 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); + }; + + } diff --git a/app-text/poppler/poppler-0.4.2.ebuild b/app-text/poppler/poppler-0.4.2.ebuild index a546284bc241..4a8d398b58ea 100644 --- a/app-text/poppler/poppler-0.4.2.ebuild +++ b/app-text/poppler/poppler-0.4.2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/poppler/poppler-0.4.2.ebuild,v 1.2 2005/10/31 16:39:50 dang Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/poppler/poppler-0.4.2.ebuild,v 1.3 2005/11/29 21:27:18 hanno Exp $ inherit eutils autotools @@ -30,6 +30,7 @@ src_unpack(){ unpack ${A} cd ${S} epatch ${FILESDIR}/poppler-0.4.1-cairo-ft.patch + epatch ${FILESDIR}/poppler-gcc41.patch eautoreconf } |