[med-svn] [Git][med-team/tigr-glimmer][master] 4 commits: added patch to reinforce Makefiles error checking

Étienne Mollier gitlab at salsa.debian.org
Mon May 11 20:24:57 BST 2020



Étienne Mollier pushed to branch master at Debian Med / tigr-glimmer


Commits:
538ef86d by Etienne Mollier at 2020-05-11T20:48:35+02:00
added patch to reinforce Makefiles error checking

This is to address issues found by Helmut Grohne in #960294.

- - - - -
c5d5286b by Etienne Mollier at 2020-05-11T20:53:44+02:00
added patch header

- - - - -
e0566929 by Etienne Mollier at 2020-05-11T20:55:06+02:00
added date -R to the changelog

- - - - -
b6247894 by Etienne Mollier at 2020-05-11T20:57:51+02:00
routine-update: Ready to upload to unstable

- - - - -


3 changed files:

- debian/changelog
- + debian/patches/make-errs.patch
- debian/patches/series


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+tigr-glimmer (3.02b-4) unstable; urgency=medium
+
+  * Team upload.
+  * Reinforce Makefiles error checking.  Closes: #960294
+
+ -- Etienne Mollier <etienne.mollier at mailoo.org>  Mon, 11 May 2020 20:55:39 +0200
+
 tigr-glimmer (3.02b-3) unstable; urgency=medium
 
   [ Steffen Möller ]


=====================================
debian/patches/make-errs.patch
=====================================
@@ -0,0 +1,57 @@
+Description: reinforce Makefile error checking
+Author: Étienne Mollier <etienne.mollier at mailoo.org>
+Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=960294
+Forwarded: no
+Last-Update: 2020-05-11
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- tigr-glimmer.orig/src/c_make.gen
++++ tigr-glimmer/src/c_make.gen
+@@ -314,7 +314,8 @@
+ #### *.c
+ $(C_OBJECTS): %.o: %.c
+ 	@ echo "@@@@@@@@@@@@@@@@@@@ " $< "@@@@@@@@@@@@@@@@@@@@@";
+-	@ if [ -e $(notdir $<) ] ; then \
++	@ set -e ; \
++	if [ -e $(notdir $<) ] ; then \
+ 	  $(CC) $(CPPFLAGS) $(CDEFS) $(CFLAGS) -c \
+ 		$(INC_DIRS) -o $(LOCAL_OBJ)/$*.o $< ; \
+ 	else \
+@@ -325,7 +326,8 @@
+ #### *.cc
+ $(CXX_OBJECTS_CC): %.o: %.cc
+ 	@ echo "@@@@@@@@@@@@@@@@@@@ " $< "@@@@@@@@@@@@@@@@@@@@@";
+-	@ if [ -e $(notdir $<) ] ; then \
++	@ set -e ; \
++	if [ -e $(notdir $<) ] ; then \
+ 	  $(CXX) $(CPPFLAGS) $(CXXDEFS) $(CXXFLAGS) -c \
+ 		$(INC_DIRS) -o $(LOCAL_OBJ)/$*.o $< ; \
+ 	else \
+@@ -336,7 +338,8 @@
+ #### *.C
+ $(CXX_OBJECTS_C): %.o: %.C
+ 	@ echo "@@@@@@@@@@@@@@@@@@@ " $< "@@@@@@@@@@@@@@@@@@@@@";
+-	@ if [ -e $(notdir $<) ] ; then \
++	@ set -e ; \
++	if [ -e $(notdir $<) ] ; then \
+ 	  $(CXX) $(CPPFLAGS) $(CXXDEFS) $(CXXFLAGS) -c \
+ 		$(INC_DIRS) -o $(LOCAL_OBJ)/$*.o $< ; \
+ 	else \
+@@ -355,7 +358,8 @@
+ 
+ $(PROGS):
+ 	@ echo "++++++++++++++++++++ " $@ "++++++++++++++++++++++";
+-	@ if [ -z "$(filter $(CXX_OBJECTS), $(notdir $+))" ] ; then \
++	@ set -e ; \
++	if [ -z "$(filter $(CXX_OBJECTS), $(notdir $+))" ] ; then \
+ 	  cd $(LOCAL_OBJ); \
+ 	    if $(CC) -o $(LOCAL_BIN)/$(notdir $@) $(LDFLAGS) \
+                $(LD_DIRS) $(filter-out lib%.a, $+) \
+@@ -415,6 +419,7 @@
+ # The following recurses the subdirectories that exist
+ define dosubdirs
+ echo "* Make Target is " $(TGT);
++set -e ; \
+ for i in $(SUBDIRS);\
+   do \
+     if [ -d $$i ]; then \


=====================================
debian/patches/series
=====================================
@@ -1,3 +1,4 @@
 10_gcc4.3.patch
 
 mayhem.patch
+make-errs.patch



View it on GitLab: https://salsa.debian.org/med-team/tigr-glimmer/-/compare/7cbfcda38eb8df4f369b39cea2eafd5fd8bbc149...b6247894969518a53588c78ec6bfed21630fc392

-- 
View it on GitLab: https://salsa.debian.org/med-team/tigr-glimmer/-/compare/7cbfcda38eb8df4f369b39cea2eafd5fd8bbc149...b6247894969518a53588c78ec6bfed21630fc392
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20200511/6bd60863/attachment-0001.html>


More information about the debian-med-commit mailing list