packages: libxml2/libxml2.spec, libxml2/libxml2-largefile.patch (NEW) - rel...

arekm arekm at pld-linux.org
Sat Oct 10 19:05:58 CEST 2009


Author: arekm                        Date: Sat Oct 10 17:05:58 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- rel 4; fix largefile brokeness that was manifesting as segfault in zlib related code

---- Files affected:
packages/libxml2:
   libxml2.spec (1.173 -> 1.174) , libxml2-largefile.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/libxml2/libxml2.spec
diff -u packages/libxml2/libxml2.spec:1.173 packages/libxml2/libxml2.spec:1.174
--- packages/libxml2/libxml2.spec:1.173	Sat Oct 10 10:26:30 2009
+++ packages/libxml2/libxml2.spec	Sat Oct 10 19:05:53 2009
@@ -11,7 +11,7 @@
 Summary(pt_BR.UTF-8):	Biblioteca libXML versão 2
 Name:		libxml2
 Version:	2.7.6
-Release:	3
+Release:	4
 Epoch:		1
 License:	MIT
 Group:		Libraries
@@ -21,6 +21,7 @@
 Patch0:		%{name}-amfix.patch
 Patch1:		%{name}-man_fixes.patch
 Patch2:		%{name}-open.gz.patch
+Patch3:		%{name}-largefile.patch
 URL:		http://xmlsoft.org/
 BuildRequires:	autoconf >= 2.2
 BuildRequires:	automake >= 1.4
@@ -139,6 +140,7 @@
 %if %{with zlib}
 %patch2 -p1
 %endif
+%patch3 -p1
 
 %build
 %{__libtoolize}
@@ -250,6 +252,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.174  2009/10/10 17:05:53  arekm
+- rel 4; fix largefile brokeness that was manifesting as segfault in zlib related code
+
 Revision 1.173  2009/10/10 08:26:30  arekm
 - release 3
 

================================================================
Index: packages/libxml2/libxml2-largefile.patch
diff -u /dev/null packages/libxml2/libxml2-largefile.patch:1.1
--- /dev/null	Sat Oct 10 19:05:58 2009
+++ packages/libxml2/libxml2-largefile.patch	Sat Oct 10 19:05:53 2009
@@ -0,0 +1,12 @@
+--- libxml2-2.7.6/libxml.h~	2009-09-24 17:31:59.000000000 +0200
++++ libxml2-2.7.6/libxml.h	2009-10-10 18:57:55.681981813 +0200
+@@ -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
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/libxml2/libxml2.spec?r1=1.173&r2=1.174&f=u



More information about the pld-cvs-commit mailing list