SHA256
8
0
forked from pool/libxml2

fix build, largefile64, xref patch by jw

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libxml2?expand=0&rev=18
This commit is contained in:
2010-09-17 16:33:31 +00:00
committed by Git OBS Bridge
parent 82fbb1c70c
commit c90c39ef18
3 changed files with 23 additions and 1 deletions

14
libxml2-largefile64.patch Normal file
View File

@@ -0,0 +1,14 @@
Index: libxml2-2.7.7/libxml.h
===================================================================
--- libxml2-2.7.7.orig/libxml.h
+++ libxml2-2.7.7/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

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Sep 17 16:28:46 UTC 2010 - puzel@novell.com
- add libxml2-largefile64.patch (fixes build)
- debian bug#439843
-------------------------------------------------------------------
Wed Jul 14 20:05:00 UTC 2010 - jw@novell.com

View File

@@ -28,7 +28,8 @@ Version: 2.7.7
Release: 3
Source: %{name}-%{version}.tar.bz2
Source2: baselibs.conf
Patch1: noxref.patch
Patch1: noxref.patch
Patch2: libxml2-largefile64.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
# bug437293
%ifarch ppc64
@@ -101,6 +102,7 @@ progress.
%prep
%setup -q
%patch1 -p1
%patch2 -p1
%build
%configure \