[oe-commits] Martin Jansa : libnl-2.0: add patch from meta-openembedded to fix pkg-config file

git at git.openembedded.org git at git.openembedded.org
Mon Nov 7 14:04:47 UTC 2011


Module: openembedded-core.git
Branch: master
Commit: 72227178bc74d6e2e24f8df6176c3d45b640e860
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=72227178bc74d6e2e24f8df6176c3d45b640e860

Author: Martin Jansa <martin.jansa at gmail.com>
Date:   Thu Nov  3 17:52:43 2011 +0100

libnl-2.0: add patch from meta-openembedded to fix pkg-config file

Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>

---

 .../libnl/libnl-2.0/fix-pc-file.patch              |   17 +++++++++++++++++
 meta/recipes-support/libnl/libnl_2.0.bb            |    1 +
 2 files changed, 18 insertions(+), 0 deletions(-)

diff --git a/meta/recipes-support/libnl/libnl-2.0/fix-pc-file.patch b/meta/recipes-support/libnl/libnl-2.0/fix-pc-file.patch
new file mode 100644
index 0000000..85afe8f
--- /dev/null
+++ b/meta/recipes-support/libnl/libnl-2.0/fix-pc-file.patch
@@ -0,0 +1,17 @@
+Upstream-Status: Pending
+
+Some packages are asking only for libnl-2.0, but expects to get also
+libnl-genl, libnl-nf libnl-route, easiest way to fix them is here.
+
+Signed-off-by: Martin Jansa <martin.jansa at gmail.com>
+Index: libnl-2.0/libnl-2.0.pc.in
+===================================================================
+--- libnl-2.0.orig/libnl-2.0.pc.in
++++ libnl-2.0/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/meta/recipes-support/libnl/libnl_2.0.bb b/meta/recipes-support/libnl/libnl_2.0.bb
index f783867..32705b9 100644
--- a/meta/recipes-support/libnl/libnl_2.0.bb
+++ b/meta/recipes-support/libnl/libnl_2.0.bb
@@ -11,6 +11,7 @@ PR = "r3"
 SRC_URI = "\
   http://www.infradead.org/~tgr/${BPN}/files/${BP}.tar.gz \
   file://fix-pktloc_syntax_h-race.patch \
+  file://fix-pc-file.patch \
 "
 
 SRC_URI[md5sum] = "6aaf1e9802a17a7d702bb0638044ffa7"





More information about the Openembedded-commits mailing list