[arch-commits] Commit in libnl1/repos (4 files)
Jan Steffens
heftig at archlinux.org
Thu Feb 16 20:41:39 UTC 2012
Date: Thursday, February 16, 2012 @ 15:41:38
Author: heftig
Revision: 150311
db-move: moved libnl1 from [staging] to [testing] (i686)
Added:
libnl1/repos/testing-i686/
libnl1/repos/testing-i686/PKGBUILD
(from rev 150302, libnl1/repos/staging-i686/PKGBUILD)
libnl1/repos/testing-i686/fix-compilation.patch
(from rev 150302, libnl1/repos/staging-i686/fix-compilation.patch)
Deleted:
libnl1/repos/staging-i686/
-----------------------+
PKGBUILD | 28 ++++++++++++++++++++++++++++
fix-compilation.patch | 10 ++++++++++
2 files changed, 38 insertions(+)
Copied: libnl1/repos/testing-i686/PKGBUILD (from rev 150302, libnl1/repos/staging-i686/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2012-02-16 20:41:38 UTC (rev 150311)
@@ -0,0 +1,28 @@
+# $Id$
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+# Contributor: William Rea <sillywilly at gmail.com>
+
+pkgname=libnl1
+pkgver=1.1
+pkgrel=1
+pkgdesc="Library for applications dealing with netlink sockets (Legacy version)"
+arch=('i686' 'x86_64')
+url="http://www.infradead.org/~tgr/libnl/"
+license=('GPL')
+depends=('glibc')
+source=("http://www.infradead.org/~tgr/libnl/files/libnl-${pkgver}.tar.gz"
+ 'fix-compilation.patch')
+md5sums=('ae970ccd9144e132b68664f98e7ceeb1'
+ 'e1f5e82c8aa1b3ad025c7b588178de1e')
+
+build() {
+ cd ${srcdir}/libnl-${pkgver}
+ patch -Np1 -i ${srcdir}/fix-compilation.patch
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd ${srcdir}/libnl-${pkgver}
+ make DESTDIR=${pkgdir} install
+}
Copied: libnl1/repos/testing-i686/fix-compilation.patch (from rev 150302, libnl1/repos/staging-i686/fix-compilation.patch)
===================================================================
--- testing-i686/fix-compilation.patch (rev 0)
+++ testing-i686/fix-compilation.patch 2012-02-16 20:41:38 UTC (rev 150311)
@@ -0,0 +1,10 @@
+--- libnl-1.1.orig/include/netlink-local.h 2008-01-14 16:48:45.000000000 +0100
++++ libnl-1.1/include/netlink-local.h 2009-06-26 11:15:33.186011844 +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>
More information about the arch-commits
mailing list