gamin: fix build
authorGrazvydas Ignotas <notasas@gmail.com>
Sat, 11 Oct 2014 00:54:22 +0000 (03:54 +0300)
committerGrazvydas Ignotas <notasas@gmail.com>
Sat, 11 Oct 2014 00:54:22 +0000 (03:54 +0300)
recipes/gamin/files/deprecated.patch [new file with mode: 0644]
recipes/gamin/gamin_0.1.10.bb

diff --git a/recipes/gamin/files/deprecated.patch b/recipes/gamin/files/deprecated.patch
new file mode 100644 (file)
index 0000000..a7e9834
--- /dev/null
@@ -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 \
index 116a7df..67f9183 100644 (file)
@@ -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 "