[libmath-gsl-perl] 02/03: Add patch to fix ccflags handling

Niko Tyni ntyni at moszumanska.debian.org
Fri Oct 7 06:46:09 UTC 2016


This is an automated email from the git hooks/post-receive script.

ntyni pushed a commit to branch master
in repository libmath-gsl-perl.

commit 9124239c5b9ddfa2af75756634cf34f5fad8c5e8
Author: Niko Tyni <ntyni at debian.org>
Date:   Fri Oct 7 09:31:18 2016 +0300

    Add patch to fix ccflags handling
    
    Closes: #839775
---
 debian/patches/0003-Fix-ccflags-handling.patch | 29 ++++++++++++++++++++++++++
 debian/patches/series                          |  1 +
 2 files changed, 30 insertions(+)

diff --git a/debian/patches/0003-Fix-ccflags-handling.patch b/debian/patches/0003-Fix-ccflags-handling.patch
new file mode 100644
index 0000000..ec5e611
--- /dev/null
+++ b/debian/patches/0003-Fix-ccflags-handling.patch
@@ -0,0 +1,29 @@
+From 78760efbddea3cf832d71dbf979e0f51cb96aa85 Mon Sep 17 00:00:00 2001
+From: Niko Tyni <ntyni at 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;
diff --git a/debian/patches/series b/debian/patches/series
index 168722e..e060733 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 0001-Hardening-Build-Patch.patch
 0002-Fixed-spelling-errors-in-man.patch
+0003-Fix-ccflags-handling.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libmath-gsl-perl.git



More information about the Pkg-perl-cvs-commits mailing list