summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2013-12-02 10:38:56 (GMT)
committer Peter Korsgaard <peter@korsgaard.com>2013-12-02 10:41:34 (GMT)
commit310fbfd8e8aed2ce21202f1a44c08433ac2ea8e3 (patch)
treebc292fddcbcbdb009cb0413f500b71c4498d7a7f
parent46a4e7809c0274070b5afa94f7d93e2a148c0256 (diff)
downloadbuildroot-310fbfd8e8aed2ce21202f1a44c08433ac2ea8e3.tar.gz
buildroot-310fbfd8e8aed2ce21202f1a44c08433ac2ea8e3.tar.bz2
libnl: bump to version 3.2.23
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--package/libnl/libnl-0001-do-not-compile-some-address-families-when-not-available.patch63
-rw-r--r--package/libnl/libnl.mk2
2 files changed, 64 insertions, 1 deletions
diff --git a/package/libnl/libnl-0001-do-not-compile-some-address-families-when-not-available.patch b/package/libnl/libnl-0001-do-not-compile-some-address-families-when-not-available.patch
new file mode 100644
index 0000000..1255041
--- /dev/null
+++ b/package/libnl/libnl-0001-do-not-compile-some-address-families-when-not-available.patch
@@ -0,0 +1,63 @@
+From 4f075a4fd1a1d6cbbe81f02f25063a8197fef746 Mon Sep 17 00:00:00 2001
+From: Cong Wang <xiyou.wangcong@gmail.com>
+Date: Fri, 8 Nov 2013 11:32:13 -0800
+Subject: [PATCH] do not compile some address families when not available
+
+This fixes the following error while compiling libnl3 on CentOS5:
+
+addr.c:1027: error: 'AF_RDS' undeclared here (not in a function)
+addr.c:1033: error: 'AF_CAN' undeclared here (not in a function)
+addr.c:1034: error: 'AF_TIPC' undeclared here (not in a function)
+addr.c:1036: error: 'AF_IUCV' undeclared here (not in a function)
+addr.c:1037: error: 'AF_RXRPC' undeclared here (not in a function)
+addr.c:1038: error: 'AF_ISDN' undeclared here (not in a function)
+addr.c:1039: error: 'AF_PHONET' undeclared here (not in a function)
+make[2]: *** [addr.lo] Error 1
+
+Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
+Signed-off-by: Thomas Graf <tgraf@suug.ch>
+---
+ lib/addr.c | 14 ++++++++++++++
+ 1 file changed, 14 insertions(+)
+
+diff --git a/lib/addr.c b/lib/addr.c
+index 86e7e58..54d2b1d 100644
+--- a/lib/addr.c
++++ b/lib/addr.c
+@@ -1024,19 +1024,33 @@ static const struct trans_tbl afs[] = {
+ __ADD(AF_ASH,ash)
+ __ADD(AF_ECONET,econet)
+ __ADD(AF_ATMSVC,atmsvc)
++#ifdef AF_RDS
+ __ADD(AF_RDS,rds)
++#endif
+ __ADD(AF_SNA,sna)
+ __ADD(AF_IRDA,irda)
+ __ADD(AF_PPPOX,pppox)
+ __ADD(AF_WANPIPE,wanpipe)
+ __ADD(AF_LLC,llc)
++#ifdef AF_CAN
+ __ADD(AF_CAN,can)
++#endif
++#ifdef AF_TIPC
+ __ADD(AF_TIPC,tipc)
++#endif
+ __ADD(AF_BLUETOOTH,bluetooth)
++#ifdef AF_IUCV
+ __ADD(AF_IUCV,iucv)
++#endif
++#ifdef AF_RXRPC
+ __ADD(AF_RXRPC,rxrpc)
++#endif
++#ifdef AF_ISDN
+ __ADD(AF_ISDN,isdn)
++#endif
++#ifdef AF_PHONET
+ __ADD(AF_PHONET,phonet)
++#endif
+ #ifdef AF_IEEE802154
+ __ADD(AF_IEEE802154,ieee802154)
+ #endif
+--
+1.8.3.2
+
diff --git a/package/libnl/libnl.mk b/package/libnl/libnl.mk
index 3b56bc8..7d8ba65 100644
--- a/package/libnl/libnl.mk
+++ b/package/libnl/libnl.mk
@@ -4,7 +4,7 @@
#
################################################################################
-LIBNL_VERSION = 3.2.21
+LIBNL_VERSION = 3.2.23
LIBNL_SITE = http://www.infradead.org/~tgr/libnl/files
LIBNL_LICENSE = LGPLv2.1+
LIBNL_LICENSE_FILES = COPYING