source: patches/perl-5.8.8-fPIC-1.patch@ ea24374

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since ea24374 was 5dc155c, checked in by Joe Ciccone <jciccone@…>, 18 years ago

Added perl-5.8.8-fPIC-1.patch.

  • Property mode set to 100644
File size: 1.5 KB
  • Configure

    Submitted By: Joe Ciccone <jciccone@linuxfromscratch.org>
    Date: 2006-08-20
    Initial Package Version: 5.8.8
    Upstream Status: Unknown
    Origin: http://cvs.fedora.redhat.com/viewcvs/*checkout*/devel/perl/perl-5.8.1-fpic.patch
    Description: Fixes a test that checks to see which paramater needs to be used
                 for -fPIC and forces the objects in DynaLoader to be built
                 with -fPIC.
    
    diff -Naur perl-5.8.8.orig/Configure perl-5.8.8/Configure
    old new  
    75867586                        ;;
    75877587                *)  case "$osname" in
    75887588                        darwin) dflt='none' ;;
    7589                         svr4*|esix*|solaris|nonstopux) dflt='-fPIC' ;;
     7589                        linux*|svr4*|esix*|solaris|nonstopux) dflt='-fPIC' ;;
    75907590                        *)      dflt='-fpic' ;;
    75917591                    esac ;;
    75927592            esac ;;
  • ext/DynaLoader/hints/linux.pl

    diff -Naur perl-5.8.8.orig/ext/DynaLoader/hints/linux.pl perl-5.8.8/ext/DynaLoader/hints/linux.pl
    old new  
    22# Some Linux releases like to hide their <nlist.h>
    33$self->{CCFLAGS} = $Config{ccflags} . ' -I/usr/include/libelf'
    44        if -f "/usr/include/libelf/nlist.h";
     5# Some silly modules like mod_perl use DynaLoader.a in a shared
     6# moduke, so add cccdlflags if we're going for a shared libperl
     7$self->{CCFLAGS} = ($self->{CCFLAGS} || $Config{ccflags}) . " $Config{cccdlflags}";
    581;
Note: See TracBrowser for help on using the repository browser.