Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package pspp for openSUSE:Factory checked in 
at 2026-06-16 13:55:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/pspp (Old)
 and      /work/SRC/openSUSE:Factory/.pspp.new.1981 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "pspp"

Tue Jun 16 13:55:00 2026 rev:27 rq:1359638 version:2.1.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/pspp/pspp.changes        2026-03-19 
17:39:18.942628389 +0100
+++ /work/SRC/openSUSE:Factory/.pspp.new.1981/pspp.changes      2026-06-16 
14:00:37.243253564 +0200
@@ -1,0 +2,5 @@
+Mon Jun 15 17:05:16 UTC 2026 - Andreas Stieger <[email protected]>
+
+- fix build with gcc15 boo#1268308, add pspp-2.1.1-fix-gcc15.patch
+
+-------------------------------------------------------------------

New:
----
  pspp-2.1.1-fix-gcc15.patch

----------(New B)----------
  New:
- fix build with gcc15 boo#1268308, add pspp-2.1.1-fix-gcc15.patch
----------(New E)----------

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

Other differences:
------------------
++++++ pspp.spec ++++++
--- /var/tmp/diff_new_pack.mQSXNT/_old  2026-06-16 14:00:40.579392402 +0200
+++ /var/tmp/diff_new_pack.mQSXNT/_new  2026-06-16 14:00:40.599393234 +0200
@@ -32,6 +32,7 @@
 Source2:        
https://savannah.gnu.org/people/viewgpg.php?user_id=245#/%{name}.keyring
 Patch0:         
pspp-2.1.1-gui-Avoid-using-test-splash-screen-for-odd-minor-rel.patch
 Patch1:         pspp-2.1.1-gui-Remove-test-version-from-title.patch
+Patch2:         pspp-2.1.1-fix-gcc15.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 %if 0%{?suse_version}
 BuildRequires:  fdupes

++++++ pspp-2.1.1-fix-gcc15.patch ++++++
From: Andreas Stieger <[email protected]>
Date: Mon, 15 Jun 2026 19:01:48 +0200
Subject: [PATCH] fix build with gcc15
Upstream: no, gnulib
References: https://bugzilla.opensuse.org/show_bug.cgi?id=1268308

explanation taken from libunistring: GCC 15 defines bsearch and
wmemchr as qualifier-generic macros (ISO C N3322), causing errors
when gnulib redeclares them with _GL_EXTERN_C.

[  163s] In file included from /usr/include/features.h:540,
[  163s]                  from /usr/include/bits/libc-header-start.h:33,
[  163s]                  from /usr/include/stdint.h:26,
[  163s]                  from 
/usr/lib64/gcc/x86_64-suse-linux/15/include/stdint.h:11,
[  163s]                  from gl/idx.h:26,
[  163s]                  from gl/ialloc.h:27,
[  163s]                  from gl/ialloc.c:21:
[  163s] ./gl/stdlib.h:807:20: error: expected identifier or '(' before 
'_Generic'
[  163s]   807 | _GL_EXTERN_C void *bsearch (const void *__key,
[  163s]       |                    ^~~~~~~
[  163s] make[2]: *** [Makefile:13167: gl/libgl_la-ialloc.lo] Error 1


Index: pspp-2.1.1/gl/stdlib.in.h
===================================================================
--- pspp-2.1.1.orig/gl/stdlib.in.h
+++ pspp-2.1.1/gl/stdlib.in.h
@@ -224,6 +224,7 @@ _GL_INLINE_HEADER_BEGIN
 
 /* Declarations for ISO C N3322.  */
 #if defined __GNUC__ && __GNUC__ >= 15 && !defined __clang__
+#undef bsearch
 _GL_EXTERN_C void *bsearch (const void *__key,
                             const void *__base, size_t __nmemb, size_t __size,
                             int (*__compare) (const void *, const void *))
Index: pspp-2.1.1/gl/wchar.in.h
===================================================================
--- pspp-2.1.1.orig/gl/wchar.in.h
+++ pspp-2.1.1/gl/wchar.in.h
@@ -301,6 +301,7 @@ _GL_EXTERN_C int wcsncmp (const wchar_t
   _GL_ATTRIBUTE_NONNULL_IF_NONZERO (1, 3)
   _GL_ATTRIBUTE_NONNULL_IF_NONZERO (2, 3);
 # ifndef __cplusplus
+#undef wmemchr
 _GL_EXTERN_C wchar_t *wmemchr (const wchar_t *__s, wchar_t __wc, size_t __n)
   _GL_ATTRIBUTE_NONNULL_IF_NONZERO (1, 3);
 # endif

Reply via email to