[oe-commits] Michael 'Mickey' Lauer : libnl2: bump git revision and fix pc file so that it actually links to the support libraries
git version control
git at git.openembedded.org
Tue Jan 5 09:15:29 UTC 2010
Module: openembedded.git
Branch: martin_jansa/srcpv
Commit: 1c3976fffbaba8d66915b30e63313a6228688d0d
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=1c3976fffbaba8d66915b30e63313a6228688d0d
Author: Michael 'Mickey' Lauer <mickey at vanille-media.de>
Date: Mon Jan 4 19:44:53 2010 +0100
libnl2: bump git revision and fix pc file so that it actually links to the support libraries
---
conf/distro/include/sane-srcrevs.inc | 2 +-
recipes/libnl/files/fix-pc-file.patch | 11 +++++++++++
recipes/libnl/libnl2_git.bb | 11 ++++++-----
3 files changed, 18 insertions(+), 6 deletions(-)
diff --git a/conf/distro/include/sane-srcrevs.inc b/conf/distro/include/sane-srcrevs.inc
index f942057..ba2054a 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 0000000..77f3e88
--- /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 9e2c3d7..ebea784 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"
More information about the Openembedded-commits
mailing list