summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-09-26 11:15:51 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2013-09-26 11:15:51 +0200
commite68aff98306d77c24f1f2d209df2474653716d37 (patch)
tree478623acc38f520bfe19bd662dca2a1c6554d5c6 /package
parente461c4dd1963215b43be50b4018898f0c203d797 (diff)
fix uclibc compile
Diffstat (limited to 'package')
-rw-r--r--package/libnl/Makefile2
-rw-r--r--package/libnl/patches/patch-lib_addr_c16
2 files changed, 17 insertions, 1 deletions
diff --git a/package/libnl/Makefile b/package/libnl/Makefile
index fc40fd2ac..68b45bf0c 100644
--- a/package/libnl/Makefile
+++ b/package/libnl/Makefile
@@ -5,7 +5,7 @@ include ${TOPDIR}/rules.mk
PKG_NAME:= libnl
PKG_VERSION:= 3.2.22
-PKG_RELEASE:= 1
+PKG_RELEASE:= 2
PKG_MD5SUM:= 2e1c889494d274aca24ce5f6a748e66e
PKG_DESCR:= Netlink library
PKG_SECTION:= libs
diff --git a/package/libnl/patches/patch-lib_addr_c b/package/libnl/patches/patch-lib_addr_c
new file mode 100644
index 000000000..7e1622bc4
--- /dev/null
+++ b/package/libnl/patches/patch-lib_addr_c
@@ -0,0 +1,16 @@
+--- libnl-3.2.22.orig/lib/addr.c 2013-04-05 10:35:44.000000000 +0200
++++ libnl-3.2.22/lib/addr.c 2013-09-26 11:13:50.000000000 +0200
+@@ -33,6 +33,13 @@
+ #include <netlink/addr.h>
+ #include <linux/socket.h>
+
++#ifndef PF_RDS
++#define PF_RDS 21
++#endif
++#ifndef AF_RDS
++#define AF_RDS PF_RDS
++#endif
++
+ /* All this DECnet stuff is stolen from iproute2, thanks to whoever wrote
+ * this, probably Alexey. */
+ static inline uint16_t dn_ntohs(uint16_t addr)