summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--meta/packages/gcalctool/gcalctool/fix-includedir.patch12
-rw-r--r--meta/packages/gcalctool/gcalctool_5.7.32.bb5
2 files changed, 15 insertions, 2 deletions
diff --git a/meta/packages/gcalctool/gcalctool/fix-includedir.patch b/meta/packages/gcalctool/gcalctool/fix-includedir.patch
new file mode 100644
index 000000000..62b386bf9
--- /dev/null
+++ b/meta/packages/gcalctool/gcalctool/fix-includedir.patch
@@ -0,0 +1,12 @@
+Index: gcalctool-5.7.32/gcalctool/Makefile.am
+===================================================================
+--- gcalctool-5.7.32.orig/gcalctool/Makefile.am 2007-04-07 19:44:00.000000000 +0200
++++ gcalctool-5.7.32/gcalctool/Makefile.am 2007-04-07 19:44:15.000000000 +0200
+@@ -1,7 +1,6 @@
+ ## Process this file with automake to produce Makefile.in
+
+ INCLUDES = \
+- -I$(includedir) \
+ -DG_DISABLE_DEPRECATED \
+ -DGDK_PIXBUF_DISABLE_DEPRECATED \
+ -DGDK_DISABLE_DEPRECATED \
diff --git a/meta/packages/gcalctool/gcalctool_5.7.32.bb b/meta/packages/gcalctool/gcalctool_5.7.32.bb
index 084b5e4c8..f12e6c402 100644
--- a/meta/packages/gcalctool/gcalctool_5.7.32.bb
+++ b/meta/packages/gcalctool/gcalctool_5.7.32.bb
@@ -2,10 +2,11 @@ LICENSE = "GPL"
SECTION = "x11"
DEPENDS = "gtk+"
DESCRIPTION = "gcalctool is a powerful calculator"
-PR = "r1"
+PR = "r2"
SRC_URI = "http://download.gnome.org/sources/${PN}/5.7/${PN}-${PV}.tar.gz \
- file://makefile-fix.diff;patch=1"
+ file://makefile-fix.diff;patch=1\
+ file://fix-includedir.patch;patch=1"
inherit autotools pkgconfig