aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-support/libnl/libnl/fix-pc-file.patch
diff options
context:
space:
mode:
authorRonan Le Martret <ronan.lemartret@iot.bzh>2016-10-14 14:25:21 +0200
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2017-01-11 19:01:50 +0000
commitf71d907312e8dfc30a2e18642a2d4cc4abac01fc (patch)
treec91cf3e8d6a1db2908f722fc8c829090c72d7481 /common/recipes-support/libnl/libnl/fix-pc-file.patch
parent2420779506844c8b8cf2f50d8f08b622dc6468f6 (diff)
add backport of libnl
* libnl 3.2.28 are not compatible with kernel 3.10 * backport libnl from yocto krogoth Change-Id: If446f6695bc0b51cd4a6b5e5ff87baaa26daa201 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
Diffstat (limited to 'common/recipes-support/libnl/libnl/fix-pc-file.patch')
-rw-r--r--common/recipes-support/libnl/libnl/fix-pc-file.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/common/recipes-support/libnl/libnl/fix-pc-file.patch b/common/recipes-support/libnl/libnl/fix-pc-file.patch
new file mode 100644
index 0000000..fe8b833
--- /dev/null
+++ b/common/recipes-support/libnl/libnl/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@gmail.com>
+Index: libnl-3.2.14/libnl-3.0.pc.in
+===================================================================
+--- libnl-3.2.14.orig/libnl-3.0.pc.in
++++ libnl-3.2.14/libnl-3.0.pc.in
+@@ -6,5 +6,5 @@ includedir=@includedir@
+ Name: libnl
+ Description: Convenience library for netlink sockets
+ Version: @PACKAGE_VERSION@
+-Libs: -L${libdir} -lnl-@MAJ_VERSION@
++Libs: -L${libdir} -lnl-@MAJ_VERSION@ -lnl-genl-@MAJ_VERSION@ -lnl-nf-@MAJ_VERSION@ -lnl-route-@MAJ_VERSION@
+ Cflags: -I${includedir}/libnl@MAJ_VERSION@