Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package lal for openSUSE:Factory checked in at 2022-11-26 18:45:44 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/lal (Old) and /work/SRC/openSUSE:Factory/.lal.new.1597 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "lal" Sat Nov 26 18:45:44 2022 rev:9 rq:1038291 version:7.2.4 Changes: -------- --- /work/SRC/openSUSE:Factory/lal/lal.changes 2022-08-24 15:11:17.112511588 +0200 +++ /work/SRC/openSUSE:Factory/.lal.new.1597/lal.changes 2022-11-26 18:45:47.727334529 +0100 @@ -1,0 +2,7 @@ +Sat Nov 26 02:40:59 UTC 2022 - Stefan Brüns <[email protected]> + +- Update to version 7.2.4: + * No release notes. +- Fix build with Swig 4.1.0, add swig_4_1_compat.patch + +------------------------------------------------------------------- Old: ---- lal-7.2.0.tar.xz New: ---- lal-7.2.4.tar.xz swig_4_1_compat.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ lal.spec ++++++ --- /var/tmp/diff_new_pack.aIFlwm/_old 2022-11-26 18:45:48.659340054 +0100 +++ /var/tmp/diff_new_pack.aIFlwm/_new 2022-11-26 18:45:48.663340078 +0100 @@ -1,5 +1,5 @@ # -# spec file for package lal +# spec file # # Copyright (c) 2022 SUSE LLC # @@ -36,13 +36,15 @@ # No support for octave >= 6 %bcond_with octave Name: lal%{psuffix} -Version: 7.2.0 +Version: 7.2.4 Release: 0 Summary: A collection of various gravitational wave data analysis routines License: GPL-2.0-only Group: Productivity/Scientific/Physics URL: https://wiki.ligo.org/Computing/LALSuite Source: https://software.igwn.org/sources/source/lalsuite/lal-%{version}.tar.xz +# PATCH-FIX-UPSTREAM -- See https://git.ligo.org/lscsoft/lalsuite/-/commit/847f9f1bf9c8e029db6426de098a963d542ab08b.patch +Patch0: swig_4_1_compat.patch BuildRequires: %{python_module devel} BuildRequires: %{python_module numpy-devel} BuildRequires: %{python_module numpy} ++++++ lal-7.2.0.tar.xz -> lal-7.2.4.tar.xz ++++++ ++++ 3960 lines of diff (skipped) ++++++ swig_4_1_compat.patch ++++++ >From 847f9f1bf9c8e029db6426de098a963d542ab08b Mon Sep 17 00:00:00 2001 From: Karl Wette <[email protected]> Date: Fri, 25 Nov 2022 17:15:19 +1100 Subject: [PATCH] SWIG: compatibility with version 4.1.0 - -py3 is deprecated - %typemaps_string_alloc() needs an extra argument --- gnuscripts/lalsuite_swig.m4 | 8 +++++++- lal/swig/SWIGCommon.i | 8 ++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/swig/SWIGCommon.i b/swig/SWIGCommon.i index caf7d8f365..bb6dc62e6e 100644 --- a/swig/SWIGCommon.i +++ b/swig/SWIGCommon.i @@ -1809,10 +1809,18 @@ if (strides[I-1] == 0) { return res; } } +#if SWIG_VERSION >= 0x040100 +%typemaps_string_alloc(%checkcode(STRING), %checkcode(char), + SWIGWARN_TYPEMAP_CHARLEAK_MSG, char, LALchar, + SWIG_AsLALcharPtrAndSize, SWIG_FromLALcharPtrAndSize, + strlen, SWIG_strnlen, %swiglal_new_copy_array, XLALFree, + "<limits.h>", CHAR_MIN, CHAR_MAX); +#else %typemaps_string_alloc(%checkcode(STRING), %checkcode(char), char, LALchar, SWIG_AsLALcharPtrAndSize, SWIG_FromLALcharPtrAndSize, strlen, SWIG_strnlen, %swiglal_new_copy_array, XLALFree, "<limits.h>", CHAR_MIN, CHAR_MAX); +#endif /// /// Typemaps for string pointers. By default, treat arguments of type <tt>char**</tt> as output-only -- GitLab
