packagekit_0.5.6: add PE, include stdio.h before opkg.h to make newer gcc happy
authorMartin Jansa <Martin.Jansa@gmail.com>
Fri, 9 Apr 2010 21:46:02 +0000 (23:46 +0200)
committerMartin Jansa <Martin.Jansa@gmail.com>
Fri, 9 Apr 2010 21:50:38 +0000 (23:50 +0200)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
recipes/packagekit/packagekit-0.5.6/opkgfixes.patch
recipes/packagekit/packagekit_0.5.6.bb

index 64da86a..5a73a19 100644 (file)
@@ -2,8 +2,9 @@ Index: PackageKit-0.6.0/backends/opkg/pk-backend-opkg.c
 ===================================================================
 --- PackageKit-0.6.0.orig/backends/opkg/pk-backend-opkg.c      2010-01-29 09:39:33.000000000 +0000
 +++ PackageKit-0.6.0/backends/opkg/pk-backend-opkg.c   2010-01-29 11:30:51.000000000 +0000
-@@ -29,8 +29,6 @@
+@@ -29,8 +29,7 @@
  
++#include <stdio.h>
  #include <libopkg/opkg.h>
  
 -static opkg_t *opkg;
index e137519..e5b8850 100644 (file)
@@ -7,6 +7,8 @@ RDEPENDS_${PN} = "opkg"
 
 inherit gnome
 
+PE = "2"
+
 SRC_URI = "http://www.packagekit.org/releases/PackageKit-${PV}.tar.gz;name=archive \
            file://configurefix.patch;patch=1 \
            file://opkgfixes.patch;patch=1"