Author: jim Date: 2006-08-20 14:18:39 -0600 (Sun, 20 Aug 2006) New Revision: 1651
Added: trunk/perl/perl-5.8.8-fPIC-1.patch Modified: trunk/ Log: [EMAIL PROTECTED]: jim | 2006-08-20 13:18:17 -0700 Added: perl-5.8.8-fPIC-1.patch Property changes on: trunk ___________________________________________________________________ Name: svk:merge - cc2644d5-6cf8-0310-b111-c40428001e49:/patches:1710 e59974df-c20a-0410-b7e1-d7eaf1be8828:/patches:1911 + cc2644d5-6cf8-0310-b111-c40428001e49:/patches:1710 e59974df-c20a-0410-b7e1-d7eaf1be8828:/patches:1913 Added: trunk/perl/perl-5.8.8-fPIC-1.patch =================================================================== --- trunk/perl/perl-5.8.8-fPIC-1.patch (rev 0) +++ trunk/perl/perl-5.8.8-fPIC-1.patch 2006-08-20 20:18:39 UTC (rev 1651) @@ -0,0 +1,32 @@ +Submitted By: Joe Ciccone <[EMAIL PROTECTED]> +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 +--- perl-5.8.8.orig/Configure 2006-08-20 15:18:40.000000000 -0400 ++++ perl-5.8.8/Configure 2006-08-20 15:21:39.000000000 -0400 +@@ -7586,7 +7586,7 @@ + ;; + *) case "$osname" in + darwin) dflt='none' ;; +- svr4*|esix*|solaris|nonstopux) dflt='-fPIC' ;; ++ linux*|svr4*|esix*|solaris|nonstopux) dflt='-fPIC' ;; + *) dflt='-fpic' ;; + esac ;; + esac ;; +diff -Naur perl-5.8.8.orig/ext/DynaLoader/hints/linux.pl perl-5.8.8/ext/DynaLoader/hints/linux.pl +--- perl-5.8.8.orig/ext/DynaLoader/hints/linux.pl 2006-08-20 15:18:41.000000000 -0400 ++++ perl-5.8.8/ext/DynaLoader/hints/linux.pl 2006-08-20 15:35:29.000000000 -0400 +@@ -2,4 +2,7 @@ + # Some Linux releases like to hide their <nlist.h> + $self->{CCFLAGS} = $Config{ccflags} . ' -I/usr/include/libelf' + if -f "/usr/include/libelf/nlist.h"; ++# Some silly modules like mod_perl use DynaLoader.a in a shared ++# moduke, so add cccdlflags if we're going for a shared libperl ++$self->{CCFLAGS} = ($self->{CCFLAGS} || $Config{ccflags}) . " $Config{cccdlflags}"; + 1; -- http://linuxfromscratch.org/mailman/listinfo/patches FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page
