Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package kissfft for openSUSE:Factory checked 
in at 2025-12-03 14:12:31
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kissfft (Old)
 and      /work/SRC/openSUSE:Factory/.kissfft.new.14147 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kissfft"

Wed Dec  3 14:12:31 2025 rev:5 rq:1320842 version:131.2.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/kissfft/kissfft.changes  2025-04-02 
18:25:52.151504111 +0200
+++ /work/SRC/openSUSE:Factory/.kissfft.new.14147/kissfft.changes       
2025-12-03 14:13:56.466145322 +0100
@@ -1,0 +2,19 @@
+Tue Dec  2 10:58:53 UTC 2025 - Luigi Baldoni <[email protected]>
+
+- Update to version 131.2.0
+  * fixed test/Makefile line 137 missing ')'
+  * call $(MAKE) instead of make
+  * Add newline to end of kiss_fft_log.h
+  * Use M_PI instead of M_PIl
+  * CMakeLists.txt: Bump minimum version to 3.10
+  * Bump minimum CMake version in kissfft-config.cmake
+  * Makefile: Do not fail creating pkgconfig directory if it
+    already exists
+  * README.md: Correctly capitalize simd option
+  * tests/CMakeLists.txt: Fix CMP0148
+  * Tweaked wording in README
+- Drop 0001-Bump-minimum-CMake-version-in-kissfft-config.cmake.patch
+- Add kissfft-fix_overflow_32bit.patch (fixes boo#1254398)
+- Add kissfft-fix_python_binary_detection.patch
+
+-------------------------------------------------------------------

Old:
----
  0001-Bump-minimum-CMake-version-in-kissfft-config.cmake.patch
  kissfft-131.1.0.tar.gz

New:
----
  kissfft-131.2.0.tar.gz
  kissfft-fix_overflow_32bit.patch
  kissfft-fix_python_binary_detection.patch

----------(Old B)----------
  Old:  * Tweaked wording in README
- Drop 0001-Bump-minimum-CMake-version-in-kissfft-config.cmake.patch
- Add kissfft-fix_overflow_32bit.patch (fixes boo#1254398)
----------(Old E)----------

----------(New B)----------
  New:- Drop 0001-Bump-minimum-CMake-version-in-kissfft-config.cmake.patch
- Add kissfft-fix_overflow_32bit.patch (fixes boo#1254398)
- Add kissfft-fix_python_binary_detection.patch
  New:- Add kissfft-fix_overflow_32bit.patch (fixes boo#1254398)
- Add kissfft-fix_python_binary_detection.patch
----------(New E)----------

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

Other differences:
------------------
++++++ kissfft.spec ++++++
--- /var/tmp/diff_new_pack.cNAUSM/_old  2025-12-03 14:13:57.222177226 +0100
+++ /var/tmp/diff_new_pack.cNAUSM/_new  2025-12-03 14:13:57.226177394 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package kissfft
 #
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2025 SUSE LLC and contributors
 # Copyright (c) 2020 Packman Team <[email protected]>
 # Copyright (c) 2017-2020 Fedora Release Engineering <[email protected]>
 # Copyright (c) 2016 František Dvořák <[email protected]>
@@ -21,15 +21,17 @@
 
 %define sover   131
 Name:           kissfft
-Version:        131.1.0
+Version:        131.2.0
 Release:        0
 Summary:        Fast Fourier Transform library
 License:        BSD-3-Clause AND Unlicense
 # was https://sourceforge.net/projects/kissfft
 URL:            https://github.com/mborgerding/kissfft
 Source0:        
https://github.com/mborgerding/kissfft/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
-# PATCH-FIX-UPSTREAM -- https://github.com/mborgerding/kissfft/pull/101
-Patch0:         0001-Bump-minimum-CMake-version-in-kissfft-config.cmake.patch
+# PATCH-FIX-UPSTREAM kissfft-fix_overflow_32bit.patch -- fixes boo#1254398
+Patch1:         kissfft-fix_overflow_32bit.patch
+# PATCH-FIX-UPSTREAM kissfft-fix_python_binary_detection.patch -- fixes test#8
+Patch2:         kissfft-fix_python_binary_detection.patch
 BuildRequires:  cmake
 # TESTS
 BuildRequires:  gcc-c++

++++++ kissfft-131.1.0.tar.gz -> kissfft-131.2.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kissfft-131.1.0/CMakeLists.txt 
new/kissfft-131.2.0/CMakeLists.txt
--- old/kissfft-131.1.0/CMakeLists.txt  2021-02-10 02:29:17.000000000 +0100
+++ new/kissfft-131.2.0/CMakeLists.txt  2025-09-12 07:55:11.000000000 +0200
@@ -32,7 +32,7 @@
 # Declare CMake project
 #
 
-cmake_minimum_required(VERSION 3.6)
+cmake_minimum_required(VERSION 3.10)
 project(kissfft VERSION "${MAKEFILE_EXTRACTED_VERSION}")
 
 #
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kissfft-131.1.0/Makefile new/kissfft-131.2.0/Makefile
--- old/kissfft-131.1.0/Makefile        2021-02-10 02:29:17.000000000 +0100
+++ new/kissfft-131.2.0/Makefile        2025-09-12 07:55:11.000000000 +0200
@@ -204,7 +204,7 @@
        $(AR) crus $(KISSFFTLIB_NAME) $^
 endif
 ifneq ($(KISSFFT_TOOLS), 0)
-       make -C tools CFLAGADD="$(CFLAGADD)" all
+       $(MAKE) -C tools CFLAGADD="$(CFLAGADD)" all
 endif
 
 #
@@ -227,7 +227,7 @@
   endif
 endif
 ifneq ($(shell uname -s),Darwin)
-       mkdir "$(ABS_LIBDIR)/pkgconfig"
+       mkdir -p "$(ABS_LIBDIR)/pkgconfig"
        sed \
                -e 
's+@PKGCONFIG_KISSFFT_VERSION@+$(PKGCONFIG_KISSFFT_VERSION)+' \
                -e 's+@KISSFFT_OUTPUT_NAME@+$(PKGCONFIG_KISSFFT_OUTPUT_NAME)+' \
@@ -240,7 +240,7 @@
                kissfft.pc.in 1>"$(ABS_LIBDIR)/pkgconfig/$(KISSFFT_PKGCONFIG)"
 endif
 ifneq ($(KISSFFT_TOOLS), 0)
-       make -C tools install
+       $(MAKE) -C tools install
 endif
 
 #
@@ -258,9 +258,9 @@
 #
 
 testsingle:
-       make clean
-       make all
-       make -C test CFLAGADD="$(CFLAGADD)" test testcpp
+       $(MAKE) clean
+       $(MAKE) all
+       $(MAKE) -C test CFLAGADD="$(CFLAGADD)" test testcpp
 
 #
 # Target: "make testall"
@@ -268,26 +268,26 @@
 
 testall:
        # Shared libraries
-       make KISSFFT_DATATYPE=double testsingle
-       make KISSFFT_DATATYPE=float testsingle
-       make KISSFFT_DATATYPE=int16_t testsingle
+       $(MAKE) KISSFFT_DATATYPE=double testsingle
+       $(MAKE) KISSFFT_DATATYPE=float testsingle
+       $(MAKE) KISSFFT_DATATYPE=int16_t testsingle
        # The simd and int32_t types may or may not work on your machine
-       make KISSFFT_DATATYPE=int32_t testsingle
-       make KISSFFT_DATATYPE=simd testsingle
+       $(MAKE) KISSFFT_DATATYPE=int32_t testsingle
+       $(MAKE) KISSFFT_DATATYPE=simd testsingle
        # Static libraries
-       make KISSFFT_DATATYPE=double KISSFFT_STATIC=1 testsingle
-       make KISSFFT_DATATYPE=float KISSFFT_STATIC=1 testsingle
-       make KISSFFT_DATATYPE=int16_t KISSFFT_STATIC=1 testsingle
+       $(MAKE) KISSFFT_DATATYPE=double KISSFFT_STATIC=1 testsingle
+       $(MAKE) KISSFFT_DATATYPE=float KISSFFT_STATIC=1 testsingle
+       $(MAKE) KISSFFT_DATATYPE=int16_t KISSFFT_STATIC=1 testsingle
        # The simd and int32_t types may or may not work on your machine
-       make KISSFFT_DATATYPE=int32_t KISSFFT_STATIC=1 testsingle
-       make KISSFFT_DATATYPE=simd KISSFFT_STATIC=1 testsingle
+       $(MAKE) KISSFFT_DATATYPE=int32_t KISSFFT_STATIC=1 testsingle
+       $(MAKE) KISSFFT_DATATYPE=simd KISSFFT_STATIC=1 testsingle
        # OpenMP libraries
-       make KISSFFT_DATATYPE=double KISSFFT_OPENMP=1 testsingle
-       make KISSFFT_DATATYPE=float KISSFFT_OPENMP=1 testsingle
-       make KISSFFT_DATATYPE=int16_t KISSFFT_OPENMP=1 testsingle
+       $(MAKE) KISSFFT_DATATYPE=double KISSFFT_OPENMP=1 testsingle
+       $(MAKE) KISSFFT_DATATYPE=float KISSFFT_OPENMP=1 testsingle
+       $(MAKE) KISSFFT_DATATYPE=int16_t KISSFFT_OPENMP=1 testsingle
        # The simd and int32_t types may or may not work on your machine
-       make KISSFFT_DATATYPE=int32_t KISSFFT_OPENMP=1 testsingle
-       make KISSFFT_DATATYPE=simd KISSFFT_OPENMP=1 testsingle
+       $(MAKE) KISSFFT_DATATYPE=int32_t KISSFFT_OPENMP=1 testsingle
+       $(MAKE) KISSFFT_DATATYPE=simd KISSFFT_OPENMP=1 testsingle
        $(warning All tests passed!)
 
 #
@@ -304,8 +304,8 @@
 
 clean:
        rm -f *.o *.a *.so *.so.*
-       cd test && make clean
-       cd tools && make clean
+       cd test && $(MAKE) clean
+       cd tools && $(MAKE) clean
        rm -f kiss_fft*.tar.gz *~ *.pyc kiss_fft*.zip
 
 #
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kissfft-131.1.0/README.md 
new/kissfft-131.2.0/README.md
--- old/kissfft-131.1.0/README.md       2021-02-10 02:29:17.000000000 +0100
+++ new/kissfft-131.2.0/README.md       2025-09-12 07:55:11.000000000 +0200
@@ -63,8 +63,8 @@
  - python 2/3 with Numpy to validate kissfft results against it.
  - OpenMP supported by GCC, Clang or MSVC for multi-core FFT transformations
 
-Environments like Cygwin and MinGW can be highly likely used to build kissfft
-targeting Windows platform, but no tests were performed to the date.
+While no tests have been performed to date, kissfft can likely be built using 
+environments like Cygwin and MinGW when targeting the Windows platform.
 
 Both Make and CMake builds are easily configurable:
 
@@ -76,7 +76,7 @@
    - double
    - int16_t
    - int32_t
-   - SIMD (requires SSE instruction set support on target CPU)
+   - simd (requires SSE instruction set support on target CPU)
 
  - `KISSFFT_OPENMP=1` (for Make) or `-DKISSFFT_OPENMP=ON` (for CMake) builds 
kissfft
    with OpenMP support. Please note that a supported compiler is required and 
this
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kissfft-131.1.0/kiss_fft_log.h 
new/kissfft-131.2.0/kiss_fft_log.h
--- old/kissfft-131.1.0/kiss_fft_log.h  2021-02-10 02:29:17.000000000 +0100
+++ new/kissfft-131.2.0/kiss_fft_log.h  2025-09-12 07:55:11.000000000 +0200
@@ -33,4 +33,4 @@
 
 
 
-#endif /* kiss_fft_log_h */
\ No newline at end of file
+#endif /* kiss_fft_log_h */
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kissfft-131.1.0/kissfft-config.cmake.in 
new/kissfft-131.2.0/kissfft-config.cmake.in
--- old/kissfft-131.1.0/kissfft-config.cmake.in 2021-02-10 02:29:17.000000000 
+0100
+++ new/kissfft-131.2.0/kissfft-config.cmake.in 2025-09-12 07:55:11.000000000 
+0200
@@ -24,7 +24,7 @@
 
 @PACKAGE_INIT@
 
-cmake_minimum_required(VERSION 3.3)
+cmake_minimum_required(VERSION 3.10)
 
 # Set include glob of config files using SHARED/static component, 
BUILD_SHARED_LIBS by default
 set(_kissfft_shared_detected OFF)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kissfft-131.1.0/test/CMakeLists.txt 
new/kissfft-131.2.0/test/CMakeLists.txt
--- old/kissfft-131.1.0/test/CMakeLists.txt     2021-02-10 02:29:17.000000000 
+0100
+++ new/kissfft-131.2.0/test/CMakeLists.txt     2025-09-12 07:55:11.000000000 
+0200
@@ -53,7 +53,7 @@
     endif()
 endif()
 
-find_package(PythonInterp REQUIRED)
+find_package(Python REQUIRED)
 add_test(NAME testkiss.py COMMAND "${PYTHON_EXECUTABLE}" 
"${CMAKE_CURRENT_SOURCE_DIR}/testkiss.py")
 list(APPEND TESTKISS_PY_ENV "KISSFFT_DATATYPE=${KISSFFT_DATATYPE}")
 list(APPEND TESTKISS_PY_ENV "KISSFFT_OPENMP=${KISSFFT_OPENMP}")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kissfft-131.1.0/test/Makefile 
new/kissfft-131.2.0/test/Makefile
--- old/kissfft-131.1.0/test/Makefile   2021-02-10 02:29:17.000000000 +0100
+++ new/kissfft-131.2.0/test/Makefile   2025-09-12 07:55:11.000000000 +0200
@@ -134,7 +134,7 @@
 ifeq ($(LIBFFTW_MISSING), 0)
        $(CC) -o $@ $(CFLAGS) -DDATATYPE$(KISSFFT_DATATYPE) $^ $(FFTWLIB) 
-L$(ABS_FFTWLIBDIR) -L.. -l$(KISSFFTLIB_SHORTNAME) -lm
 else
-       $(warning WARNING: No FFTW development files found! FFTW not available 
for comparison!0
+       $(warning WARNING: No FFTW development files found! FFTW not available 
for comparison!)
 endif
 
 #
@@ -167,7 +167,7 @@
 
 test: all
 ifeq "$(KISSFFT_DATATYPE)" "simd"
-       make testsse
+       $(MAKE) testsse
 endif
        @LD_LIBRARY_PATH="$(LD_LIBRARY_PATH):.." ./$(TESTKFC)
        $(warning ======1d & 2-d complex fft self test (type= 
$(KISSFFT_DATATYPE) ))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kissfft-131.1.0/test/testcpp.cc 
new/kissfft-131.2.0/test/testcpp.cc
--- old/kissfft-131.1.0/test/testcpp.cc 2021-02-10 02:29:17.000000000 +0100
+++ new/kissfft-131.2.0/test/testcpp.cc 2025-09-12 07:55:11.000000000 +0200
@@ -7,6 +7,7 @@
  */
 #include "kissfft.hh"
 #include <iostream>
+#include <cmath>
 #include <cstdlib>
 #include <typeinfo>
 
@@ -41,9 +42,14 @@
 
     long double totalpower=0;
     long double difpower=0;
+
+    // Create long double constant for pi because M_PIl is not defined by
+    // all toolchains.
+    const long double pi = std::acosl(-1);
+
     for (int k0=0;k0<nfft;++k0) {
         complex<long double> acc = 0;
-        long double phinc = 2*k0* M_PIl / nfft;
+        long double phinc = 2*k0* pi / nfft;
         for (int k1=0;k1<nfft;++k1) {
             complex<long double> x(inbuf[k1].real(),inbuf[k1].imag()); 
             acc += x * exp( complex<long double>(0,-k1*phinc) );

++++++ kissfft-fix_overflow_32bit.patch ++++++
>From 1b08316582049c3716154caefc0deab8758506e3 Mon Sep 17 00:00:00 2001
From: Mark Borgerding <[email protected]>
Date: Wed, 26 Nov 2025 10:39:17 -0500
Subject: [PATCH] check for overflow on 32 bit platform (closes #120)

---
 kiss_fft.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/kiss_fft.c b/kiss_fft.c
index 58c24a0..aba63e0 100644
--- a/kiss_fft.c
+++ b/kiss_fft.c
@@ -6,7 +6,7 @@
  *  See COPYING file for more information.
  */
 
-
+#include <stdint.h>
 #include "_kiss_fft_guts.h"
 /* The guts header contains all the multiplication and addition macros that 
are defined for
  fixed or floating point complex numbers.  It also delares the kf_ internal 
functions.
@@ -339,6 +339,10 @@ kiss_fft_cfg kiss_fft_alloc(int nfft,int inverse_fft,void 
* mem,size_t * lenmem
     KISS_FFT_ALIGN_CHECK(mem)
 
     kiss_fft_cfg st=NULL;
+    // check for overflow condition {memneeded > SIZE_MAX}.
+    if (nfft >= (SIZE_MAX - 2*sizeof(struct 
kiss_fft_state))/sizeof(kiss_fft_cpx))
+        return NULL;
+
     size_t memneeded = KISS_FFT_ALIGN_SIZE_UP(sizeof(struct kiss_fft_state)
         + sizeof(kiss_fft_cpx)*(nfft-1)); /* twiddle factors*/
 

++++++ kissfft-fix_python_binary_detection.patch ++++++
>From 797c8ca9ebb6a61446f907cb24611f3a6a4302bf Mon Sep 17 00:00:00 2001
From: dmo <[email protected]>
Date: Fri, 28 Nov 2025 20:14:24 +0100
Subject: [PATCH] FIx python binary detection (#119)

---
 test/CMakeLists.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
index 95a5d75..4d07fb9 100644
--- a/test/CMakeLists.txt
+++ b/test/CMakeLists.txt
@@ -53,8 +53,8 @@ if(KISSFFT_DATATYPE MATCHES "^simd$")
     endif()
 endif()
 
-find_package(Python REQUIRED)
-add_test(NAME testkiss.py COMMAND "${PYTHON_EXECUTABLE}" 
"${CMAKE_CURRENT_SOURCE_DIR}/testkiss.py")
+find_package(Python3 COMPONENTS Interpreter REQUIRED)
+add_test(NAME testkiss.py COMMAND "${Python3_INTERPRETER}" 
"${CMAKE_CURRENT_SOURCE_DIR}/testkiss.py")
 list(APPEND TESTKISS_PY_ENV "KISSFFT_DATATYPE=${KISSFFT_DATATYPE}")
 list(APPEND TESTKISS_PY_ENV "KISSFFT_OPENMP=${KISSFFT_OPENMP}")
 set_tests_properties(testkiss.py PROPERTIES

Reply via email to