gpe-ownerinfo: Add patch to fix compile issue contributed by Cyril Romain
authorFlorian Boor <florian.boor@kernelconcepts.de>
Thu, 8 Mar 2007 22:11:42 +0000 (22:11 +0000)
committerFlorian Boor <florian.boor@kernelconcepts.de>
Thu, 8 Mar 2007 22:11:42 +0000 (22:11 +0000)
packages/gpe-ownerinfo/gpe-ownerinfo/compile.patch [new file with mode: 0644]
packages/gpe-ownerinfo/gpe-ownerinfo_0.28.bb

diff --git a/packages/gpe-ownerinfo/gpe-ownerinfo/compile.patch b/packages/gpe-ownerinfo/gpe-ownerinfo/compile.patch
new file mode 100644 (file)
index 0000000..3406481
--- /dev/null
@@ -0,0 +1,13 @@
+Index: gpe-ownerinfo-0.28/Makefile
+===================================================================
+--- gpe-ownerinfo-0.28.orig/Makefile
++++ gpe-ownerinfo-0.28/Makefile
+@@ -40,7 +40,7 @@ all: $(PACKAGE) all-mo
+ $(LIB_TARGET): $(LIB_OBJS)
+       rm -f $@
+-      ar cq $@ $^
++      $(AR) cq $@ $^
+ $(PACKAGE): $(OBJS) $(LIB_TARGET)
+       $(CC) -o $@ $^ $(LDFLAGS) $(PACKAGE_LDFLAGS) -L. -lgpe-ownerinfo
index f04b9c1..e17c6a6 100644 (file)
@@ -5,7 +5,9 @@ SECTION = "gpe"
 PRIORITY = "optional"
 DEPENDS = "gtk+ libgpewidget"
 LICENSE = "GPL"
-PR = "r0"
+PR = "r1"
+
+SRC_URI += "file://compile.patch;patch=1"
 
 do_stage () {
        oe_libinstall -a libgpe-ownerinfo ${STAGING_LIBDIR}