diff options
Diffstat (limited to 'dev-perl/PDL/files')
-rw-r--r-- | dev-perl/PDL/files/PDL-2.17.0-dot-in-inc.patch | 142 | ||||
-rw-r--r-- | dev-perl/PDL/files/PDL-2.17.0-fortran.patch | 22 | ||||
-rw-r--r-- | dev-perl/PDL/files/PDL-2.17.0-makemakerfix.patch | 20 | ||||
-rw-r--r-- | dev-perl/PDL/files/PDL-2.17.0-shared-hdf.patch | 44 | ||||
-rw-r--r-- | dev-perl/PDL/files/PDL-2.54.0-fortran.patch | 24 |
5 files changed, 0 insertions, 252 deletions
diff --git a/dev-perl/PDL/files/PDL-2.17.0-dot-in-inc.patch b/dev-perl/PDL/files/PDL-2.17.0-dot-in-inc.patch deleted file mode 100644 index 0007f47b91d5..000000000000 --- a/dev-perl/PDL/files/PDL-2.17.0-dot-in-inc.patch +++ /dev/null @@ -1,142 +0,0 @@ -From 717a19da57ec9f8fc80d4824cad47a04200fc515 Mon Sep 17 00:00:00 2001 -From: Kent Fredric <kentfredric@gmail.com> -Date: Sat, 24 Jun 2017 17:27:27 +1200 -Subject: [PATCH] Backport fix for "." in @INC from 2.018 - -2.018 has far too many changes to safely review in such a short amount -of time. Fixing this trivial build issue gets us what is necessary -for Perl 5.26 roll-out without lots of additional verification ---- - Basic/Core/Core.xs | 2 +- - Basic/Core/pdl.h.PL | 2 +- - Basic/Core/pdlconv.c.PL | 4 ++-- - Basic/Core/pdlcore.c.PL | 4 ++-- - Basic/Core/pdlcore.h.PL | 4 ++-- - Basic/Core/pdlsimple.h.PL | 2 +- - Makefile.PL | 4 ++-- - 7 files changed, 11 insertions(+), 11 deletions(-) - -diff --git a/Basic/Core/Core.xs b/Basic/Core/Core.xs -index 5e95356..b38f14c 100644 ---- a/Basic/Core/Core.xs -+++ b/Basic/Core/Core.xs -@@ -336,7 +336,7 @@ iscontig(x) - - # using "perl" not $^X because that doesn't work on "perl in space" - # TODO: switching back to $^X since using "perl" is not a viable fix --INCLUDE_COMMAND: $^X -e "require q{Dev.pm}; PDL::Core::Dev::generate_core_flags()" -+INCLUDE_COMMAND: $^X -e "require q{./Dev.pm}; PDL::Core::Dev::generate_core_flags()" - - #if 0 - =begin windows_mmap -diff --git a/Basic/Core/pdl.h.PL b/Basic/Core/pdl.h.PL -index d2e9758..6e01445 100644 ---- a/Basic/Core/pdl.h.PL -+++ b/Basic/Core/pdl.h.PL -@@ -6,7 +6,7 @@ use Config; - use File::Basename qw(&basename &dirname); - - # how many variable types (ie PDL_Byte, ...) are there? --require 'Types.pm'; -+require './Types.pm'; - my $ntypes = $#PDL::Types::names; - my $PDL_DATATYPES = PDL::Types::datatypes_header(); - -diff --git a/Basic/Core/pdlconv.c.PL b/Basic/Core/pdlconv.c.PL -index 160e29b..62a57b0 100644 ---- a/Basic/Core/pdlconv.c.PL -+++ b/Basic/Core/pdlconv.c.PL -@@ -7,9 +7,9 @@ use strict; - use Config; - use File::Basename qw(&basename &dirname); - --require 'Dev.pm'; PDL::Core::Dev->import; -+require './Dev.pm'; PDL::Core::Dev->import; - use vars qw( %PDL_DATATYPES ); --require 'Types.pm'; #for typesrtkeys -+require './Types.pm'; #for typesrtkeys - - # This forces PL files to create target in same directory as PL file. - # This is so that make depend always knows where to find PL derivatives. -diff --git a/Basic/Core/pdlcore.c.PL b/Basic/Core/pdlcore.c.PL -index a602b6e..445cfb8 100644 ---- a/Basic/Core/pdlcore.c.PL -+++ b/Basic/Core/pdlcore.c.PL -@@ -6,7 +6,7 @@ use strict; - use Config; - use File::Basename qw(&basename &dirname); - --require 'Dev.pm'; PDL::Core::Dev->import; -+require './Dev.pm'; PDL::Core::Dev->import; - use vars qw( %PDL_DATATYPES ); - - # check for bad value support -@@ -14,7 +14,7 @@ require './Config.pm'; # to load the PDL not the Perl one - die "No PDL::Config found" unless %PDL::Config; - my $bvalflag = $PDL::Config{WITH_BADVAL}; - my $usenan = $PDL::Config{BADVAL_USENAN}; --require 'Types.pm'; -+require './Types.pm'; - PDL::Types->import(':All'); - - -diff --git a/Basic/Core/pdlcore.h.PL b/Basic/Core/pdlcore.h.PL -index 90469f0..760e6a1 100644 ---- a/Basic/Core/pdlcore.h.PL -+++ b/Basic/Core/pdlcore.h.PL -@@ -11,7 +11,7 @@ use strict; - use Config; - use File::Basename qw(&basename &dirname); - --require 'Dev.pm'; PDL::Core::Dev->import; -+require './Dev.pm'; PDL::Core::Dev->import; - use vars qw( %PDL_DATATYPES ); - - # version 2 is for versions after PDL 2.1.1 -@@ -349,7 +349,7 @@ double NaN_double; - - # fortunately it looks like Types.pm.PL is processed before this - # file -- require "Types.pm"; # ie PDL::Types -+ require "./Types.pm"; # ie PDL::Types - - for (PDL::Types::typesrtkeys()) { - my $ctype = $PDL::Types::typehash{$_}{ctype}; -diff --git a/Basic/Core/pdlsimple.h.PL b/Basic/Core/pdlsimple.h.PL -index e511913..43eb557 100644 ---- a/Basic/Core/pdlsimple.h.PL -+++ b/Basic/Core/pdlsimple.h.PL -@@ -3,7 +3,7 @@ - use Config; - use File::Basename qw(&basename &dirname); - --require 'Types.pm'; -+require './Types.pm'; - my $PDL_DATATYPES = PDL::Types::datatypes_header(); - - # List explicitly here the variables you want Configure to -diff --git a/Makefile.PL b/Makefile.PL -index fc8d590..a94d895 100644 ---- a/Makefile.PL -+++ b/Makefile.PL -@@ -226,7 +226,7 @@ sub check_f77conf { - - sub make_Version_pm { - # Get Version from Basic/PDL.pm and generated Basic/Core/Version.pm from it -- require 'Basic/PDL.pm'; -+ require './Basic/PDL.pm'; - # keep version info in $PDL::Config - $PDL::Config{PDL_BUILD_VERSION} = "$PDL::VERSION"; - -@@ -376,7 +376,7 @@ make_Types_pm(); - # this will make PDL::Core::Dev's functions available - # in Makefile.PL files in all subdirectories - # IMPORTANT: it has to be after make_Types_pm() --require "Basic/Core/Dev.pm"; PDL::Core::Dev->import(); -+require "./Basic/Core/Dev.pm"; PDL::Core::Dev->import(); - - # only perform one test if required modules are missing - # the test will print an informational message and fail --- -2.13.1 - diff --git a/dev-perl/PDL/files/PDL-2.17.0-fortran.patch b/dev-perl/PDL/files/PDL-2.17.0-fortran.patch deleted file mode 100644 index 8d02a2685cfa..000000000000 --- a/dev-perl/PDL/files/PDL-2.17.0-fortran.patch +++ /dev/null @@ -1,22 +0,0 @@ ---- a/Lib/Minuit/Makefile.PL -+++ b/Lib/Minuit/Makefile.PL -@@ -149,7 +149,7 @@ - (" - - minuitlib/$_\$(OBJ_EXT): minuitlib/$_.f -- $mycompiler -c $hack_64bit -o minuitlib/$_\$(OBJ_EXT) $mycflags minuitlib/$_.f -+ \$(FC) \$(FFLAGS) -fPIC -c -o minuitlib/$_\$(OBJ_EXT) $mycflags minuitlib/$_.f - " )} @minuitfiles; - - if (!defined($PDL::Config{MINUIT_LIB})){ ---- a/Lib/Slatec/Makefile.PL -+++ b/Lib/Slatec/Makefile.PL -@@ -136,7 +136,7 @@ - (" - - slatec/$_\$(OBJ_EXT): slatec/$_.f -- $mycompiler -c $hack_64bit -o slatec/$_\$(OBJ_EXT) $mycflags slatec/$_.f -+ \$(FC) \$(FFLAGS) -c -fPIC -o slatec/$_\$(OBJ_EXT) $mycflags slatec/$_.f - " )} @slatecfiles; - - } diff --git a/dev-perl/PDL/files/PDL-2.17.0-makemakerfix.patch b/dev-perl/PDL/files/PDL-2.17.0-makemakerfix.patch deleted file mode 100644 index b564a95db3cd..000000000000 --- a/dev-perl/PDL/files/PDL-2.17.0-makemakerfix.patch +++ /dev/null @@ -1,20 +0,0 @@ ---- a/Demos/BAD2_demo.pm.PL 2006/04/20 07:42:24 1.1 -+++ b/Demos/BAD2_demo.pm.PL 2006/04/20 07:42:32 -@@ -3,6 +3,7 @@ - # - requires both bad-value support and PGPLOT - # - -+use blib; - use strict; - - use Config; ---- a/Demos/BAD_demo.pm.PL 2006/04/20 07:42:17 1.1 -+++ b/Demos/BAD_demo.pm.PL 2006/04/20 07:42:38 -@@ -3,6 +3,7 @@ - # - needed since we allow bad pixel handling to be switched off - # - -+use blib; - use strict; - - use Config; diff --git a/dev-perl/PDL/files/PDL-2.17.0-shared-hdf.patch b/dev-perl/PDL/files/PDL-2.17.0-shared-hdf.patch deleted file mode 100644 index 0937b98864a4..000000000000 --- a/dev-perl/PDL/files/PDL-2.17.0-shared-hdf.patch +++ /dev/null @@ -1,44 +0,0 @@ -diff -ruN PDL-2.017.orig/IO/HDF/Makefile.PL PDL-2.017/IO/HDF/Makefile.PL ---- PDL-2.017.orig/IO/HDF/Makefile.PL 2016-09-23 12:43:47.000000000 +0200 -+++ PDL-2.017/IO/HDF/Makefile.PL 2016-10-27 22:09:04.048315756 +0200 -@@ -56,25 +56,25 @@ - - # Look for the libs: - foreach my $libdir ( @HDF_lib_locations ) { -- if (-e "$libdir/libdfalt.a" && !$found_df) { -+ if (-e "$libdir/libdfalt.$Config{so}" && !$found_df) { - $found_df = 1; - $hdf_lib_path = $libdir; - $hdf_libs = '-lmfhdfalt -ldfalt'; -- print "Found libdfalt.a at $libdir/libdfalt.a\n"; -+ print "Found libdfalt.$Config{so} at $libdir/libdfalt.$Config{so}\n"; - } - -- if (-e "$libdir/libdf.a" && !$found_df) { -+ if (-e "$libdir/libdf.$Config{so}" && !$found_df) { - $found_df = 1; - $hdf_lib_path = $libdir; - $hdf_libs = '-lmfhdf -ldf'; -- print "Found libdf.a at $libdir/libdf.a\n"; -+ print "Found libdf.$Config{so} at $libdir/libdf.$Config{so}\n"; - } - -- if (-e "$libdir/libhdf.a" && !$found_df) { -+ if (-e "$libdir/libhdf.$Config{so}" && !$found_df) { - $found_df = 1; - $hdf_lib_path = $libdir; - $hdf_libs = '-lmfhdf -lhdf -lxdr'; -- print "Found libhdf.a at $libdir/libhdf.a\n"; -+ print "Found libhdf.$Config{so} at $libdir/libhdf.$Config{so}\n"; - } - - # Look for the szip library, which HDF >= 4.2r0 needs, but older versions don't! -@@ -91,7 +91,7 @@ - } # foreach $libdir... - - unless( defined( $hdf_lib_path ) ) { -- $msg .= "Cannot find hdf library, libdf.a.\n" -+ $msg .= "Cannot find hdf library, libdf.$Config{so}.\n" - . "Please add the correct library path to Makefile.PL or install HDF\n"; - } - diff --git a/dev-perl/PDL/files/PDL-2.54.0-fortran.patch b/dev-perl/PDL/files/PDL-2.54.0-fortran.patch deleted file mode 100644 index 883d4e4ade65..000000000000 --- a/dev-perl/PDL/files/PDL-2.54.0-fortran.patch +++ /dev/null @@ -1,24 +0,0 @@ -diff -ruN PDL-2.054.orig/Libtmp/Minuit/Makefile.PL PDL-2.054/Libtmp/Minuit/Makefile.PL ---- PDL-2.054.orig/Libtmp/Minuit/Makefile.PL 2021-06-13 15:28:36.000000000 +0200 -+++ PDL-2.054/Libtmp/Minuit/Makefile.PL 2021-07-29 00:34:57.754727357 +0200 -@@ -139,7 +139,7 @@ - (" - - minuitlib/$_\$(OBJ_EXT): minuitlib/$_.f -- $mycompiler -c $hack_64bit -o minuitlib/$_\$(OBJ_EXT) $mycflags minuitlib/$_.f -+ \$(FC) \$(FFLAGS) -fPIC -c -o minuitlib/$_\$(OBJ_EXT) $mycflags minuitlib/$_.f - " )} @minuitfiles; - - if (!defined($PDL::Config{MINUIT_LIB})){ -diff -ruN PDL-2.054.orig/Libtmp/Slatec/Makefile.PL PDL-2.054/Libtmp/Slatec/Makefile.PL ---- PDL-2.054.orig/Libtmp/Slatec/Makefile.PL 2021-06-13 15:29:15.000000000 +0200 -+++ PDL-2.054/Libtmp/Slatec/Makefile.PL 2021-07-29 00:34:57.754727357 +0200 -@@ -103,7 +103,7 @@ - (" - - slatec/$_\$(OBJ_EXT): slatec/$_.f -- $mycompiler -c $hack_64bit -o slatec/$_\$(OBJ_EXT) $mycflags slatec/$_.f -+ \$(FC) \$(FFLAGS) -c -fPIC -o slatec/$_\$(OBJ_EXT) $mycflags slatec/$_.f - " )} @slatecfiles; - - }; |