File: 0002-Disable-deprecated-function-usage-in-SF.i.patch

package info (click to toggle)
libmath-gsl-perl 0.49-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 192,040 kB
  • sloc: ansic: 895,452; perl: 24,787; makefile: 12
file content (22 lines) | stat: -rw-r--r-- 611 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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(+)

--- 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;