[sundials] 16/76: use of Hardening options (Closes #646457)

Andreas Tille tille at debian.org
Sun Feb 5 18:44:51 UTC 2017


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

tille pushed a commit to branch master
in repository sundials.

commit 0bb707d6a50659a7ede2c2c8780c7cefebcacd14
Author: Christophe Trophime <christophe.trophime at lncmi.cnrs.fr>
Date:   Wed Oct 26 09:19:41 2011 +0000

    use of Hardening options (Closes #646457)
---
 debian/changelog            |  6 ++++++
 debian/patches/gcc4.6.patch | 13 +++++++++++++
 debian/patches/series       |  1 +
 debian/rules                |  7 +++++++
 4 files changed, 27 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 1a570d5..ef686c8 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+sundials (2.4.0-4) unstable; urgency=low
+
+  * debian/patches: add gcc4.6.patch (Closes: #646457)
+
+ -- Christophe Trophime <christophe.trophime at lncmi.cnrs.fr>  Mon, 24 Oct 2011 15:01:41 +0200
+
 sundials (2.4.0-3) unstable; urgency=low
 
   * Change the uploader to Debian Science
diff --git a/debian/patches/gcc4.6.patch b/debian/patches/gcc4.6.patch
new file mode 100644
index 0000000..b668e48
--- /dev/null
+++ b/debian/patches/gcc4.6.patch
@@ -0,0 +1,13 @@
+Index: sundials-2.4.0/src/cvode/cvode.c
+===================================================================
+--- sundials-2.4.0.orig/src/cvode/cvode.c	2011-10-24 16:06:47.520615754 +0200
++++ sundials-2.4.0/src/cvode/cvode.c	2011-10-24 16:07:35.272617736 +0200
+@@ -4128,7 +4128,7 @@
+ 
+ #ifndef NO_FPRINTF_OUTPUT
+     fprintf(stderr, "\n[%s ERROR]  %s\n  ", module, fname);
+-    fprintf(stderr, msgfmt);
++    fprintf(stderr, "%s", msgfmt);
+     fprintf(stderr, "\n\n");
+ #endif
+ 
diff --git a/debian/patches/series b/debian/patches/series
index 2e7f07f..e2ae5e4 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 makefile.patch
 sh4.patch
+gcc4.6.patch
diff --git a/debian/rules b/debian/rules
index 0499803..34afd59 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,6 +5,13 @@ include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/class/autotools.mk
 include /usr/share/cdbs/1/rules/patchsys-quilt.mk
 
+#include /usr/share/hardening-includes/hardening.make
+#
+#CFLAGS=$(shell dpkg-buildflags --get CFLAGS)
+#LDFLAGS=$(shell dpkg-buildflags --get LDFLAGS)
+#CFLAGS+=$(HARDENING_CFLAGS)
+#LDFLAGS+=$(HARDENING_LDFLAGS)
+
 debusr := $(DEB_DESTDIR)usr
 debexp = debian/libsundials-serial-dev/usr/share/doc/libsundials-serial-dev/examples
 debexp = debian/libsundials-serial-dev/usr/lib

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/sundials.git



More information about the debian-science-commits mailing list