[arch-commits] Commit in libnl/repos (3 files)

Jan de Groot jgc at archlinux.org
Sun Jul 5 14:37:18 UTC 2009


    Date: Sunday, July 5, 2009 @ 10:37:17
  Author: jgc
Revision: 44932

Merged revisions 43637 via svnmerge from 
svn+ssh://svn.archlinux.org/srv/svn-packages/libnl/trunk

........
  r43637 | thomas | 2009-06-26 11:19:27 +0200 (Fri, 26 Jun 2009) | 2 lines
  
  Fix source URL and compilation
........

Added:
  libnl/repos/core-i686/fix-compilation.patch
    (from rev 43637, libnl/trunk/fix-compilation.patch)
Modified:
  libnl/repos/core-i686/	(properties)
  libnl/repos/core-i686/PKGBUILD

-----------------------+
 PKGBUILD              |    7 +++++--
 fix-compilation.patch |   10 ++++++++++
 2 files changed, 15 insertions(+), 2 deletions(-)


Property changes on: libnl/repos/core-i686
___________________________________________________________________
Modified: svnmerge-integrated
   - /libnl/trunk:1-912
   + /libnl/trunk:1-44931

Modified: core-i686/PKGBUILD
===================================================================
--- core-i686/PKGBUILD	2009-07-05 13:05:09 UTC (rev 44931)
+++ core-i686/PKGBUILD	2009-07-05 14:37:17 UTC (rev 44932)
@@ -9,11 +9,14 @@
 url="http://people.suug.ch/~tgr/libnl"
 license=('GPL')
 depends=('glibc')
-source=(http://people.suug.ch/~tgr/${pkgname}/files/${pkgname}-${pkgver}.tar.gz)
-md5sums=('ae970ccd9144e132b68664f98e7ceeb1')
+source=(ftp://ftp.archlinux.org/other/libnl/${pkgname}-${pkgver}.tar.gz
+        fix-compilation.patch)
+md5sums=('ae970ccd9144e132b68664f98e7ceeb1'
+         'e1f5e82c8aa1b3ad025c7b588178de1e')
 
 build() {
   cd ${startdir}/src/libnl-${pkgver}
+  patch -Np1 -i ${srcdir}/fix-compilation.patch || return 1
   ./configure --prefix=/usr || return 1
   make || return 1
   make DESTDIR=${startdir}/pkg install || return 1

Copied: libnl/repos/core-i686/fix-compilation.patch (from rev 43637, libnl/trunk/fix-compilation.patch)
===================================================================
--- core-i686/fix-compilation.patch	                        (rev 0)
+++ core-i686/fix-compilation.patch	2009-07-05 14:37:17 UTC (rev 44932)
@@ -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