Bug#1133558: molds: diff for NMU version 0.3.1-3.1

Adrian Bunk <[email protected]>
Newsgroups gmane.linux.debian.devel.bugs.rc
Message-ID <aohklPrqI_HT69Vi@localhost>
Control: tags 1133558 + patch
Control: tags 1133558 + pending

Dear maintainer,

I've prepared an NMU for molds (versioned as 0.3.1-3.1) and uploaded
it to DELAYED/2. Please feel free to tell me if I should cancel it.

cu
Adrian
molds-0.3.1-3.1-nmu.diff (text/x-diff, 2.3 KB)
diffstat for molds-0.3.1 molds-0.3.1

 changelog                    |    7 +++++++
 patches/makefile_flags.patch |   12 ++++++------
 rules                        |    2 +-
 3 files changed, 14 insertions(+), 7 deletions(-)

diff -Nru molds-0.3.1/debian/changelog molds-0.3.1/debian/changelog
--- molds-0.3.1/debian/changelog	2026-03-20 14:50:00.000000000 +0200
+++ molds-0.3.1/debian/changelog	2026-08-21 17:09:00.000000000 +0300
@@ -1,3 +1,10 @@
+molds (0.3.1-3.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTBFS with GCC 16. (Closes: #1133558)
+
+ -- Adrian Bunk <[email protected]>  Fri, 21 Aug 2026 17:09:00 +0300
+
 molds (0.3.1-3) unstable; urgency=medium
 
   * Team upload.
diff -Nru molds-0.3.1/debian/patches/makefile_flags.patch molds-0.3.1/debian/patches/makefile_flags.patch
--- molds-0.3.1/debian/patches/makefile_flags.patch	2026-03-20 12:01:00.000000000 +0200
+++ molds-0.3.1/debian/patches/makefile_flags.patch	2026-08-21 17:09:00.000000000 +0300
@@ -1,12 +1,12 @@
---- ./src/Makefile_GNU.orig	2014-10-26 18:34:25.607914786 +0100
-+++ ./src/Makefile_GNU	2014-10-26 18:35:20.134921646 +0100
-@@ -17,22 +17,22 @@
- #// You should have received a copy of the GNU General Public License      // 
+Index: molds-0.3.1/src/Makefile_GNU
+===================================================================
+--- molds-0.3.1.orig/src/Makefile_GNU
++++ molds-0.3.1/src/Makefile_GNU
+@@ -18,21 +18,21 @@
  #// along with MolDS.  If not, see <http://www.gnu.org/licenses/>.         // 
  #//************************************************************************//
--CC = mpicxx
+ CC = mpicxx
 -CFLAGS = -O2
-+CC ?= mpicxx
 +CFLAGS ?= -O2
  override CFLAGS += -fopenmp
 -BOOST_TOP_DIR = /usr/local/boost/
diff -Nru molds-0.3.1/debian/rules molds-0.3.1/debian/rules
--- molds-0.3.1/debian/rules	2026-03-20 12:00:00.000000000 +0200
+++ molds-0.3.1/debian/rules	2026-08-21 17:08:50.000000000 +0300
@@ -13,7 +13,7 @@
 export OMPI_MCA_orte_rsh_agent=/bin/false
 
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
-export CFLAGS=-g -Wall $(shell dpkg-buildflags --get CPPFLAGS) $(shell dpkg-buildflags --get CXXFLAGS)
+export CFLAGS=-g -Wall $(shell dpkg-buildflags --get CPPFLAGS) $(shell dpkg-buildflags --get CXXFLAGS) -std=gnu++17
 export LDFLAGS=$(shell dpkg-buildflags --get LDFLAGS)
 
 %:
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.