[med-svn] [proteinortho] 01/02: propagate hardening options

Andreas Tille tille at debian.org
Fri Nov 13 08:26:02 UTC 2015


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

tille pushed a commit to branch master
in repository proteinortho.

commit f105966cae26b6794f5add181c2ab975802cb48f
Author: Andreas Tille <tille at debian.org>
Date:   Fri Nov 13 09:21:59 2015 +0100

    propagate hardening options
---
 debian/patches/hardening.patch | 25 +++++++++++++++++++++++++
 debian/patches/series          |  1 +
 2 files changed, 26 insertions(+)

diff --git a/debian/patches/hardening.patch b/debian/patches/hardening.patch
new file mode 100644
index 0000000..9fd7d39
--- /dev/null
+++ b/debian/patches/hardening.patch
@@ -0,0 +1,25 @@
+Author: Andreas Tille <tille at debian.org>
+Last-Update: Thu, 12 Nov 2015 11:36:14 +0100
+Description: Propagate hardening options
+
+--- a/Makefile
++++ b/Makefile
+@@ -2,15 +2,15 @@
+ INSTALLDIR=/usr/local/bin
+ 
+ CPP      = g++
+-CPPFLAGS   = -Wall -O3
++CPPFLAGS += -Wall -O3
+ 
+ all: proteinortho5_clustering proteinortho5_clean_edges
+ 
+ proteinortho5_clustering: proteinortho5_clustering.cpp
+-	$(CPP) $(CPPFLAGS) -o $@ $<
++	$(CPP) $(CPPFLAGS) $(LDFLAGS) -o $@ $<
+ 
+ proteinortho5_clean_edges: proteinortho5_clean_edges.cpp
+-	$(CPP) $(CPPFLAGS) -o $@ $<
++	$(CPP) $(CPPFLAGS) $(LDFLAGS) -o $@ $<
+ 
+ install: proteinortho5.pl proteinortho5_clustering proteinortho5_clean_edges2.pl proteinortho5_singletons.pl ffadj_mcs.py
+ 	install -v $^ $(INSTALLDIR)
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..814900f
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+hardening.patch

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



More information about the debian-med-commit mailing list