diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2010-09-01 19:09:11 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-09-01 19:09:57 +0100 |
commit | d62ee7eaf2ba025c3f64b2d4e10dc7cec4637612 (patch) | |
tree | f36fe3008f36ff75cbdd31b630f8f13f1f205ebb /meta/recipes-support/libnl | |
parent | caab7fc509bf27706ff3248689f6afd04225cfda (diff) | |
download | poky-d62ee7eaf2ba025c3f64b2d4e10dc7cec4637612.tar.gz |
packages: Separate out most of the remaining packages into recipes
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/recipes-support/libnl')
-rw-r--r-- | meta/recipes-support/libnl/libnl/compilefix.patch | 12 | ||||
-rw-r--r-- | meta/recipes-support/libnl/libnl/local-includes.patch | 11 | ||||
-rw-r--r-- | meta/recipes-support/libnl/libnl_1.1.bb | 16 |
3 files changed, 39 insertions, 0 deletions
diff --git a/meta/recipes-support/libnl/libnl/compilefix.patch b/meta/recipes-support/libnl/libnl/compilefix.patch new file mode 100644 index 0000000000..f75ff282af --- /dev/null +++ b/meta/recipes-support/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/recipes-support/libnl/libnl/local-includes.patch b/meta/recipes-support/libnl/libnl/local-includes.patch new file mode 100644 index 0000000000..5af463004b --- /dev/null +++ b/meta/recipes-support/libnl/libnl/local-includes.patch | |||
@@ -0,0 +1,11 @@ | |||
1 | --- libnl-1.0-pre6/Makefile.opts.in.orig 2006-08-24 14:57:42.000000000 +0200 | ||
2 | +++ libnl-1.0-pre6/Makefile.opts.in 2006-08-24 14:58:20.000000000 +0200 | ||
3 | @@ -10,7 +10,7 @@ | ||
4 | # | ||
5 | |||
6 | CC := @CC@ | ||
7 | -CFLAGS := @CFLAGS@ | ||
8 | +CFLAGS := -I./include -I. -I../include @CFLAGS@ | ||
9 | LDFLAGS := @LDFLAGS@ | ||
10 | CPPFLAGS := @CPPFLAGS@ | ||
11 | PACKAGE_NAME := @PACKAGE_NAME@ | ||
diff --git a/meta/recipes-support/libnl/libnl_1.1.bb b/meta/recipes-support/libnl/libnl_1.1.bb new file mode 100644 index 0000000000..683df9159f --- /dev/null +++ b/meta/recipes-support/libnl/libnl_1.1.bb | |||
@@ -0,0 +1,16 @@ | |||
1 | DESCRIPTION = "libnl is a library for applications dealing with netlink sockets." | ||
2 | HOMEPAGE = "http://www.infradead.org/~tgr/libnl/" | ||
3 | SECTION = "libs/network" | ||
4 | PRIORITY = "optional" | ||
5 | |||
6 | LICENSE = "LGPLv2.1" | ||
7 | LIC_FILES_CHKSUM = "file://COPYING;md5=2b41e13261a330ee784153ecbb6a82bc \ | ||
8 | file://src/utils.c;beginline=4;endline=9;md5=6e99dfba5cfd64e92b4eb2c7b31e5e4e" | ||
9 | |||
10 | PR = "r1" | ||
11 | |||
12 | SRC_URI= "http://www.infradead.org/~tgr/libnl/files/${PN}-${PV}.tar.gz \ | ||
13 | file://local-includes.patch;apply=yes \ | ||
14 | file://compilefix.patch;apply=yes" | ||
15 | |||
16 | inherit autotools pkgconfig | ||