summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/libnl
diff options
context:
space:
mode:
authorCecil Hugh Watson <knoppmyth@gmail.com>2009-01-28 07:34:48 (GMT)
committerCecil Hugh Watson <knoppmyth@gmail.com>2009-01-28 07:34:48 (GMT)
commited63eead7302d38aa5a632b4e4b94a03f9a20202 (patch)
tree72d23893889630551800ed723c7182141924b701 /abs/extra-testing/libnl
parent5d22477377dff808644fffa9566134a427db2772 (diff)
downloadlinhes_pkgbuild-ed63eead7302d38aa5a632b4e4b94a03f9a20202.zip
linhes_pkgbuild-ed63eead7302d38aa5a632b4e4b94a03f9a20202.tar.gz
linhes_pkgbuild-ed63eead7302d38aa5a632b4e4b94a03f9a20202.tar.bz2
crda and needed deps for those that need to set wireless country code.
Diffstat (limited to 'abs/extra-testing/libnl')
-rw-r--r--abs/extra-testing/libnl/PKGBUILD21
-rw-r--r--abs/extra-testing/libnl/ulong_max.patch11
2 files changed, 32 insertions, 0 deletions
diff --git a/abs/extra-testing/libnl/PKGBUILD b/abs/extra-testing/libnl/PKGBUILD
new file mode 100644
index 0000000..4a6465a
--- /dev/null
+++ b/abs/extra-testing/libnl/PKGBUILD
@@ -0,0 +1,21 @@
+# $Id: PKGBUILD 930 2008-04-24 22:14:40Z jgc $
+# Maintainer: Jan de Groot <jgc@archlinux.org>
+# Contributor: William Rea <sillywilly@gmail.com>
+pkgname=libnl
+pkgver=1.1
+pkgrel=2
+pkgdesc="Library for applications dealing with netlink sockets"
+arch=('i686' 'x86_64')
+url="http://people.suug.ch/~tgr/libnl"
+license=('GPL')
+depends=('glibc')
+source=(http://people.suug.ch/~tgr/${pkgname}/files/${pkgname}-${pkgver}.tar.gz ulong_max.patch)
+md5sums=('ae970ccd9144e132b68664f98e7ceeb1' '255bb3740149d518766032675810c590')
+
+build() {
+ cd ${startdir}/src/libnl-${pkgver}
+ patch -p1 < ../ulong_max.patch
+ ./configure --prefix=/usr || return 1
+ make || return 1
+ make DESTDIR=${startdir}/pkg install || return 1
+}
diff --git a/abs/extra-testing/libnl/ulong_max.patch b/abs/extra-testing/libnl/ulong_max.patch
new file mode 100644
index 0000000..d9ef218
--- /dev/null
+++ b/abs/extra-testing/libnl/ulong_max.patch
@@ -0,0 +1,11 @@
+--- libnl-1.1/include/netlink-local.h.orig 2008-06-08 19:09:20.000000000
++0200
++++ libnl-1.1/include/netlink-local.h 2008-06-08 19:09:33.000000000 +0200
+@@ -26,6 +26,7 @@
+ #include <sys/socket.h>
+ #include <inttypes.h>
+ #include <assert.h>
++#include <limits.h>
+
+ #include <arpa/inet.h>
+ #include <netdb.h>