[Neurodebian-devel] [psignifit] 04/05: Propagate hardening options
Andreas Tille
tille at debian.org
Tue Jan 30 21:52:25 UTC 2018
This is an automated email from the git hooks/post-receive script.
tille pushed a commit to branch master
in repository psignifit.
commit 33b70214f3d5f1e65ed86223a4f54e5d07c77b55
Author: Andreas Tille <tille at debian.org>
Date: Tue Jan 30 22:48:11 2018 +0100
Propagate hardening options
---
debian/changelog | 2 +-
debian/patches/hardening.patch | 18 ++++++++++++++++++
debian/patches/series | 1 +
3 files changed, 20 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index d1856b7..d1992d6 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,7 +7,7 @@ psignifit (2.5.6-4) UNRELEASED; urgency=medium
* Maintainer is NeuroDebian Team
* Fix homepage
* Try to fix d/watch but failed and drop some additional info in this file
- * hardening=+all
+ * hardening
-- Andreas Tille <tille at debian.org> Tue, 30 Jan 2018 22:06:48 +0100
diff --git a/debian/patches/hardening.patch b/debian/patches/hardening.patch
new file mode 100644
index 0000000..cf9d5cc
--- /dev/null
+++ b/debian/patches/hardening.patch
@@ -0,0 +1,18 @@
+Author: Andreas Tille <tille at debian.org>
+Last-Update: Tue, 30 Jan 2018 22:06:48 +0100
+Description: Propagate hardening options
+
+--- a/psig-src/Makefile
++++ b/psig-src/Makefile
+@@ -13,9 +13,9 @@ CYGFLAG =
+ DBFLAG = -g
+
+ CC = gcc
+-CFLAGS = $(CYGFLAG) $(DBFLAG)
++CFLAGS += $(CYGFLAG) $(DBFLAG)
+ CXX = g++
+-CXXFLAGS = $(CYGFLAG) $(DBFLAG)
++CXXFLAGS += $(CYGFLAG) $(DBFLAG)
+ LD = gcc $(CYGFLAG) $(DBFLAG)
+ # add '-lm' flag for Debian GNU/Linux
+ LIBS = -lm
diff --git a/debian/patches/series b/debian/patches/series
index 6e820be..3fac987 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
Makefile.diff
runexampledata.diff
+hardening.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-exppsy/psignifit.git
More information about the Neurodebian-devel
mailing list