diff options
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 @@ +Index: libnl-1.1/include/netlink-local.h +=================================================================== +--- libnl-1.1.orig/include/netlink-local.h 2009-09-04 10:10:09.000000000 +0100 ++++ libnl-1.1/include/netlink-local.h 2009-09-04 10:10:15.000000000 +0100 +@@ -26,6 +26,7 @@ + #include <sys/socket.h> + #include <inttypes.h> + #include <assert.h> ++#include <limits.h> + + #include <arpa/inet.h> + #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 @@ +--- libnl-1.0-pre6/Makefile.opts.in.orig 2006-08-24 14:57:42.000000000 +0200 ++++ libnl-1.0-pre6/Makefile.opts.in 2006-08-24 14:58:20.000000000 +0200 +@@ -10,7 +10,7 @@ + # + + CC := @CC@ +-CFLAGS := @CFLAGS@ ++CFLAGS := -I./include -I. -I../include @CFLAGS@ + LDFLAGS := @LDFLAGS@ + CPPFLAGS := @CPPFLAGS@ + 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 @@ +DESCRIPTION = "libnl is a library for applications dealing with netlink sockets." +HOMEPAGE = "http://www.infradead.org/~tgr/libnl/" +SECTION = "libs/network" +PRIORITY = "optional" + +LICENSE = "LGPLv2.1" +LIC_FILES_CHKSUM = "file://COPYING;md5=2b41e13261a330ee784153ecbb6a82bc \ + file://src/utils.c;beginline=4;endline=9;md5=6e99dfba5cfd64e92b4eb2c7b31e5e4e" + +PR = "r1" + +SRC_URI= "http://www.infradead.org/~tgr/libnl/files/${PN}-${PV}.tar.gz \ + file://local-includes.patch;apply=yes \ + file://compilefix.patch;apply=yes" + +inherit autotools pkgconfig |