From a1017fc08a7757fa943fcab8b251e526d554f0fe Mon Sep 17 00:00:00 2001 From: jvdias Date: Jun 02 2006 22:05:14 +0000 Subject: fix upstream bugs since 5.8.8 was released --- diff --git a/perl-5.8.8-no_asm_page_h.patch b/perl-5.8.8-no_asm_page_h.patch new file mode 100644 index 0000000..e3d27cf --- /dev/null +++ b/perl-5.8.8-no_asm_page_h.patch @@ -0,0 +1,12 @@ +--- perl-5.8.8/ext/IPC/SysV/SysV.xs.no_asm_page_h 2001-06-30 14:46:07.000000000 -0400 ++++ perl-5.8.8/ext/IPC/SysV/SysV.xs 2006-06-02 17:37:22.000000000 -0400 +@@ -3,9 +3,6 @@ + #include "XSUB.h" + + #include +-#ifdef __linux__ +-# include +-#endif + #if defined(HAS_MSG) || defined(HAS_SEM) || defined(HAS_SHM) + #ifndef HAS_SEM + # include diff --git a/perl.spec b/perl.spec index 2b3a876..b4ff19f 100644 --- a/perl.spec +++ b/perl.spec @@ -169,7 +169,10 @@ Patch27605: perl-5.8.8-U27605.patch Patch27914: perl-5.8.8-U27914.patch Patch27329: perl-5.8.8-U27329.patch Patch36: perl-5.8.8-R-switch.patch - +Patch37: perl-5.8.8-no_asm_page_h.patch +# ^- stop IPC/SysV.c including for getpagesize(), which +# is now declared by including . +# BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: gawk, grep, tcsh, dos2unix, man, groff BuildRequires: gdbm-devel, db4-devel @@ -373,6 +376,8 @@ more secure running of setuid perl scripts. %patch36 -p1 +%patch37 -p1 + # Candidates for doc recoding (need case by case review): # find . -name "*.pod" -o -name "README*" -o -name "*.pm" | xargs file -i | grep charset= | grep -v '\(us-ascii\|utf-8\)' recode() @@ -460,10 +465,7 @@ sh Configure -des -Doptimize="$RPM_OPT_FLAGS" \ -Dinc_version_list='%{perlmodcompat}' \ -Dscriptdir='%{_bindir}' -make -# perl 5.8.6 - some tests fail (see bug #127023 comments #{31,32,34}) -# So ? then we should fix the tests / fix perl! -# make test || /bin/true +make %{?_smp_mflags} make test