fix upstream bugs since 5.8.8 was released

This commit is contained in:
jvdias 2006-06-02 22:05:14 +00:00
parent 4f9f7f03fa
commit a1017fc08a
2 changed files with 19 additions and 5 deletions

View File

@ -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 <sys/types.h>
-#ifdef __linux__
-# include <asm/page.h>
-#endif
#if defined(HAS_MSG) || defined(HAS_SEM) || defined(HAS_SHM)
#ifndef HAS_SEM
# include <sys/ipc.h>

View File

@ -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 <asm/page.h> for getpagesize(), which
# is now declared by including <unistd.h> .
#
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