summaryrefslogtreecommitdiff
path: root/math/p5-Math-GSL
diff options
context:
space:
mode:
Diffstat (limited to 'math/p5-Math-GSL')
-rw-r--r--math/p5-Math-GSL/Makefile1
-rw-r--r--math/p5-Math-GSL/files/patch-inc-GSLBuilder.pm6
-rw-r--r--math/p5-Math-GSL/files/patch-inc_Ver2Func.pm11
3 files changed, 15 insertions, 3 deletions
diff --git a/math/p5-Math-GSL/Makefile b/math/p5-Math-GSL/Makefile
index b8e22d33a3de..b4972fae9a3f 100644
--- a/math/p5-Math-GSL/Makefile
+++ b/math/p5-Math-GSL/Makefile
@@ -2,6 +2,7 @@
PORTNAME= Math-GSL
PORTVERSION= 0.42
+PORTREVISION= 1
CATEGORIES= math perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
diff --git a/math/p5-Math-GSL/files/patch-inc-GSLBuilder.pm b/math/p5-Math-GSL/files/patch-inc-GSLBuilder.pm
index 39fa1a44e90b..a267d5119ecb 100644
--- a/math/p5-Math-GSL/files/patch-inc-GSLBuilder.pm
+++ b/math/p5-Math-GSL/files/patch-inc-GSLBuilder.pm
@@ -1,6 +1,6 @@
---- inc/GSLBuilder.pm.orig 2018-12-10 17:11:25 UTC
+--- inc/GSLBuilder.pm.orig 2020-06-12 22:07:37 UTC
+++ inc/GSLBuilder.pm
-@@ -262,7 +262,7 @@ sub link_c {
+@@ -279,7 +279,7 @@ sub link_c {
}
}
@@ -9,7 +9,7 @@
my @shrp = $self->split_like_shell($cf->{shrpenv});
my @ld = $self->split_like_shell($cf->{ld} || $Config{cc});
-@@ -294,7 +294,7 @@ sub compile_c {
+@@ -311,7 +311,7 @@ sub compile_c {
$cf->{installarchlib} = $Config{archlib};
diff --git a/math/p5-Math-GSL/files/patch-inc_Ver2Func.pm b/math/p5-Math-GSL/files/patch-inc_Ver2Func.pm
new file mode 100644
index 000000000000..8ac5d9054710
--- /dev/null
+++ b/math/p5-Math-GSL/files/patch-inc_Ver2Func.pm
@@ -0,0 +1,11 @@
+--- inc/Ver2Func.pm.orig 2021-06-16 17:58:11 UTC
++++ inc/Ver2Func.pm
+@@ -397,6 +397,8 @@ my @ver2func = (
+ ^gsl_matrix_uint_scale_columns$
+ /
+ ]
++ },
++ "2.7" => {
+ }
+ );
+