[med-svn] [cain] 07/07: Adapt patches to tarball including src/solvers

Andreas Tille tille at debian.org
Thu Dec 17 21:35:55 UTC 2015


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

tille pushed a commit to branch master
in repository cain.

commit d1c215225cd0643a273e942c6de9bca65e75cf2b
Author: Andreas Tille <tille at debian.org>
Date:   Thu Dec 17 22:30:12 2015 +0100

    Adapt patches to tarball including src/solvers
---
 debian/patches/hardening.patch | 15 +++++++++++++++
 debian/patches/series          |  1 +
 2 files changed, 16 insertions(+)

diff --git a/debian/patches/hardening.patch b/debian/patches/hardening.patch
new file mode 100644
index 0000000..f9b2c93
--- /dev/null
+++ b/debian/patches/hardening.patch
@@ -0,0 +1,15 @@
+Description: Propagate hardening flags
+Author: Andreas Tille <tille at debian.org>
+Date: Tue, 22 May 2012 07:59:45 +0200
+
+--- a/src/solvers/Makefile
++++ b/src/solvers/Makefile
+@@ -55,7 +55,7 @@ again:
+ # Implicit rules.
+ 
+ .cc.d: 
+-	$(CXX) -MM $(CXXINCLUDE) $< > $@.$$$$; \
++	$(CXX) $(CPPFLAGS) -MM $(CXXFLAGS) $(LDFLAGS) $< > $@.$$$$; \
+   sed 's,\($*\)\.o[ :]*,\1.o $@ : ,g' < $@.$$$$ > $@; \
+   $(RM) $@.$$$$
+ 
diff --git a/debian/patches/series b/debian/patches/series
index 4225ef6..b61e962 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,4 +1,5 @@
 cain.patch
 eigen3.patch
 gcc-4.7.patch
+hardening.patch
 help.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/cain.git



More information about the debian-med-commit mailing list