From a401ad4c353eafc45dbd7b808386d195594adf65 Mon Sep 17 00:00:00 2001 From: Dongxiao Xu Date: Tue, 26 Apr 2011 10:26:40 +0800 Subject: libfm: Remove the flag of G_DISABLE_DEPRECATED Latest glib-2.0 changes some macros and function definitions to be deprecated. However libfm still uses them. Therefore the flag G_DISABLE_DEPRECATED should be removed in libfm's Makefile. Signed-off-by: Dongxiao Xu --- .../libfm/libfm-0.1.14/use_deprecate_func.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 meta/recipes-support/libfm/libfm-0.1.14/use_deprecate_func.patch (limited to 'meta/recipes-support/libfm/libfm-0.1.14') diff --git a/meta/recipes-support/libfm/libfm-0.1.14/use_deprecate_func.patch b/meta/recipes-support/libfm/libfm-0.1.14/use_deprecate_func.patch new file mode 100644 index 000000000..fade1955e --- /dev/null +++ b/meta/recipes-support/libfm/libfm-0.1.14/use_deprecate_func.patch @@ -0,0 +1,11 @@ +diff -ruN libfm-0.1.14-orig//src/Makefile.am libfm-0.1.14/src/Makefile.am +--- libfm-0.1.14-orig//src/Makefile.am 2011-04-26 10:01:44.297664993 +0800 ++++ libfm-0.1.14/src/Makefile.am 2011-04-26 10:02:10.637665004 +0800 +@@ -285,7 +285,6 @@ + $(GIO_CFLAGS) \ + -DGIO_MODULE_DIR=\"$(giomodulesdir)\" \ + -DGVFS_LOCALEDIR=\""$(localedir)"\" \ +- -DG_DISABLE_DEPRECATED \ + $(NULL) + + libgiofm_la_LDFLAGS = \ -- cgit v1.2.3