libnl2: bump git revision and fix pc file so that it actually links to the support...
authorMichael 'Mickey' Lauer <mickey@vanille-media.de>
Mon, 4 Jan 2010 18:44:53 +0000 (19:44 +0100)
committerMichael 'Mickey' Lauer <mickey@vanille-media.de>
Mon, 4 Jan 2010 18:44:53 +0000 (19:44 +0100)
conf/distro/include/sane-srcrevs.inc
recipes/libnl/files/fix-pc-file.patch [new file with mode: 0644]
recipes/libnl/libnl2_git.bb

index f942057..ba2054a 100644 (file)
@@ -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 (file)
index 0000000..77f3e88
--- /dev/null
@@ -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}
index 9e2c3d7..ebea784 100644 (file)
@@ -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"