[med-svn] r15773 - in trunk/packages/libtfbs-perl/trunk/debian: . patches

Andreas Tille tille at moszumanska.debian.org
Tue Jan 14 14:13:31 UTC 2014


Author: tille
Date: 2014-01-14 14:13:31 +0000 (Tue, 14 Jan 2014)
New Revision: 15773

Added:
   trunk/packages/libtfbs-perl/trunk/debian/patches/
   trunk/packages/libtfbs-perl/trunk/debian/patches/fix-clean-target.patch
   trunk/packages/libtfbs-perl/trunk/debian/patches/hardening.patch
   trunk/packages/libtfbs-perl/trunk/debian/patches/series
Log:
Commit patches dir


Added: trunk/packages/libtfbs-perl/trunk/debian/patches/fix-clean-target.patch
===================================================================
--- trunk/packages/libtfbs-perl/trunk/debian/patches/fix-clean-target.patch	                        (rev 0)
+++ trunk/packages/libtfbs-perl/trunk/debian/patches/fix-clean-target.patch	2014-01-14 14:13:31 UTC (rev 15773)
@@ -0,0 +1,43 @@
+Author: Andreas Tille <tille at debian.org>
+Last-Update: Tue, 14 Jan 2014 14:53:42 +0100
+Description: Stop making clean target doing
+    dirty tricks trying to read some configuration file on the local 
+    developer machine and deliting files included in upstream source
+
+--- a/Makefile
++++ b/Makefile
+@@ -693,11 +693,11 @@ clean :: clean_subdirs
+ 	  *$(LIB_EXT) core \
+ 	  core.[0-9] $(INST_ARCHAUTODIR)/extralibs.all \
+ 	  core.[0-9][0-9] $(BASEEXT).bso \
+-	  pm_to_blib.ts MYMETA.json \
+-	  core.[0-9][0-9][0-9][0-9] MYMETA.yml \
++	  pm_to_blib.ts \
++	  core.[0-9][0-9][0-9][0-9] \
+ 	  $(BASEEXT).x $(BOOTSTRAP) \
+ 	  perl$(EXE_EXT) tmon.out \
+-	  *$(OBJ_EXT) pm_to_blib \
++	  *$(OBJ_EXT) \
+ 	  $(INST_ARCHAUTODIR)/extralibs.ld blibdirs.ts \
+ 	  core.[0-9][0-9][0-9][0-9][0-9] *perl.core \
+ 	  core.*perl.*.? $(MAKE_APERL_FILE) \
+@@ -708,8 +708,8 @@ clean :: clean_subdirs
+ 	  $(BASEEXT).exp 
+ 	- $(RM_RF) \
+ 	  blib 
+-	  $(NOECHO) $(RM_F) $(MAKEFILE_OLD)
+-	- $(MV) $(FIRST_MAKEFILE) $(MAKEFILE_OLD) $(DEV_NULL)
++	#  $(NOECHO) $(RM_F) $(MAKEFILE_OLD)
++	#- $(MV) $(FIRST_MAKEFILE) $(MAKEFILE_OLD) $(DEV_NULL)
+ 
+ 
+ # --- MakeMaker realclean_subdirs section:
+@@ -1029,7 +1029,7 @@ FORCE :
+ # --- MakeMaker makefile section:
+ # We take a very conservative approach here, but it's worth it.
+ # We move Makefile to Makefile.old here to avoid gnu make looping.
+-$(FIRST_MAKEFILE) : Makefile.PL $(CONFIGDEP)
++$(FIRST_MAKEFILE) : Makefile.PL
+ 	$(NOECHO) $(ECHO) "Makefile out-of-date with respect to $?"
+ 	$(NOECHO) $(ECHO) "Cleaning current config before rebuilding Makefile..."
+ 	-$(NOECHO) $(RM_F) $(MAKEFILE_OLD)

Added: trunk/packages/libtfbs-perl/trunk/debian/patches/hardening.patch
===================================================================
--- trunk/packages/libtfbs-perl/trunk/debian/patches/hardening.patch	                        (rev 0)
+++ trunk/packages/libtfbs-perl/trunk/debian/patches/hardening.patch	2014-01-14 14:13:31 UTC (rev 15773)
@@ -0,0 +1,15 @@
+Author: Andreas Tille <tille at debian.org>
+LastChanged: Sat, 16 Nov 2013 22:02:13 +0100
+Description: Enable building with -Wformat-security
+
+--- a/Ext/lib/pwm_searchPFF.c
++++ b/Ext/lib/pwm_searchPFF.c
+@@ -121,7 +121,7 @@ char *msg;
+ {
+    int retval = 0;
+ 
+-   fprintf(stderr,msg);
++   fprintf(stderr,"%s",msg);
+ 
+    return(retval);
+ }

Added: trunk/packages/libtfbs-perl/trunk/debian/patches/series
===================================================================
--- trunk/packages/libtfbs-perl/trunk/debian/patches/series	                        (rev 0)
+++ trunk/packages/libtfbs-perl/trunk/debian/patches/series	2014-01-14 14:13:31 UTC (rev 15773)
@@ -0,0 +1,2 @@
+hardening.patch
+fix-clean-target.patch




More information about the debian-med-commit mailing list