[arch-commits] Commit in libnl1/repos (4 files)

Jan Steffens heftig at archlinux.org
Thu Feb 16 15:41:40 EST 2012


    Date: Thursday, February 16, 2012 @ 15:41:40
  Author: heftig
Revision: 150312

db-move: moved libnl1 from [staging] to [testing] (x86_64)

Added:
  libnl1/repos/testing-x86_64/
  libnl1/repos/testing-x86_64/PKGBUILD
    (from rev 150302, libnl1/repos/staging-x86_64/PKGBUILD)
  libnl1/repos/testing-x86_64/fix-compilation.patch
    (from rev 150302, libnl1/repos/staging-x86_64/fix-compilation.patch)
Deleted:
  libnl1/repos/staging-x86_64/

-----------------------+
 PKGBUILD              |   28 ++++++++++++++++++++++++++++
 fix-compilation.patch |   10 ++++++++++
 2 files changed, 38 insertions(+)

Copied: libnl1/repos/testing-x86_64/PKGBUILD (from rev 150302, libnl1/repos/staging-x86_64/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2012-02-16 20:41:40 UTC (rev 150312)
@@ -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-x86_64/fix-compilation.patch (from rev 150302, libnl1/repos/staging-x86_64/fix-compilation.patch)
===================================================================
--- testing-x86_64/fix-compilation.patch	                        (rev 0)
+++ testing-x86_64/fix-compilation.patch	2012-02-16 20:41:40 UTC (rev 150312)
@@ -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