source: patches/perl-5.8.8-no_page_h-1.patch@ 36da727

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 36da727 was d10818d, checked in by Joe Ciccone <jciccone@…>, 16 years ago

Add a patch to perl that prevents it from including asm/page.h. This resolves ticket 160 and future problems with kernel headers provided by 2.6.25 and forward.

  • Property mode set to 100644
File size: 674 bytes
RevLine 
[d10818d]1Submitted By: Joe Ciccone <jciccone@gmail.com>
2Date: 2008-06-28
3Initial Package Version: 5.8.8
4Upstream Status: Unknown
5Origin: http://trac.cross-lfs.org/ticket/160
6Description: Removes the only asm/page.h inclusion from perl.
7
8diff -Naur perl-5.8.8.orig/ext/IPC/SysV/SysV.xs perl-5.8.8/ext/IPC/SysV/SysV.xs
9--- perl-5.8.8.orig/ext/IPC/SysV/SysV.xs 2001-06-30 14:46:07.000000000 -0400
10+++ perl-5.8.8/ext/IPC/SysV/SysV.xs 2008-06-28 14:03:42.804556568 -0400
11@@ -3,9 +3,6 @@
12 #include "XSUB.h"
13
14 #include <sys/types.h>
15-#ifdef __linux__
16-# include <asm/page.h>
17-#endif
18 #if defined(HAS_MSG) || defined(HAS_SEM) || defined(HAS_SHM)
19 #ifndef HAS_SEM
20 # include <sys/ipc.h>
Note: See TracBrowser for help on using the repository browser.