gpdf_2.10.0.bb : add gcc 4.X build patch
authorGraeme Gregory <dp@xora.org.uk>
Thu, 23 Mar 2006 09:30:58 +0000 (09:30 +0000)
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>
Thu, 23 Mar 2006 09:30:58 +0000 (09:30 +0000)
packages/gpdf/files/gpdf-2.10.0-gcc4-2.patch [new file with mode: 0644]
packages/gpdf/gpdf_2.10.0.bb

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 (file)
index 0000000..d45becb
--- /dev/null
@@ -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:
index cbb7681..ee7d270 100644 (file)
@@ -4,6 +4,8 @@ PR = "r0"
 
 inherit gnome
 
+SRC_URI_append = " file://gpdf-2.10.0-gcc4-2.patch;patch=1"
+
 DEPENDS = "gtk+ libgnomeui libbonoboui gnome-vfs gconf gettext libglade \
        libgnomeprint libgnomeprintui gnome-common"