Author: tille
Date: 2013-11-05 19:56:08 +0000 (Tue, 05 Nov 2013)
New Revision: 15115
Added:
trunk/packages/sibsim4/trunk/debian/patches/
trunk/packages/sibsim4/trunk/debian/patches/hardening.patch
trunk/packages/sibsim4/trunk/debian/patches/series
Modified:
trunk/packages/sibsim4/trunk/debian/changelog
Log:
Propagate hardening options
Modified: trunk/packages/sibsim4/trunk/debian/changelog
===================================================================
--- trunk/packages/sibsim4/trunk/debian/changelog 2013-11-05 19:50:22 UTC
(rev 15114)
+++ trunk/packages/sibsim4/trunk/debian/changelog 2013-11-05 19:56:08 UTC
(rev 15115)
@@ -8,6 +8,7 @@
* debian/README.Debian: Took over some information from debian/copyright
which actually belongs here
* debian/copyright: DEP5
+ * debian/patches/hardening.patch: Propagate hardening options
-- Andreas Tille <[email protected]> Tue, 05 Nov 2013 18:43:45 +0100
Added: trunk/packages/sibsim4/trunk/debian/patches/hardening.patch
===================================================================
--- trunk/packages/sibsim4/trunk/debian/patches/hardening.patch
(rev 0)
+++ trunk/packages/sibsim4/trunk/debian/patches/hardening.patch 2013-11-05
19:56:08 UTC (rev 15115)
@@ -0,0 +1,24 @@
+Author: Andreas Tille <[email protected]>
+LastChanged: Tue, 05 Nov 2013 18:43:45 +0100
+Description: Propagate hardening options
+
+--- sibsim4-0.20.orig/Makefile
++++ sibsim4-0.20/Makefile
+@@ -21,7 +21,7 @@
+ # to change it to this:
+ # CFLAGS = -Xc
+
+-CFLAGS = -std=gnu99 -W -Wall -Wconversion -pedantic $(DEBUG) $(OPT)
++CFLAGS += -std=gnu99 -W -Wall -Wconversion -pedantic $(DEBUG) $(OPT)
+
+
+ # The default is GCC. On Solaris, you might put:
+@@ -42,7 +42,7 @@
+ OBJS = sim4b1.o align.o misc.o sim4.init.o
+
+ sim4: $(OBJS)
+- $(CC) -o SIBsim4 $(CFLAGS) $(OBJS) $(LIBS)
++ $(CC) -o SIBsim4 $(CFLAGS) $(OBJS) $(LIBS) $(LDFLAGS)
+
+ clean:
+ rm -f SIBsim4 *.o
Added: trunk/packages/sibsim4/trunk/debian/patches/series
===================================================================
--- trunk/packages/sibsim4/trunk/debian/patches/series
(rev 0)
+++ trunk/packages/sibsim4/trunk/debian/patches/series 2013-11-05 19:56:08 UTC
(rev 15115)
@@ -0,0 +1 @@
+hardening.patch
_______________________________________________
debian-med-commit mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit