Files
perl-Math-GSL/0003-Fix-ccflags-handling.patch
Dirk Stoecker 7e6c1b790c Accepting request 638221 from home:pmonrealgonzalez:branches:devel:languages:perl
- update to 0.39
  v0.39 - September 2016
    - Fix Debian Bug reported by Niko Tyni
      https://bugs.debian.org/826009
    - Extensive fixes to allow GSL 1.15 and GSL 1.16
      to continue to work with GSL 2.x
    - GSL 1.11 - 1.14 are no longer supported
  v0.38 - September 2016
    - Fixes for compiling against various GSL
      versions (thanks CPANtesters!)
  v0.37 - September 2016
    - Support for GSL 2.0, 2.1 and 2.2
    - Multilarge subsystem added for GSL >= 2.1
  v0.36 - Fri Mar 25 23:32:03 PDT 2016
    - Fixed error messages on Matrix set_col and set_row
      methods (Jon Schutz)
    - Implemented array-based Bessel functions:
               gsl_sf_bessel_Jn_array
               gsl_sf_bessel_Yn_array
               gsl_sf_bessel_In_array
               gsl_sf_bessel_In_scaled_array
               gsl_sf_bessel_Kn_array
               gsl_sf_bessel_Kn_scaled_array
               gsl_sf_bessel_jl_array
               gsl_sf_bessel_jl_steed_array
               gsl_sf_bessel_yl_array
               gsl_sf_bessel_il_scaled_array
- Added patches from debian folks that fix the build from
  https://sources.debian.org/patches/libmath-gsl-perl/0.39-3/
  * 0001-Hardening-Build-Patch.patch

OBS-URL: https://build.opensuse.org/request/show/638221
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Math-GSL?expand=0&rev=3
2018-09-26 07:33:22 +00:00

30 lines
1015 B
Diff

From 78760efbddea3cf832d71dbf979e0f51cb96aa85 Mon Sep 17 00:00:00 2001
From: Niko Tyni <ntyni@debian.org>
Date: Fri, 7 Oct 2016 09:07:51 +0300
Subject: [PATCH] Fix ccflags handling
The fix for [rt.cpan.org #115023] (commit fd2e1d685aaa3698)
accidentally overwrote ccflags with the ldflags content.
It seems possible that the clang warnings were due to this and
commit 7d5872a806a8ebb48f is now unnecessary but I haven't
tested that.
Bug-Debian: https://bugs.debian.org/839775
Origin: backport, https://github.com/leto/math--gsl/pull/127
---
Build.PL | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- libmath-gsl-perl.orig/Build.PL
+++ libmath-gsl-perl/Build.PL
@@ -73,7 +73,7 @@
$ldflags .= ' -fPIC -fno-omit-frame-pointer ';
$ccflags .= ' -fPIC -fno-omit-frame-pointer ';
}
-$ccflags = $Config{cccdlflags} . ' ' . $ldflags;
+$ccflags = $Config{cccdlflags} . ' ' . $ccflags;
my @Subsystems = grep { ! /^Test$/ } GSLBuilder::subsystems();
push @Subsystems, "Multilarge" if $major >= 2;