[Lunar-commits] <moonbase> zlib, libxml2: _LARGEFILE64 fixes

Stefan Wold ratler at lunar-linux.org
Fri Aug 27 20:52:57 CEST 2010


commit 82269b52721eb7a62825e7f0d48080d5acec9378
Author: Stefan Wold <ratler at lunar-linux.org>
Date:   Fri Aug 27 20:52:57 2010 +0200

    zlib, libxml2: _LARGEFILE64 fixes
    
    * Fix potential segmentation fault for apps using libxml2 and zlib together,
      it fix evolution crashes for x86_64 as an example.
---
 archive/zlib/BUILD        |    1 +
 archive/zlib/BUILD.x86_64 |    1 +
 archive/zlib/DETAILS      |    5 ++++-
 libs/libxml2/DETAILS      |    5 ++++-
 4 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/archive/zlib/BUILD b/archive/zlib/BUILD
index bfe3ad0..a4392fc 100644
--- a/archive/zlib/BUILD
+++ b/archive/zlib/BUILD
@@ -1,5 +1,6 @@
 (
 
+  patch_it $SOURCE2 1         &&
   ./configure  --prefix=/usr  &&
   make                        &&
 
diff --git a/archive/zlib/BUILD.x86_64 b/archive/zlib/BUILD.x86_64
index e091361..764593b 100644
--- a/archive/zlib/BUILD.x86_64
+++ b/archive/zlib/BUILD.x86_64
@@ -1,5 +1,6 @@
 (
 
+  patch_it $SOURCE2 1 &&
   unset CFLAGS &&
 
   prepare_install &&
diff --git a/archive/zlib/DETAILS b/archive/zlib/DETAILS
index 2aaa544..74cc3b1 100644
--- a/archive/zlib/DETAILS
+++ b/archive/zlib/DETAILS
@@ -1,12 +1,15 @@
           MODULE=zlib
          VERSION=1.2.5
           SOURCE=$MODULE-$VERSION.tar.bz2
+         SOURCE2=$MODULE-1.2.5-lfs-decls.patch
    SOURCE_URL[0]=http://www.zlib.net
    SOURCE_URL[1]=$SFORGE_URL/libpng/zlib/
+     SOURCE2_URL=$PATCH_URL
       SOURCE_VFY=sha1:543fa9abff0442edca308772d6cef85557677e02
+     SOURCE2_VFY=sha1:ddf793bd7eb4c8a01ad5d6c31162ddd2629bcbd3
         WEB_SITE=http://www.zlib.net
          ENTERED=20010922
-         UPDATED=20100423
+         UPDATED=20100827
            SHORT="lossless data compression library"
 
 cat << EOF
diff --git a/libs/libxml2/DETAILS b/libs/libxml2/DETAILS
index b7d773b..d40018b 100644
--- a/libs/libxml2/DETAILS
+++ b/libs/libxml2/DETAILS
@@ -1,11 +1,14 @@
           MODULE=libxml2
          VERSION=2.7.7
           SOURCE=$MODULE-$VERSION.tar.gz
+         SOURCE2=$MODULE-largefile64.patch
       SOURCE_URL=ftp://xmlsoft.org/$MODULE
+     SOURCE2_URL=$PATCH_URL
       SOURCE_VFY=sha1:8592824a2788574a172cbddcdc72f734ff87abe3
+     SOURCE2_VFY=sha1:53c9fbb1b6cc6ec313bcc49a82a23c2a5ad06760
         WEB_SITE=http://xmlsoft.org
          ENTERED=20010922
-         UPDATED=20100321
+         UPDATED=20100827
            SHORT="XML version 2 parser for Gnome"
 
 cat << EOF


More information about the Lunar-commits mailing list