[oe-commits] Martin Jansa : packagekit_0.5.6: add PE, include stdio.h before opkg. h to make newer gcc happy

git version control git at git.openembedded.org
Fri Apr 9 22:04:23 UTC 2010


Module: openembedded.git
Branch: shr/unstable
Commit: 809d82a6ceab48bd1a34e5c20c000af8ca8e4361
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=809d82a6ceab48bd1a34e5c20c000af8ca8e4361

Author: Martin Jansa <Martin.Jansa at gmail.com>
Date:   Fri Apr  9 23:46:02 2010 +0200

packagekit_0.5.6: add PE, include stdio.h before opkg.h to make newer gcc happy

Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>

---

 .../packagekit/packagekit-0.5.6/opkgfixes.patch    |    3 ++-
 recipes/packagekit/packagekit_0.5.6.bb             |    2 ++
 2 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/recipes/packagekit/packagekit-0.5.6/opkgfixes.patch b/recipes/packagekit/packagekit-0.5.6/opkgfixes.patch
index 64da86a..5a73a19 100644
--- a/recipes/packagekit/packagekit-0.5.6/opkgfixes.patch
+++ b/recipes/packagekit/packagekit-0.5.6/opkgfixes.patch
@@ -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;
diff --git a/recipes/packagekit/packagekit_0.5.6.bb b/recipes/packagekit/packagekit_0.5.6.bb
index e137519..e5b8850 100644
--- a/recipes/packagekit/packagekit_0.5.6.bb
+++ b/recipes/packagekit/packagekit_0.5.6.bb
@@ -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"





More information about the Openembedded-commits mailing list