From 16d77671042800b140eca093fe0ed52511790356 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Fri, 4 Sep 2009 10:37:13 +0100 Subject: [PATCH] libnl: Fix compile header problems Signed-off-by: Richard Purdie --- meta/packages/libnl/libnl/compilefix.patch | 12 ++++++++++++ .../libnl/{files => libnl}/local-includes.patch | 0 meta/packages/libnl/libnl_1.1.bb | 8 ++++---- 3 files changed, 16 insertions(+), 4 deletions(-) create mode 100644 meta/packages/libnl/libnl/compilefix.patch rename meta/packages/libnl/{files => libnl}/local-includes.patch (100%) 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 @@ +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 + #include + #include ++#include + + #include + #include diff --git a/meta/packages/libnl/files/local-includes.patch b/meta/packages/libnl/libnl/local-includes.patch similarity index 100% rename from meta/packages/libnl/files/local-includes.patch rename to 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" LICENSE = "LGPL" HOMEPAGE = "http://people.suug.ch/~tgr/libnl/" PRIORITY = "optional" -PV = "1.1" inherit autotools_stage pkgconfig -SRC_URI= "http://people.suug.ch/~tgr/libnl/files/${PN}-1.1.tar.gz \ - file://local-includes.patch;patch=1" +PR = "r1" -S = "${WORKDIR}/${PN}-1.1" +SRC_URI= "http://people.suug.ch/~tgr/libnl/files/${PN}-${PV}.tar.gz \ + file://local-includes.patch;patch=1 \ + file://compilefix.patch;patch=1" -- 2.40.1