diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2010-01-29 11:36:52 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-01-29 11:36:52 +0000 |
commit | eb6d6f3dc1bceda83d2c8f557a415c87c692f99a (patch) | |
tree | cce19413c3cf6c2cbae2ebb0fcc7a77971c9dfe0 /meta/packages | |
parent | 6ca0e13033085542332ad812bc62ae9243b8688f (diff) | |
download | poky-eb6d6f3dc1bceda83d2c8f557a415c87c692f99a.tar.gz |
opkg: Fix header problem
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/packages')
-rw-r--r-- | meta/packages/opkg/opkg.inc | 1 | ||||
-rw-r--r-- | meta/packages/opkg/opkg/headerfix.patch | 17 | ||||
-rw-r--r-- | meta/packages/opkg/opkg_svn.bb | 2 |
3 files changed, 19 insertions, 1 deletions
diff --git a/meta/packages/opkg/opkg.inc b/meta/packages/opkg/opkg.inc index df01d998a5..a1def9a5ab 100644 --- a/meta/packages/opkg/opkg.inc +++ b/meta/packages/opkg/opkg.inc | |||
@@ -12,6 +12,7 @@ PE = "1" | |||
12 | SRC_URI = "svn://opkg.googlecode.com/svn;module=trunk;proto=http \ | 12 | SRC_URI = "svn://opkg.googlecode.com/svn;module=trunk;proto=http \ |
13 | file://opkg_unarchive.patch;patch=1;maxrev=201 \ | 13 | file://opkg_unarchive.patch;patch=1;maxrev=201 \ |
14 | file://add_vercmp.patch;patch=1 \ | 14 | file://add_vercmp.patch;patch=1 \ |
15 | file://headerfix.patch;patch=1 \ | ||
15 | file://logfix.patch;patch=1 " | 16 | file://logfix.patch;patch=1 " |
16 | 17 | ||
17 | S = "${WORKDIR}/trunk" | 18 | S = "${WORKDIR}/trunk" |
diff --git a/meta/packages/opkg/opkg/headerfix.patch b/meta/packages/opkg/opkg/headerfix.patch new file mode 100644 index 0000000000..d0711ecd0e --- /dev/null +++ b/meta/packages/opkg/opkg/headerfix.patch | |||
@@ -0,0 +1,17 @@ | |||
1 | Without this, the FILE reference in this header can cause compile issues. | ||
2 | |||
3 | RP - 29/1/10 | ||
4 | |||
5 | Index: trunk/libopkg/pkg_dest.h | ||
6 | =================================================================== | ||
7 | --- trunk.orig/libopkg/pkg_dest.h 2010-01-29 09:37:22.000000000 +0000 | ||
8 | +++ trunk/libopkg/pkg_dest.h 2010-01-29 09:37:33.000000000 +0000 | ||
9 | @@ -18,6 +18,8 @@ | ||
10 | #ifndef PKG_DEST_H | ||
11 | #define PKG_DEST_H | ||
12 | |||
13 | +#include <stdio.h> | ||
14 | + | ||
15 | typedef struct pkg_dest pkg_dest_t; | ||
16 | struct pkg_dest | ||
17 | { | ||
diff --git a/meta/packages/opkg/opkg_svn.bb b/meta/packages/opkg/opkg_svn.bb index f00c28063c..9df8cf3561 100644 --- a/meta/packages/opkg/opkg_svn.bb +++ b/meta/packages/opkg/opkg_svn.bb | |||
@@ -8,7 +8,7 @@ RDEPENDS_${PN}_virtclass-native = "" | |||
8 | RDEPENDS_${PN}_virtclass-nativesdk = "" | 8 | RDEPENDS_${PN}_virtclass-nativesdk = "" |
9 | PACKAGE_ARCH_update-alternatives-cworth = "all" | 9 | PACKAGE_ARCH_update-alternatives-cworth = "all" |
10 | 10 | ||
11 | PR = "r10" | 11 | PR = "r11" |
12 | 12 | ||
13 | PACKAGES =+ "libopkg-dev libopkg update-alternatives-cworth" | 13 | PACKAGES =+ "libopkg-dev libopkg update-alternatives-cworth" |
14 | 14 | ||