Files
perl-Math-GSL/0001-Hardening-Build-Patch.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

23 lines
710 B
Diff

Description: Add hardening flags
Forwarded: not-needed
Author: Wolfgang Fütterer <debian@wlf-online.de>
Reviewed-by: gregor herrmann <gregoa@debian.org>
Last-Update: 2016-10-03
---
Build.PL | 3 +++
1 file changed, 3 insertions(+)
--- a/Build.PL
+++ b/Build.PL
@@ -45,6 +45,9 @@ $swig_flags = ' -I/usr/include' if $ccfl
$ccflags .= " $Config{ccflags}"; # we need this for some Linuxes
+$ccflags .= " $ENV{CFLAGS} $ENV{CPPFLAGS}"; #Needed for hardening on debian
+$ldflags .= " $ENV{CFLAGS} $ENV{LDFLAGS}"; #Needed for hardening on debian
+
## Swig produces a number of GCC warnings. Turn them off if we can.
$ccflags .= try_cflags("-Wall");
$ccflags .= try_cflags("-Wno-sometimes-uninitialized");