summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael 'Mickey' Lauer <mickey@vanille-media.de>2010-01-04 19:44:53 +0100
committerMichael 'Mickey' Lauer <mickey@vanille-media.de>2010-01-04 19:44:53 +0100
commit1c3976fffbaba8d66915b30e63313a6228688d0d (patch)
treed334296bec49232dad72b8949edbd2272de5019a
parenta66595deff9fa3d23f605da076f3734d7f12e7c0 (diff)
libnl2: bump git revision and fix pc file so that it actually links to the support libraries
-rw-r--r--conf/distro/include/sane-srcrevs.inc2
-rw-r--r--recipes/libnl/files/fix-pc-file.patch11
-rw-r--r--recipes/libnl/libnl2_git.bb11
3 files changed, 18 insertions, 6 deletions
diff --git a/conf/distro/include/sane-srcrevs.inc b/conf/distro/include/sane-srcrevs.inc
index f942057adb..ba2054a3d2 100644
--- a/conf/distro/include/sane-srcrevs.inc
+++ b/conf/distro/include/sane-srcrevs.inc
@@ -130,7 +130,7 @@ SRCREV_pn-libmokogsmd2 ?= "4334"
SRCREV_pn-libmokojournal2 ?= "3473"
SRCREV_pn-libmokopanelui2 ?= "4568"
SRCREV_pn-libmokoui2 ?= "4695"
-SRCREV_pn-libnl2 ?= "dc273a12da9f0116e80fa81d63beb820e632dd17"
+SRCREV_pn-libnl2 ?= "8808743839b0f459394ecd00cb0f7c1896c0ab7a"
SRCREV_pn-libowl ?= "277"
SRCREV_pn-libphone-ui ?= "c9cb5c3ddcd04c5cd2c02214fbc7734b8452981c"
SRCREV_pn-libphone-ui-shr ?= "acf4a496ed365fad77ab494bccda251141c1b57a"
diff --git a/recipes/libnl/files/fix-pc-file.patch b/recipes/libnl/files/fix-pc-file.patch
new file mode 100644
index 0000000000..77f3e88562
--- /dev/null
+++ b/recipes/libnl/files/fix-pc-file.patch
@@ -0,0 +1,11 @@
+Index: git/libnl-2.0.pc.in
+===================================================================
+--- git.orig/libnl-2.0.pc.in
++++ git/libnl-2.0.pc.in
+@@ -6,5 +6,5 @@
+ Name: libnl
+ Description: Convenience library for netlink sockets
+ Version: @PACKAGE_VERSION@
+-Libs: -L${libdir} -lnl
++Libs: -L${libdir} -lnl -lnl-genl -lnl-nf -lnl-route
+ Cflags: -I${includedir}
diff --git a/recipes/libnl/libnl2_git.bb b/recipes/libnl/libnl2_git.bb
index 9e2c3d7ecc..ebea78441b 100644
--- a/recipes/libnl/libnl2_git.bb
+++ b/recipes/libnl/libnl2_git.bb
@@ -2,16 +2,17 @@ DESCRIPTION = "libnl is a library for applications dealing with netlink sockets"
SECTION = "libs/network"
LICENSE = "LGPL"
HOMEPAGE = "http://people.suug.ch/~tgr/libnl"
-PV = "1.0+gitr${SRCREV}"
-PR = "r1"
+PV = "1.9+gitr${SRCREV}"
+PR = "r0"
inherit autotools
-#CFLAGS += '-DVLAN_FLAG_REORDER_HDR=1'
-
includedir = ${prefix}/include/libnl2
-SRC_URI = "git://git.kernel.org/pub/scm/libs/netlink/libnl.git;protocol=git"
+SRC_URI = "\
+ git://git.kernel.org/pub/scm/libs/netlink/libnl.git;protocol=git \
+ file://fix-pc-file.patch;patch=1 \
+"
S = "${WORKDIR}/git"
PACKAGES =+ "${PN}-route ${PN}-nf ${PN}-genl"