Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package pinentry for openSUSE:Factory 
checked in at 2026-06-09 14:13:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/pinentry (Old)
 and      /work/SRC/openSUSE:Factory/.pinentry.new.2375 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "pinentry"

Tue Jun  9 14:13:49 2026 rev:74 rq:1357819 version:1.3.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/pinentry/pinentry.changes        2026-02-27 
17:03:46.652871975 +0100
+++ /work/SRC/openSUSE:Factory/.pinentry.new.2375/pinentry.changes      
2026-06-09 14:14:07.341223478 +0200
@@ -1,0 +2,6 @@
+Thu Jun  4 08:31:54 UTC 2026 - Josef Melcr <[email protected]>
+
+- Force -std=gnu++17 when building with GCC 16 to fix the broken
+  build 
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ pinentry.spec ++++++
--- /var/tmp/diff_new_pack.EGkrv5/_old  2026-06-09 14:14:08.329264407 +0200
+++ /var/tmp/diff_new_pack.EGkrv5/_new  2026-06-09 14:14:08.333264572 +0200
@@ -159,9 +159,19 @@
 %autosetup -p1 -n pinentry-%{version}
 
 %build
+
+%define gcc_version %(gcc -dumpversion 2>/dev/null || echo 0)
+
+%if %{gcc_version} >= 16
+# fix the build with GCC 16 by forcing -std=gnu++17
+%global flags %{optflags} -std=gnu++17
+%else
+%global flags %{optflags}
+%endif
+
 nmajor=$(sed -rn 's/^#define\s+NCURSES_VERSION_MAJOR\s+([0-9]+)/\1/p' 
%{_includedir}/ncurses.h)
-CFLAGS="%{optflags} $(ncursesw${nmajor}-config --cflags)"
-CXXFLAGS="%{optflags} $(ncursesw${nmajor}-config --cflags)"
+CFLAGS="%{flags} $(ncursesw${nmajor}-config --cflags)"
+CXXFLAGS="%{flags} $(ncursesw${nmajor}-config --cflags)"
 LDFLAGS="$(ncursesw${nmajor}-config --libs)"
 export CFLAGS CXXFLAGS LDFLAGS
 

Reply via email to