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:
14
libxml2-largefile64.patch
Normal file
14
libxml2-largefile64.patch
Normal 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
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user