Files
perl-Math-GSL/0002-Disable-deprecated-function-usage-in-SF.i.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

28 lines
688 B
Diff

From fc9ab21c646f60878ab0bfb8eb568e049cb91655 Mon Sep 17 00:00:00 2001
From: Niko Tyni <ntyni@debian.org>
Date: Sun, 24 Jun 2018 15:32:08 +0300
Subject: [PATCH 2/2] Disable deprecated function usage in SF.i
A few sf_coupling related functions are being removed in gsl 2.5 or so,
see https://bugs.debian.org/902281
---
swig/SF.i | 2 ++
1 file changed, 2 insertions(+)
diff --git a/swig/SF.i b/swig/SF.i
index 07bfa3c..068c73d 100644
--- a/swig/SF.i
+++ b/swig/SF.i
@@ -4,6 +4,8 @@
%include "renames.i"
%include "system.i"
+#define GSL_DISABLE_DEPRECATED 1
+
%apply double *OUTPUT { double * sn, double * cn, double * dn, double * sgn };
%ignore gsl_sf_ellint_D_e;
--
2.17.1