summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/libglade/libglade-2.5.1/no-deprecation.patch10
-rw-r--r--packages/libglade/libglade_2.5.1.bb5
2 files changed, 13 insertions, 2 deletions
diff --git a/packages/libglade/libglade-2.5.1/no-deprecation.patch b/packages/libglade/libglade-2.5.1/no-deprecation.patch
new file mode 100644
index 0000000000..9ef8f0738e
--- /dev/null
+++ b/packages/libglade/libglade-2.5.1/no-deprecation.patch
@@ -0,0 +1,10 @@
+--- libglade-2.5.1/glade/Makefile.am.old 2006-04-25 21:03:25.000000000 +0100
++++ libglade-2.5.1/glade/Makefile.am 2006-04-25 21:03:45.000000000 +0100
+@@ -30,7 +30,6 @@
+ -I$(top_srcdir) \
+ $(LIBGLADE_CFLAGS) \
+ -DGLADE_LIBDIR=\""$(libdir)"\" \
+- -DG_DISABLE_DEPRECATED \
+ -DGDK_DISABLE_DEPRECATED \
+ -DGDK_PIXBUF_DISABLE_DEPRECATED \
+ -DGTK_DISABLE_DEPRECATED \
diff --git a/packages/libglade/libglade_2.5.1.bb b/packages/libglade/libglade_2.5.1.bb
index f7f75e501d..7738b10f93 100644
--- a/packages/libglade/libglade_2.5.1.bb
+++ b/packages/libglade/libglade_2.5.1.bb
@@ -7,9 +7,10 @@ MAINTAINER = "Phil Blundell <pb@handhelds.org>"
inherit autotools pkgconfig gnome
-PR = "r0"
+PR = "r1"
-SRC_URI += "file://glade-cruft.patch;patch=1 file://no-xml2.patch;patch=1"
+SRC_URI += "file://glade-cruft.patch;patch=1 file://no-xml2.patch;patch=1 \
+ file://no-deprecation.patch;patch=1"
EXTRA_OECONF += "--without-libxml2"