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

Jan de Groot jgc at archlinux.org
Mon Feb 16 13:38:54 UTC 2009


    Date: Monday, February 16, 2009 @ 08:38:54
  Author: jgc
Revision: 27150

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

........
  r27149 | jgc | 2009-02-16 14:38:40 +0100 (Mon, 16 Feb 2009) | 2 lines
  
  upgpkg: libxml2 2.7.3-1.1
      Fix evolution crash on startup. Only affects x86_64
........

Added:
  libxml2/repos/extra-x86_64/largefile64.patch
    (from rev 27149, libxml2/trunk/largefile64.patch)
Modified:
  libxml2/repos/extra-x86_64/	(properties)
  libxml2/repos/extra-x86_64/PKGBUILD

-------------------+
 PKGBUILD          |    9 ++++++---
 largefile64.patch |   12 ++++++++++++
 2 files changed, 18 insertions(+), 3 deletions(-)


Property changes on: libxml2/repos/extra-x86_64
___________________________________________________________________
Modified: svnmerge-integrated
   - /libxml2/trunk:1-26930
   + /libxml2/trunk:1-27149

Modified: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD	2009-02-16 13:38:40 UTC (rev 27149)
+++ extra-x86_64/PKGBUILD	2009-02-16 13:38:54 UTC (rev 27150)
@@ -4,7 +4,7 @@
 
 pkgname=libxml2
 pkgver=2.7.3
-pkgrel=1
+pkgrel=1.1
 pkgdesc="XML parsing library, version 2"
 arch=(i686 x86_64)
 license=('custom')
@@ -12,11 +12,14 @@
 makedepends=('python')
 options=('!libtool')
 url="http://www.xmlsoft.org/"
-source=(ftp://ftp.xmlsoft.org/${pkgname}/${pkgname}-${pkgver}.tar.gz)
-md5sums=('8f4fda3969237c2a33bdb1583b5d06b2')
+source=(ftp://ftp.xmlsoft.org/${pkgname}/${pkgname}-${pkgver}.tar.gz
+	largefile64.patch)
+md5sums=('8f4fda3969237c2a33bdb1583b5d06b2'
+	 '5ad4915665608ebfa5b89f7908467a72')
 
 build() {
   cd "${srcdir}/${pkgname}-${pkgver}"
+  patch -Np1 -i "${srcdir}/largefile64.patch" || return 1
   ./configure --prefix=/usr --with-threads --with-history || return 1
   make || return 1
   make DESTDIR="${pkgdir}" install || return 1

Copied: libxml2/repos/extra-x86_64/largefile64.patch (from rev 27149, libxml2/trunk/largefile64.patch)
===================================================================
--- extra-x86_64/largefile64.patch	                        (rev 0)
+++ extra-x86_64/largefile64.patch	2009-02-16 13:38:54 UTC (rev 27150)
@@ -0,0 +1,12 @@
+--- libxml2-2.6.32.dfsg.orig/libxml.h
++++ libxml2-2.6.32.dfsg/libxml.h
+@@ -13,6 +13,9 @@
+ #ifndef _LARGEFILE_SOURCE
+ #define _LARGEFILE_SOURCE
+ #endif
++#ifndef _LARGEFILE64_SOURCE
++#define _LARGEFILE64_SOURCE
++#endif
+ #ifndef _FILE_OFFSET_BITS
+ #define _FILE_OFFSET_BITS 64
+ #endif




More information about the arch-commits mailing list