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

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since a4b892f 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
  • ext/IPC/SysV/SysV.xs

    Submitted By: Joe Ciccone <jciccone@gmail.com>
    Date: 2008-06-28
    Initial Package Version: 5.8.8
    Upstream Status: Unknown
    Origin: http://trac.cross-lfs.org/ticket/160
    Description: Removes the only asm/page.h inclusion from perl.
    
    diff -Naur perl-5.8.8.orig/ext/IPC/SysV/SysV.xs perl-5.8.8/ext/IPC/SysV/SysV.xs
    old new  
    33#include "XSUB.h"
    44
    55#include <sys/types.h>
    6 #ifdef __linux__
    7 #   include <asm/page.h>
    8 #endif
    96#if defined(HAS_MSG) || defined(HAS_SEM) || defined(HAS_SHM)
    107#ifndef HAS_SEM
    118#   include <sys/ipc.h>
Note: See TracBrowser for help on using the repository browser.