[packages/perl-PDL] fix gsl detection on 64-bit archs
atler
atler at pld-linux.org
Mon Jul 28 20:26:20 CEST 2025
commit 801c3ed3b189657544766d97acb228c4109b4018
Author: Jan Palus <atler at pld-linux.org>
Date: Mon Jul 28 19:59:20 2025 +0200
fix gsl detection on 64-bit archs
types.patch | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
---
diff --git a/types.patch b/types.patch
index e7dd973..5534993 100644
--- a/types.patch
+++ b/types.patch
@@ -32,3 +32,23 @@
use PDL::Types;
+--- PDL-2.029/Libtmp/GSL/INTEG/Makefile.PL.orig 2021-03-07 06:32:08.000000000 +0100
++++ PDL-2.029/Libtmp/GSL/INTEG/Makefile.PL 2025-07-28 19:54:42.977189103 +0200
+@@ -16,6 +16,7 @@
+ trylink('gsl numerical integration libraries',
+ << 'EOI',
+ #include <math.h>
++#include <stddef.h>
+ #include <gsl/gsl_math.h>
+ #include <gsl/gsl_errno.h>
+ #include <gsl/gsl_integration.h>
+@@ -29,7 +30,8 @@
+ << 'EOB', $lib, $inc);
+ gsl_function F;
+ double result, abserr;
+- int ierr, neval;
++ int ierr;
++ size_t neval;
+
+ F.function = &f;
+ F.params = 0;
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/perl-PDL.git/commitdiff/801c3ed3b189657544766d97acb228c4109b4018
More information about the pld-cvs-commit
mailing list