[calculix-cgx] 08/11: Build package using old C++ standard (c++98)
Wolfgang Fütterer
debian at wlf-online.de
Tue Aug 9 13:20:10 UTC 2016
This is an automated email from the git hooks/post-receive script.
wlfuetter-guest pushed a commit to branch master
in repository calculix-cgx.
commit ff659a9f5b3c49cf6c3620dc801398f88ef786e7
Author: Wolfgang Fütterer <debian at wlf-online.de>
Date: Tue Aug 9 14:19:31 2016 +0200
Build package using old C++ standard (c++98)
---
...tly-build-package-using-the-old-c-standard.patch | 21 +++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 22 insertions(+)
diff --git a/debian/patches/0007-Explicitly-build-package-using-the-old-c-standard.patch b/debian/patches/0007-Explicitly-build-package-using-the-old-c-standard.patch
new file mode 100644
index 0000000..45cc2b6
--- /dev/null
+++ b/debian/patches/0007-Explicitly-build-package-using-the-old-c-standard.patch
@@ -0,0 +1,21 @@
+From: =?utf-8?q?Wolfgang_F=C3=BCtterer?= <debian at wlf-online.de>
+Date: Tue, 9 Aug 2016 14:08:09 +0200
+Subject: Explicitly build package using the old c++ standard
+
+---
+ cgx_2.11/src/Makefile | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/cgx_2.11/src/Makefile b/cgx_2.11/src/Makefile
+index 1b785e6..47f98fa 100644
+--- a/cgx_2.11/src/Makefile
++++ b/cgx_2.11/src/Makefile
+@@ -22,7 +22,7 @@ OULIB = $(ULIB:.c=.o)
+ OUTIL = $(SUTIL:.c=.o)
+
+ cgx: $(OLIB) $(OUTIL) $(OULIB)
+- g++ $(OULIB) $(OLIB) $(OUTIL) $(CFLAGS) $(LFLAGS) -o $@
++ g++ -std=gnu++98 $(OULIB) $(OLIB) $(OUTIL) $(CFLAGS) $(LFLAGS) -o $@
+
+
+
diff --git a/debian/patches/series b/debian/patches/series
index 7c2c244..c14be14 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -4,3 +4,4 @@
0004-No-format-arg-in-sprintf.patch
0005-Removed-spelling-errors-in-binary.patch
0006-Fixes-an-issue-with-min-and-max-Functions-and-gcc6.patch
+0007-Explicitly-build-package-using-the-old-c-standard.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/calculix-cgx.git
More information about the debian-science-commits
mailing list