summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorGraeme Gregory <dp@xora.org.uk>2006-03-23 09:30:58 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-03-23 09:30:58 +0000
commit652f0c18d80b75667bd9011d4994b86b61b888d2 (patch)
tree368daf20241599d4cfc9f00426885e2ae450f192 /packages
parent7276d0cbe0154d822fc88a538ea241a905280894 (diff)
gpdf_2.10.0.bb : add gcc 4.X build patch
Diffstat (limited to 'packages')
-rw-r--r--packages/gpdf/files/gpdf-2.10.0-gcc4-2.patch30
-rw-r--r--packages/gpdf/gpdf_2.10.0.bb2
2 files changed, 32 insertions, 0 deletions
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
index 0000000000..d45becb346
--- /dev/null
+++ b/packages/gpdf/files/gpdf-2.10.0-gcc4-2.patch
@@ -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:
+
diff --git a/packages/gpdf/gpdf_2.10.0.bb b/packages/gpdf/gpdf_2.10.0.bb
index cbb7681a5b..ee7d27080a 100644
--- a/packages/gpdf/gpdf_2.10.0.bb
+++ b/packages/gpdf/gpdf_2.10.0.bb
@@ -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"