mirror of
https://git.yoctoproject.org/poky
synced 2026-04-08 17:02:22 +02:00
opkg: Fix header problem
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
@@ -12,6 +12,7 @@ PE = "1"
|
||||
SRC_URI = "svn://opkg.googlecode.com/svn;module=trunk;proto=http \
|
||||
file://opkg_unarchive.patch;patch=1;maxrev=201 \
|
||||
file://add_vercmp.patch;patch=1 \
|
||||
file://headerfix.patch;patch=1 \
|
||||
file://logfix.patch;patch=1 "
|
||||
|
||||
S = "${WORKDIR}/trunk"
|
||||
|
||||
17
meta/packages/opkg/opkg/headerfix.patch
Normal file
17
meta/packages/opkg/opkg/headerfix.patch
Normal file
@@ -0,0 +1,17 @@
|
||||
Without this, the FILE reference in this header can cause compile issues.
|
||||
|
||||
RP - 29/1/10
|
||||
|
||||
Index: trunk/libopkg/pkg_dest.h
|
||||
===================================================================
|
||||
--- trunk.orig/libopkg/pkg_dest.h 2010-01-29 09:37:22.000000000 +0000
|
||||
+++ trunk/libopkg/pkg_dest.h 2010-01-29 09:37:33.000000000 +0000
|
||||
@@ -18,6 +18,8 @@
|
||||
#ifndef PKG_DEST_H
|
||||
#define PKG_DEST_H
|
||||
|
||||
+#include <stdio.h>
|
||||
+
|
||||
typedef struct pkg_dest pkg_dest_t;
|
||||
struct pkg_dest
|
||||
{
|
||||
@@ -8,7 +8,7 @@ RDEPENDS_${PN}_virtclass-native = ""
|
||||
RDEPENDS_${PN}_virtclass-nativesdk = ""
|
||||
PACKAGE_ARCH_update-alternatives-cworth = "all"
|
||||
|
||||
PR = "r10"
|
||||
PR = "r11"
|
||||
|
||||
PACKAGES =+ "libopkg-dev libopkg update-alternatives-cworth"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user