Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package octave-forge-ltfat for 
openSUSE:Factory checked in at 2021-01-18 11:28:31
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/octave-forge-ltfat (Old)
 and      /work/SRC/openSUSE:Factory/.octave-forge-ltfat.new.28504 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "octave-forge-ltfat"

Mon Jan 18 11:28:31 2021 rev:8 rq:863630 version:2.4.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/octave-forge-ltfat/octave-forge-ltfat.changes    
2020-05-07 14:55:23.646391831 +0200
+++ 
/work/SRC/openSUSE:Factory/.octave-forge-ltfat.new.28504/octave-forge-ltfat.changes
 2021-01-18 11:32:24.000687289 +0100
@@ -1,0 +2,7 @@
+Sat Jan  9 11:48:00 UTC 2021 - Atri Bhattacharya <[email protected]>
+
+- Add ltfat-nsdgt_m-syntax-error.patch: Fix syntax error in
+  nsdgt.m to build against octave >= 6; patch taken from upstream
+  git commit and rebased to apply with -p1 (gh#ltfat/ltfat#115).
+
+-------------------------------------------------------------------

New:
----
  ltfat-nsdgt_m-syntax-error.patch

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

Other differences:
------------------
++++++ octave-forge-ltfat.spec ++++++
--- /var/tmp/diff_new_pack.pCzahy/_old  2021-01-18 11:32:24.668687947 +0100
+++ /var/tmp/diff_new_pack.pCzahy/_new  2021-01-18 11:32:24.672687951 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package octave-forge-ltfat
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -27,6 +27,8 @@
 # Release 2.4.0 currently missing on octave-forge
 # Source0:      
https://downloads.sourceforge.net/octave/%%{octpkg}-%%{version}.tar.gz
 Source0:        
https://github.com/ltfat/ltfat/releases/download/2.4.0/ltfat-2.4.0-of.tar.gz
+# PATCH-FIX-UPSTREAM ltfat-nsdgt_m-syntax-error.patch gh#ltfat/ltfat#115 
[email protected] -- Fix syntax error in nsdgt.m to build against octave >= 
6; patch taken from upstream git commit
+Patch0:         ltfat-nsdgt_m-syntax-error.patch
 BuildRequires:  fdupes
 BuildRequires:  fftw3-devel
 BuildRequires:  fftw3-threads-devel
@@ -48,7 +50,7 @@
 This is part of the Octave-Forge project.
 
 %prep
-%setup -q -c %{name}-%{version}
+%autosetup -p1 -c %{name}-%{version}
 
 # REMOVE PREBUILT JAR
 find ./ -name "*.jar" -delete -print

++++++ ltfat-nsdgt_m-syntax-error.patch ++++++
>From 7e040b3961a5c2dfcc132396747277809192e507 Mon Sep 17 00:00:00 2001
From: "Shane F. Carr" <[email protected]>
Date: Sat, 4 Jul 2020 20:31:39 -0500
Subject: [PATCH] Fix syntax error in nsdgt.m

---
 nonstatgab/nsdgt.m | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ltfat/inst/nonstatgab/nsdgt.m b/ltfat/inst/nonstatgab/nsdgt.m
index 887597fc..519f7c31 100644
--- a/ltfat/inst/nonstatgab/nsdgt.m
+++ b/ltfat/inst/nonstatgab/nsdgt.m
@@ -124,8 +124,8 @@
         col = ceil(Lg/M(ii));
         
         temp = zeros(col*M(ii),W,assert_classname(f,g{1}));
-        temp([end-floor(Lg/2)+1:end,1:ceil(Lg/2)],:) = bsxfun(@ ...
-                                                          
times,f(win_range,:),g{ii}(idx));
+        temp([end-floor(Lg/2)+1:end,1:ceil(Lg/2)],:) = bsxfun(@times, ...
+                                                          
f(win_range,:),g{ii}(idx));
         
         temp = reshape(temp,M(ii),col,W);
         X = squeeze(fft(sum(temp,2)));

Reply via email to