grip-3.2.0: Remove host includes from the Makefile.am and make it compile again
authorHolger Hans Peter Freyther <zecke@selfish.org>
Tue, 16 Mar 2010 06:48:33 +0000 (14:48 +0800)
committerHolger Hans Peter Freyther <zecke@selfish.org>
Tue, 16 Mar 2010 06:58:42 +0000 (14:58 +0800)
recipes/grip/grip-3.2.0/no-host-includes.patch [new file with mode: 0644]
recipes/grip/grip_3.2.0.bb

diff --git a/recipes/grip/grip-3.2.0/no-host-includes.patch b/recipes/grip/grip-3.2.0/no-host-includes.patch
new file mode 100644 (file)
index 0000000..66fca36
--- /dev/null
@@ -0,0 +1,10 @@
+Index: grip-3.2.0/src/Makefile.am
+===================================================================
+--- grip-3.2.0.orig/src/Makefile.am    2010-03-16 14:46:01.651553829 +0800
++++ grip-3.2.0/src/Makefile.am 2010-03-16 14:46:05.240303128 +0800
+@@ -1,4 +1,4 @@
+-INCLUDES = -I$(top_srcdir) -I$(includedir) \
++INCLUDES = -I$(top_srcdir) \
+       -DGNOME_ICONDIR=\""$(datadir)/pixmaps"\" \
+          -DG_LOG_DOMAIN=\"grip\" -DGNOMELOCALEDIR=\""$(datadir)/locale"\" \
+         -I../intl -I$(top_srcdir)/intl \
index bda6044..81c3670 100644 (file)
@@ -7,9 +7,10 @@ LICENSE="GPL"
 
 SRC_URI="${SOURCEFORGE_MIRROR}/grip/grip-${PV}.tar.gz \
          file://patch-src::discdb;patch=1;pnum=0 \
-         file://patch-src::main.c;patch=1;pnum=0 "
+         file://patch-src::main.c;patch=1;pnum=0 \
+         file://no-host-includes.patch;patch=1 "
 DEPENDS="libgnomeui vte curl cdparanoia id3lib"
 
-PR = "r2"
+PR = "r3"
 
 inherit autotools