forked from perl/perl-PDL
39 lines
1.6 KiB
Diff
39 lines
1.6 KiB
Diff
Index: Basic/Core/pdlthread.h
|
|
===================================================================
|
|
--- Basic/Core/pdlthread.h.orig 2016-08-24 09:48:02.771456309 +0200
|
|
+++ Basic/Core/pdlthread.h 2016-08-24 09:48:19.511701280 +0200
|
|
@@ -32,7 +32,7 @@ typedef struct pdl_errorinfo {
|
|
typedef struct pdl_thread {
|
|
pdl_errorinfo *einfo;
|
|
#ifdef PDL_THREAD_DEBUG
|
|
- int magicno;
|
|
+ unsigned int magicno;
|
|
#endif
|
|
int gflags; /* Flags about this struct */
|
|
int ndims; /* Number of dimensions threaded over */
|
|
Index: Lib/Slatec/Makefile.PL
|
|
===================================================================
|
|
--- Lib/Slatec/Makefile.PL.orig 2016-08-24 09:48:19.511701280 +0200
|
|
+++ Lib/Slatec/Makefile.PL 2016-08-24 09:48:56.152237580 +0200
|
|
@@ -124,6 +124,7 @@ undef &MY::postamble; # suppress warning
|
|
*MY::postamble = sub {
|
|
my $mycompiler = $f77->compiler();
|
|
my $mycflags = $f77->cflags();
|
|
+ $mycflags .= " -fPIC";
|
|
my $orig = pdlpp_postamble_int(@pack);
|
|
my $hack_64bit = ($Config{archname}=~m/x86_64/ ?" -fPIC " : "");
|
|
$orig =~ s/:\s*slatec\.pd/: slatec.pd/;
|
|
Index: perldl.conf
|
|
===================================================================
|
|
--- perldl.conf.orig 2016-08-24 09:48:02.771456309 +0200
|
|
+++ perldl.conf 2016-08-24 09:48:19.511701280 +0200
|
|
@@ -189,7 +189,7 @@
|
|
# Do we build PDL::IO::Browser?
|
|
# default -> do not build
|
|
#
|
|
- WITH_IO_BROWSER => 0,
|
|
+ WITH_IO_BROWSER => 1,
|
|
|
|
# Quiet Astro::FITS::Header warnings for PDL build process by default
|
|
# Eventually would be better to set undef by default, and have the
|