forked from pool/apache2-mod_perl
- avoid a conflict between apache's LARGEFILE64_SOURCE and perl's
FILE_OFFSET_BITS=64 because the conflict isn't real and causes the perl structures to be invalid if only the apache flags are used OBS-URL: https://build.opensuse.org/package/show/Apache:Modules/apache2-mod_perl?expand=0&rev=27
This commit is contained in:
committed by
Git OBS Bridge
parent
d04fe47eed
commit
eda10e5115
@@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu May 26 15:19:55 UTC 2011 - coolo@novell.com
|
||||
|
||||
- avoid a conflict between apache's LARGEFILE64_SOURCE and perl's
|
||||
FILE_OFFSET_BITS=64 because the conflict isn't real and causes
|
||||
the perl structures to be invalid if only the apache flags are used
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 18 13:50:41 UTC 2011 - coolo@novell.com
|
||||
|
||||
|
@@ -46,6 +46,7 @@ Version: 2.0.5
|
||||
Release: 1
|
||||
Source0: http://perl.apache.org/dist/mod_perl-%{version}.tar.gz
|
||||
Patch: %{name}-2.0.4-tests.diff
|
||||
Patch1: nolfs.patch
|
||||
#%define apache_test_version 1_99_15
|
||||
# cvs -d :pserver:anoncvs@cvs.apache.org:/home/cvspublic up -r MODPERL_%{apache_test_version}
|
||||
#Source1: Apache-Test-%{apache_test_version}.tar.bz2
|
||||
@@ -107,6 +108,7 @@ software depending on apache2-mod_perl.
|
||||
%prep
|
||||
#%setup -q -n modperl-2.0 -a 1
|
||||
%setup -q -n mod_perl-%{version}
|
||||
%patch1 -p1
|
||||
#%patch
|
||||
find -name ".svn" -type d | xargs rm -rfv
|
||||
|
||||
|
14
nolfs.patch
Normal file
14
nolfs.patch
Normal file
@@ -0,0 +1,14 @@
|
||||
Index: mod_perl-2.0.5/lib/Apache2/Build.pm
|
||||
===================================================================
|
||||
--- mod_perl-2.0.5.orig/lib/Apache2/Build.pm 2011-02-02 21:23:47.000000000 +0100
|
||||
+++ mod_perl-2.0.5/lib/Apache2/Build.pm 2011-05-26 17:12:46.276946520 +0200
|
||||
@@ -2147,7 +2147,8 @@ sub has_large_files_conflict {
|
||||
# with it is that we didn't have such a case yet, but may need to
|
||||
# deal with it later
|
||||
|
||||
- return $perl_lfs64 ^ $apr_lfs64;
|
||||
+ return 0;
|
||||
+ # $perl_lfs64 ^ $apr_lfs64;
|
||||
}
|
||||
|
||||
# if perl is built with uselargefiles, but apr not, the build won't
|
Reference in New Issue
Block a user