diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2009-09-04 10:37:13 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2009-09-04 10:37:13 +0100 |
commit | 16d77671042800b140eca093fe0ed52511790356 (patch) | |
tree | b16d10d2078e196109c9af20498a0c6dc543681b /meta/packages/libnl | |
parent | 0e842cf1b5356090005ddb301e86bee7b1a180fb (diff) | |
download | poky-16d77671042800b140eca093fe0ed52511790356.tar.gz |
libnl: Fix compile header problems
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/packages/libnl')
-rw-r--r-- | meta/packages/libnl/libnl/compilefix.patch | 12 | ||||
-rw-r--r-- | meta/packages/libnl/libnl/local-includes.patch (renamed from meta/packages/libnl/files/local-includes.patch) | 0 | ||||
-rw-r--r-- | meta/packages/libnl/libnl_1.1.bb | 8 |
3 files changed, 16 insertions, 4 deletions
diff --git a/meta/packages/libnl/libnl/compilefix.patch b/meta/packages/libnl/libnl/compilefix.patch new file mode 100644 index 0000000000..f75ff282af --- /dev/null +++ b/meta/packages/libnl/libnl/compilefix.patch | |||
@@ -0,0 +1,12 @@ | |||
1 | Index: libnl-1.1/include/netlink-local.h | ||
2 | =================================================================== | ||
3 | --- libnl-1.1.orig/include/netlink-local.h 2009-09-04 10:10:09.000000000 +0100 | ||
4 | +++ libnl-1.1/include/netlink-local.h 2009-09-04 10:10:15.000000000 +0100 | ||
5 | @@ -26,6 +26,7 @@ | ||
6 | #include <sys/socket.h> | ||
7 | #include <inttypes.h> | ||
8 | #include <assert.h> | ||
9 | +#include <limits.h> | ||
10 | |||
11 | #include <arpa/inet.h> | ||
12 | #include <netdb.h> | ||
diff --git a/meta/packages/libnl/files/local-includes.patch b/meta/packages/libnl/libnl/local-includes.patch index 5af463004b..5af463004b 100644 --- a/meta/packages/libnl/files/local-includes.patch +++ b/meta/packages/libnl/libnl/local-includes.patch | |||
diff --git a/meta/packages/libnl/libnl_1.1.bb b/meta/packages/libnl/libnl_1.1.bb index 97ac25f733..05c0e32bb2 100644 --- a/meta/packages/libnl/libnl_1.1.bb +++ b/meta/packages/libnl/libnl_1.1.bb | |||
@@ -3,11 +3,11 @@ SECTION = "libs/network" | |||
3 | LICENSE = "LGPL" | 3 | LICENSE = "LGPL" |
4 | HOMEPAGE = "http://people.suug.ch/~tgr/libnl/" | 4 | HOMEPAGE = "http://people.suug.ch/~tgr/libnl/" |
5 | PRIORITY = "optional" | 5 | PRIORITY = "optional" |
6 | PV = "1.1" | ||
7 | 6 | ||
8 | inherit autotools_stage pkgconfig | 7 | inherit autotools_stage pkgconfig |
9 | 8 | ||
10 | SRC_URI= "http://people.suug.ch/~tgr/libnl/files/${PN}-1.1.tar.gz \ | 9 | PR = "r1" |
11 | file://local-includes.patch;patch=1" | ||
12 | 10 | ||
13 | S = "${WORKDIR}/${PN}-1.1" | 11 | SRC_URI= "http://people.suug.ch/~tgr/libnl/files/${PN}-${PV}.tar.gz \ |
12 | file://local-includes.patch;patch=1 \ | ||
13 | file://compilefix.patch;patch=1" | ||