OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /v/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 11-Oct-2007 15:38:45
Branch: HEAD Handle: 2007101114384500
Modified files:
openpkg-src/perl perl.patch perl.spec
Log:
the patch is a one-time patch and trivial enough and hence should be
included into perl.patch. We use external patches only for official
vendor patches or for larger scale patches. Everything else we have to
maintain anyway ourself and so it can be included into the local
patch.
Summary:
Revision Changes Path
1.23 +20 -0 openpkg-src/perl/perl.patch
1.118 +0 -2 openpkg-src/perl/perl.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/perl/perl.patch
============================================================================
$ cvs diff -u -r1.22 -r1.23 perl.patch
--- openpkg-src/perl/perl.patch 14 Jul 2007 14:44:53 -0000 1.22
+++ openpkg-src/perl/perl.patch 11 Oct 2007 13:38:45 -0000 1.23
@@ -348,3 +348,23 @@
cccdlflags='-DPIC -fPIC'
;;
+
+-----------------------------------------------------------------------------
+
+Fix issue when <asm/page.h> is missing from the Linux headers.
+See https://bugs.gentoo.org/show_bug.cgi?id=168312 for details.
+
+Index: ext/IPC/SysV/SysV.xs
+--- ext/IPC/SysV/SysV.xs.orig 2001-06-30 14:46:07.000000000 -0400
++++ 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>
+
@@ .
patch -p0 <<'@@ .'
Index: openpkg-src/perl/perl.spec
============================================================================
$ cvs diff -u -r1.117 -r1.118 perl.spec
--- openpkg-src/perl/perl.spec 11 Oct 2007 13:30:57 -0000 1.117
+++ openpkg-src/perl/perl.spec 11 Oct 2007 13:38:45 -0000 1.118
@@ -38,7 +38,6 @@
# list of sources
Source0: ftp://ftp.cpan.org/pub/CPAN/src/perl-%{version}.tar.gz
Patch0: perl.patch
-Patch1: http://bugs.gentoo.org/attachment.cgi?id=111427
# build information
Prefix: %{l_prefix}
@@ -64,7 +63,6 @@
%prep
%setup -q
%patch -p0
- %patch -p1 -P 1
chmod -R u+w .
%build
@@ .
______________________________________________________________________
OpenPKG http://openpkg.org
CVS Repository Commit List [email protected]