From: Grazvydas Ignotas Date: Sat, 11 Oct 2014 00:54:22 +0000 (+0300) Subject: gamin: fix build X-Git-Tag: sz_173~96 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d0713a87e914063b937fffdbb9c6ec46cfef49c3;p=openembedded.git gamin: fix build --- diff --git a/recipes/gamin/files/deprecated.patch b/recipes/gamin/files/deprecated.patch new file mode 100644 index 0000000000..a7e983455e --- /dev/null +++ b/recipes/gamin/files/deprecated.patch @@ -0,0 +1,25 @@ +diff -urp gamin-0.1.10_/server/Makefile.am gamin-0.1.10/server/Makefile.am +--- gamin-0.1.10_/server/Makefile.am 2014-10-11 03:39:48.285930653 +0300 ++++ gamin-0.1.10/server/Makefile.am 2014-10-11 03:50:40.229731028 +0300 +@@ -6,8 +6,7 @@ INCLUDES = \ + -I$(top_srcdir)/lib \ + -I$(top_srcdir)/libgamin \ + $(DAEMON_CFLAGS) \ +- -DBINDIR=\""$(libexecdir)"\" \ +- -DG_DISABLE_DEPRECATED ++ -DBINDIR=\""$(libexecdir)"\" + + if GAMIN_DEBUG + INCLUDES += -DGAM_DEBUG_ENABLED +diff -urp gamin-0.1.10_/server/Makefile.in gamin-0.1.10/server/Makefile.in +--- gamin-0.1.10_/server/Makefile.in 2014-10-11 03:45:02.030284773 +0300 ++++ gamin-0.1.10/server/Makefile.in 2014-10-11 03:44:20.855813092 +0300 +@@ -261,7 +261,7 @@ top_srcdir = @top_srcdir@ + INCLUDES = $(default_includes) -I$(top_builddir) \ + -I$(top_builddir)/libgamin -I$(top_builddir)/protocol \ + -I$(top_srcdir)/lib -I$(top_srcdir)/libgamin $(DAEMON_CFLAGS) \ +- -DBINDIR=\""$(libexecdir)"\" -DG_DISABLE_DEPRECATED \ ++ -DBINDIR=\""$(libexecdir)"\" \ + $(am__append_1) + gam_server_SOURCES = gam_subscription.c gam_subscription.h \ + gam_listener.c gam_listener.h gam_server.c gam_server.h \ diff --git a/recipes/gamin/gamin_0.1.10.bb b/recipes/gamin/gamin_0.1.10.bb index 116a7df606..67f9183960 100644 --- a/recipes/gamin/gamin_0.1.10.bb +++ b/recipes/gamin/gamin_0.1.10.bb @@ -5,7 +5,8 @@ DEPENDS = "glib-2.0" PR = "r1" SRC_URI = "http://www.gnome.org/~veillard/gamin/sources/gamin-${PV}.tar.gz \ - file://no-abstract-sockets.patch;patch=1" + file://no-abstract-sockets.patch;patch=1 \ + file://deprecated.patch;patch=1" EXTRA_OECONF = " --without-python "