[med-svn] [fastml] 01/03: Add patch to remove all -ftemplate-depth flags, Closes: #811944

Gert Wollny gert-guest at moszumanska.debian.org
Tue May 10 09:02:01 UTC 2016


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

gert-guest pushed a commit to branch master
in repository fastml.

commit 87ddd0e3ddd6a7e610ac84e8af9dcabd5e6896f1
Author: Gert Wollny <gw.fossdev at gmail.com>
Date:   Tue May 10 08:36:20 2016 +0000

    Add patch to remove all -ftemplate-depth flags, Closes: #811944
---
 debian/patches/remove-template-depth.patch | 63 ++++++++++++++++++++++++++++++
 debian/patches/series                      |  1 +
 2 files changed, 64 insertions(+)

diff --git a/debian/patches/remove-template-depth.patch b/debian/patches/remove-template-depth.patch
new file mode 100644
index 0000000..cadbbb0
--- /dev/null
+++ b/debian/patches/remove-template-depth.patch
@@ -0,0 +1,63 @@
+Author: Gert Wollny <gw.fossdev at debian.org>
+Last-Update: Tue, 10 May 2016
+Bug: https://bugs.debian.org/811944
+Forwarded-Upstream: no
+Description: Remove all instances of -ftemplate-depth
+ With C++-11 the template depth is 1024, and g++ defaults to 900, 
+ hence there is no need to set a lower value that makes the
+ compilation fail. 
+
+--- a/libs/phylogeny/Makefile
++++ b/libs/phylogeny/Makefile
+@@ -88,8 +88,8 @@
+ 
+ #LDFLAGS=  
+ 
+-CPPFLAGS=  -O3 -Wall -Wno-sign-compare -I. -DLOG -ftemplate-depth-32
+-CPPFLAGSDEBUG= -g -Wall -Wno-sign-compare -I. -DLOG -ftemplate-depth-32 -DVERBOS
++CPPFLAGS=  -O3 -Wall -Wno-sign-compare -I. -DLOG
++CPPFLAGSDEBUG= -g -Wall -Wno-sign-compare -I. -DLOG -DVERBOS
+ #CPPFLAGSDOU=  $(CPPFLAGS) 
+ #-pg
+ 
+@@ -120,7 +120,7 @@
+ LDFLAGSDEBUG +=  -DDOUBLEREP
+ endif
+ 
+-debug: CPPFLAGS = -g -Wall -Wno-sign-compare -I. -DLOG -ftemplate-depth-32
++debug: CPPFLAGS = -g -Wall -Wno-sign-compare -I. -DLOG
+ debug:  $(DEBUGLIB)
+ pl:
+ 	@echo "lib  ="$(LIB)
+--- a/libs/phylogeny/tests/Makefile
++++ b/libs/phylogeny/tests/Makefile
+@@ -1,5 +1,5 @@
+-CPPFLAGS=      -g -Wall -Wno-sign-compare -I.. -DLOG -ftemplate-depth-25 -O0
+-CPPFLAGSDEBUG= -g -Wall -Wno-sign-compare -I.. -DLOG -ftemplate-depth-32
++CPPFLAGS=      -g -Wall -Wno-sign-compare -I.. -DLOG -O0
++CPPFLAGSDEBUG= -g -Wall -Wno-sign-compare -I.. -DLOG
+ 
+ # -O3
+ LDFLAGS= -L.. 
+--- a/programs/Makefile.generic
++++ b/programs/Makefile.generic
+@@ -53,8 +53,8 @@
+ 
+ .SECONDARY: $(addsuffix _cmdline.c,$(EXEC)) $(addsuffix _cmdline.h,$(EXEC)) $(addsuffix .ggo,$(EXEC))
+ 
+-CPPFLAGS=     -O3 -Wall -Wno-sign-compare -I. -I$(libDir) -DLOG -ftemplate-depth-32
+-CPPFLAGSDEBUG= -g -Wall -Wno-sign-compare -I. -I$(libDir) -DLOG -ftemplate-depth-32
++CPPFLAGS=     -O3 -Wall -Wno-sign-compare -I. -I$(libDir) -DLOG 
++CPPFLAGSDEBUG= -g -Wall -Wno-sign-compare -I. -I$(libDir) -DLOG
+ 
+ LDFLAGSDEBUG := $(LDFLAGS) -g 
+ # sources
+@@ -197,7 +197,7 @@
+ 	echo $(LIB)
+ 
+ 
+-%.debug: CPPFLAGS = -g -Wall -Wno-sign-compare -I. -I../.. -DLOG -ftemplate-depth-25
++%.debug: CPPFLAGS = -g -Wall -Wno-sign-compare -I. -I../.. -DLOG 
+ 
+ %.debug: %.o 
+ 
diff --git a/debian/patches/series b/debian/patches/series
index 99e826b..87327f2 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -4,3 +4,4 @@ fix_intall_target.patch
 spelling.patch
 change_to_tests_dir_only_if_existing.patch
 skip_failing_tests.patch
+remove-template-depth.patch

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



More information about the debian-med-commit mailing list