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. (From OE-Core rev: a401ad4c353eafc45dbd7b808386d195594adf65) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
6d3de3f168
commit
38fd4ce959
|
@ -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 = \
|
|
@ -10,9 +10,10 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \
|
|||
SECTION = "x11/libs"
|
||||
DEPENDS = "gtk+ menu-cache intltool"
|
||||
|
||||
PR = "r2"
|
||||
PR = "r3"
|
||||
|
||||
SRC_URI = "${SOURCEFORGE_MIRROR}/pcmanfm/libfm-${PV}.tar.gz"
|
||||
SRC_URI = "${SOURCEFORGE_MIRROR}/pcmanfm/libfm-${PV}.tar.gz \
|
||||
file://use_deprecate_func.patch"
|
||||
|
||||
SRC_URI[md5sum] = "d55e51dced6bb9ef46665243b079761f"
|
||||
SRC_URI[sha256sum] = "e97bf3f9ed4f33b9f0be73e67d360b89337cccf816361faacd8422722269806b"
|
||||
|
|
Loading…
Reference in New Issue