[med-svn] [Git][med-team/ska][master] 3 commits: Build using C++20, since googletest no longer supports standards prior to C++17.
Steven Robbins (@smr)
gitlab at salsa.debian.org
Mon Aug 18 02:24:27 BST 2025
Steven Robbins pushed to branch master at Debian Med / ska
Commits:
3870c79b by Steve M. Robbins at 2025-08-17T19:04:18-05:00
Build using C++20, since googletest no longer supports standards prior to C++17.
- - - - -
3deb9b00 by Steve M. Robbins at 2025-08-17T20:17:59-05:00
Fix license short name.
- - - - -
9e09fa72 by Steve M. Robbins at 2025-08-17T20:20:14-05:00
Fix bug #1111412
- - - - -
5 changed files:
- debian/changelog
- debian/copyright
- + debian/patches/0002-Build-using-C-20.patch
- debian/patches/series
- debian/rules
Changes:
=====================================
debian/changelog
=====================================
@@ -1,3 +1,12 @@
+ska (1.0+dfsg-5) unstable; urgency=medium
+
+ * Team upload.
+ * [3870c79] Build using C++20, since googletest no longer supports
+ standards prior to C++17. Closes: #1111412.
+ * [3deb9b0] Fix license short name.
+
+ -- Steve M. Robbins <smr at debian.org> Sun, 17 Aug 2025 20:18:53 -0500
+
ska (1.0+dfsg-4) unstable; urgency=medium
* Team upload.
=====================================
debian/copyright
=====================================
@@ -35,7 +35,7 @@ License: MIT
Files: src/gzstream.h
Copyright: 2001 Deepak Bandyopadhyay, Lutz Kettner
-License: LGPL-2,1+
+License: LGPL-2.1+
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
=====================================
debian/patches/0002-Build-using-C-20.patch
=====================================
@@ -0,0 +1,33 @@
+From: "Steve M. Robbins" <smr at debian.org>
+Date: Sun, 17 Aug 2025 19:00:18 -0500
+Subject: Build using C++20
+
+---
+ Makefile | 2 +-
+ tests/Makefile | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/Makefile b/Makefile
+index 8018b6a..e790ae1 100644
+--- a/Makefile
++++ b/Makefile
+@@ -1,5 +1,5 @@
+ CXX = g++
+-CXXFLAGS = -g -std=c++0x -O2
++CXXFLAGS = -g -std=c++20 -O2
+
+ RM = rm -f
+ MKDIR = mkdir
+diff --git a/tests/Makefile b/tests/Makefile
+index 36d202e..394882c 100644
+--- a/tests/Makefile
++++ b/tests/Makefile
+@@ -22,7 +22,7 @@ USER_TEST_DIR = .
+ # Where to find user code.
+ USER_DIR = ../src/
+
+-CXX = g++ -std=c++0x
++CXX = g++ -std=c++20
+
+ # Flags passed to the preprocessor.
+ # Set Google Test's header directory as a system directory, such that
=====================================
debian/patches/series
=====================================
@@ -1 +1,2 @@
include_vector.patch
+0002-Build-using-C-20.patch
=====================================
debian/rules
=====================================
@@ -3,8 +3,6 @@
# DH_VERBOSE := 1
export LC_ALL=C.UTF-8
-export DEB_CXXFLAGS_MAINT_APPEND = -std=c++14
-
%:
dh $@
View it on GitLab: https://salsa.debian.org/med-team/ska/-/compare/957204c1f20eef8d02ffe6edbd904c3e80fbdea8...9e09fa72357f7e2e277c6f9c3c66bf7e1f24789e
--
View it on GitLab: https://salsa.debian.org/med-team/ska/-/compare/957204c1f20eef8d02ffe6edbd904c3e80fbdea8...9e09fa72357f7e2e277c6f9c3c66bf7e1f24789e
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/20250818/5948a0dc/attachment-0001.htm>
More information about the debian-med-commit
mailing list