Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package lal for openSUSE:Factory checked in 
at 2025-07-17 17:18:35
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/lal (Old)
 and      /work/SRC/openSUSE:Factory/.lal.new.8875 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "lal"

Thu Jul 17 17:18:35 2025 rev:17 rq:1293823 version:7.6.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/lal/lal.changes  2024-12-22 18:08:49.223142531 
+0100
+++ /work/SRC/openSUSE:Factory/.lal.new.8875/lal.changes        2025-07-17 
17:19:22.697281283 +0200
@@ -1,0 +2,7 @@
+Thu Jul 10 17:24:13 UTC 2025 - Atri Bhattacharya <badshah...@gmail.com>
+
+- Add lal-gcc15-fix-unterminated-string-initialization.patch: Fix
+  tests against GCC 15 by correctly initializing char array;
+  upstream commit.
+
+-------------------------------------------------------------------

New:
----
  lal-gcc15-fix-unterminated-string-initialization.patch

----------(New B)----------
  New:
- Add lal-gcc15-fix-unterminated-string-initialization.patch: Fix
  tests against GCC 15 by correctly initializing char array;
----------(New E)----------

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

Other differences:
------------------
++++++ lal.spec ++++++
--- /var/tmp/diff_new_pack.EPUlFO/_old  2025-07-17 17:19:25.873413370 +0200
+++ /var/tmp/diff_new_pack.EPUlFO/_new  2025-07-17 17:19:25.889414035 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package lal
 #
-# Copyright (c) 2024 SUSE LLC
+# Copyright (c) 2025 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -49,6 +49,8 @@
 Patch1:         
https://git.ligo.org/lscsoft/lalsuite/-/commit/e12d57e893882c1603778018139ed9060579c8a7.patch#/lalsuite_fix_swig_4_3_0_compat_2.patch
 # PATCH-FIX-UPSTREAM lal-disable-erroneous-test.patch badshah...@gmail.com -- 
Disable a test that gives 'SystemError: error return without exception set'
 Patch2:         lal-disable-erroneous-test.patch
+# PATCH-FIX-UPSTREAM lal-gcc15-fix-unterminated-string-initialization.patch 
badshah...@gmail.com -- Fix build with GCC 15 by correctly initializing char 
array; patch taken from upstream commit
+Patch3:         
https://git.ligo.org/lscsoft/lalsuite/-/commit/893b1e51c2444d7ca5d87c703986541be89c5ed4.patch#/lal-gcc15-fix-unterminated-string-initialization.patch
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module numpy-devel}
 BuildRequires:  %{python_module numpy}
@@ -154,6 +156,7 @@
 %patch -P0 -p2
 %patch -P1 -p2
 %patch -P2 -p1
+%patch -P3 -p2
 
 %build
 autoreconf -fvi

++++++ lal-gcc15-fix-unterminated-string-initialization.patch ++++++
>From 893b1e51c2444d7ca5d87c703986541be89c5ed4 Mon Sep 17 00:00:00 2001
From: Leo Singer <leo.sin...@ligo.org>
Date: Tue, 6 May 2025 13:02:34 -0400
Subject: [PATCH] Fix compiler warning on clang

Resolves the following warning, which was treated as an error:

```
  CC       ValueTest.o
../../../../../lal/test/tools/ValueTest.c:28:22: error: initializer-string for 
character array is too long, array size is 5 but initializer has size 6 
(including the null terminating character); did you mean to use the 'nonstring' 
attribute? [-Werror,-Wunterminated-string-initialization]
   28 | char BLOB_VALUE[5] = "\x68\x65\x6c\x6c\x6f";
      |                      ^~~~~~~~~~~~~~~~~~~~~~
```
---
 lal/test/tools/ValueTest.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lal/test/tools/ValueTest.c b/lal/test/tools/ValueTest.c
index 2cf9d58d98..a138cc5170 100644
--- a/lal/test/tools/ValueTest.c
+++ b/lal/test/tools/ValueTest.c
@@ -25,7 +25,7 @@
 #define REAL8_VALUE 1e100
 #define COMPLEX8_VALUE 3.0 + 4.0 * I
 #define COMPLEX16_VALUE 3e100 + 4e100 * I
-char BLOB_VALUE[5] = "\x68\x65\x6c\x6c\x6f";
+char BLOB_VALUE[5] = {'\x68', '\x65', '\x6c', '\x6c', '\x6f'};
 char String_VALUE[] = "world";
 
 static LALDict * create_dict(void)
-- 
GitLab

Reply via email to