[med-svn] r20862 - trunk/packages/t-coffee/trunk/debian/patches

Andreas Tille tille at moszumanska.debian.org
Tue Dec 22 15:03:22 UTC 2015


Author: tille
Date: 2015-12-22 15:03:22 +0000 (Tue, 22 Dec 2015)
New Revision: 20862

Added:
   trunk/packages/t-coffee/trunk/debian/patches/hardening.patch
Log:
hardening


Added: trunk/packages/t-coffee/trunk/debian/patches/hardening.patch
===================================================================
--- trunk/packages/t-coffee/trunk/debian/patches/hardening.patch	                        (rev 0)
+++ trunk/packages/t-coffee/trunk/debian/patches/hardening.patch	2015-12-22 15:03:22 UTC (rev 20862)
@@ -0,0 +1,20 @@
+Author: Andreas Tille <tille at debian.org>
+Last-Update: Mon, 21 Dec 2015 21:30:36 +0100
+Description: propagate hardening options
+
+--- a/t_coffee_source/makefile
++++ b/t_coffee_source/makefile
+@@ -1,11 +1,11 @@
+ CC=g++
+-CFLAGS=-O3 -Wno-write-strings
++CFLAGS+=-O3 -Wno-write-strings
+ SOURCES := $(shell find . -type f -name *.c)
+ OBJECTS := $(SOURCES:.c=.o)
+ DEPS := $(OBJECTS:.o=.deps)
+  
+ t_coffee: $(OBJECTS)
+-	@echo " Linking..."; $(CC) $^ -o t_coffee -lm
++	@echo " Linking..."; $(CC) $^ -o t_coffee -lm $(LDFLAGS)
+  
+ %.o: %.c
+ 	@echo " CC $<"; $(CC) $(CFLAGS) -I. -MD -MF $(@:.o=.deps) -c -o $@ $<




More information about the debian-med-commit mailing list