rpms/perl-PDL/devel perl-PDL-2.4.3-fortran.patch,NONE,1.1
Robin Norwood (rnorwood)
fedora-extras-commits at redhat.com
Fri Aug 10 16:32:14 UTC 2007
Author: rnorwood
Update of /cvs/pkgs/rpms/perl-PDL/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv18349
Added Files:
perl-PDL-2.4.3-fortran.patch
Log Message:
add forgotten patch.
perl-PDL-2.4.3-fortran.patch:
--- NEW FILE perl-PDL-2.4.3-fortran.patch ---
--- PDL-2.4.3/Lib/Slatec/Makefile.PL.fortran 2007-08-07 14:28:11.000000000 -0600
+++ PDL-2.4.3/Lib/Slatec/Makefile.PL 2007-08-07 14:29:48.000000000 -0600
@@ -128,15 +128,14 @@
sub MY::postamble {
$mycompiler = $f77->compiler();
- $mycflags = $f77->cflags();
+ $mycflags = $f77->cflags() . " -fPIC " . $Config{"ccflags"};
my $orig = pdlpp_postamble_int(@::pack);
- $hack_64bit = ($Config{archname}=~m/x86_64/ ?" -fPIC " : "");
$orig =~ s/:\s*slatec\.pd/: slatec.pd/;
$orig .join "\n",map {
("
slatec/$_\$(OBJ_EXT): slatec/$_.f
- $mycompiler -c $hack_64bit -o slatec/$_\$(OBJ_EXT) $mycflags slatec/$_.f
+ $mycompiler -c -o slatec/$_\$(OBJ_EXT) $mycflags slatec/$_.f
" )} @slatecfiles;
}
--- PDL-2.4.3/t/flexraw.t.fortran 2007-08-07 15:36:21.000000000 -0600
+++ PDL-2.4.3/t/flexraw.t 2007-08-07 15:36:35.000000000 -0600
@@ -206,7 +206,7 @@
$fh->print( $code );
$fh->close;
- system("$F77 $F77flags -o $prog$exec $file".
+ system("$F77 $F77flags -frecord-marker=4 -o $prog$exec $file".
(($Verbose || $DEBUG)?'': $null));
unlink $data if -f $data;
More information about the fedora-extras-commits
mailing list