qpdf 2.2.1: add patch to make it compile w/ gcc4
authorMichael Lauer <mickey@vanille-media.de>
Mon, 20 Mar 2006 18:26:16 +0000 (18:26 +0000)
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>
Mon, 20 Mar 2006 18:26:16 +0000 (18:26 +0000)
packages/qpdf2/files/gcc4.patch [new file with mode: 0644]
packages/qpdf2/qpdf2_2.2.1.bb

diff --git a/packages/qpdf2/files/gcc4.patch b/packages/qpdf2/files/gcc4.patch
new file mode 100644 (file)
index 0000000..5e90302
--- /dev/null
@@ -0,0 +1,31 @@
+
+#
+# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
+#
+
+--- qpdf2_2.2.1/qdocnotes.h~gcc4       2004-02-17 18:13:18.000000000 +0100
++++ qpdf2_2.2.1/qdocnotes.h    2006-03-20 19:16:38.000000000 +0100
+@@ -1,6 +1,6 @@
+ #include "xmlparser.h"
+ #include <qmap.h>
+-
++class QDocNotes;
+ class QDocNote {
+  public:
+   friend class QDocNotes;
+--- qpdf2_2.2.1/xpdf/TextOutputDev.h~gcc4      2004-02-17 18:13:18.000000000 +0100
++++ qpdf2_2.2.1/xpdf/TextOutputDev.h   2006-03-20 19:19:47.000000000 +0100
+@@ -139,6 +139,13 @@
+ //------------------------------------------------------------------------
+ // TextPool
+ //------------------------------------------------------------------------
++class TextPool;
++class TextLine;
++class TextBlock;
++class TextFlow;
++class TextWordList;
++class TextPage;
++class TextLineFrag;
+ class TextPool {
+ public:
index 6f85333..6e31f40 100644 (file)
@@ -1,19 +1,19 @@
 DESCRIPTION = "QPDF2 is a Viewer for PDF documents. An unnecessary fork based on opie-qpdf."
 PRIORITY = "optional"
 SECTION = "opie/applications"
+HOMEPAGE = "http://qpdf2.sf.net"
 LICENSE = "GPL"
-MAINTAINER = "Michael 'Mickey' Lauer <mickey@Vanille.de>"
-NOTE = "This is so hacky you won't believe it until you look at the source..."
 DEPENDS = "t1lib freetype"
 APPNAME = "qpdf"
 APPTYPE = "binary"
 APPDESKTOP = "${S}/ipkg-render-freetype/opt/QtPalmtop/apps/Applications"
-PR = "r2"
+PR = "r3"
 
 SRC_URI = "${SOURCEFORGE_MIRROR}/qpdf2/qpdf2_2.2.1_20040217b.tgz \
            file://hack-the-hack.patch;patch=1 \
            file://fix-sigsegv.patch;patch=1 \
-          file://fix_qtversion_check.patch;patch=1"
+           file://fix_qtversion_check.patch;patch=1 \
+           file://gcc4.patch;patch=1"
 S = "${WORKDIR}/qpdf2_${PV}"
 
 inherit opie