File PDL-2.4.7.diff of Package perl-PDL

Index: Basic/Core/pdlthread.h
===================================================================
--- Basic/Core/pdlthread.h.orig
+++ Basic/Core/pdlthread.h
@@ -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
+++ Lib/Slatec/Makefile.PL
@@ -135,6 +135,7 @@ WriteMakefile(
 sub MY::postamble {
         $mycompiler     = $f77->compiler();
         $mycflags       = $f77->cflags();
+        $mycflags       .= " -fPIC";
 	my $orig = pdlpp_postamble_int(@::pack);
 	$hack_64bit = ($Config{archname}=~m/x86_64/ ?" -fPIC " : "");
 	$orig =~ s/:\s*slatec\.pd/: slatec.pd/;
Index: perldl.conf
===================================================================
--- perldl.conf.orig
+++ perldl.conf
@@ -123,9 +123,9 @@
 #       OPENGL_DEFINE => '',                                             #
 #                                                                        #
 # Let perl try to figure it out                                          #
-#       OPENGL_LIBS => undef,                                            #
-#       OPENGL_INC => undef,                                             #
-#       OPENGL_DEFINE => undef,                                          #
+       OPENGL_LIBS => '-L/usr/lib64 -lGL -lGLU -lXext -lX11',
+       OPENGL_INC => undef,
+       OPENGL_DEFINE => undef,
 #                                                                        #
 #  --- NOT USED --- NOT USED --- NOT USED --- NOT USED --- NOT USED ---  #
 #------------------------------------------------------------------------#
@@ -239,7 +239,7 @@
 # Do we build PDL::IO::Browser?
 # default -> do not build (module needs to be updated)
 #
-        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
openSUSE Build Service is sponsored by