public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/sox] rawhide: rhbz#2577530
@ 2026-11-20 18:24 gbcox
  0 siblings, 0 replies; only message in thread
From: gbcox @ 2026-11-20 18:24 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/sox
Branch : rawhide
Commit : 8896d2ea93fdcd0017744936b8027541a4eb859c
Author : gbcox <gbcox@fedoraproject.org>
Date   : 2026-11-20T10:24:04-08:00
Stats  : +37/-5 in 4 file(s)
URL    : https://src.fedoraproject.org/rpms/sox/c/8896d2ea93fdcd0017744936b8027541a4eb859c?branch=rawhide

Log:
rhbz#2577530

---
diff --git a/.gitignore b/.gitignore
index 908cd80..1468349 100644
--- a/.gitignore
+++ b/.gitignore
@@ -8,3 +8,4 @@ sox-14.3.1.tar.gz
 /sox-14.4.2.modified.tar.bz2
 /sox-14.4.2.0.modified.tar.gz
 /a4a14b4f58ac2c08c4cc416a7cffe8a4c50a0b7d.tar.gz
+/6edd3b3ae204908101a8c1bd54903971e0393b4d.tar.gz

diff --git a/opus-format-security.patch b/opus-format-security.patch
new file mode 100644
index 0000000..5d099bc
--- /dev/null
+++ b/opus-format-security.patch
@@ -0,0 +1,23 @@
+From a56fd840ca9a2d88d6c0ff1edcabaebd7ab2869a Mon Sep 17 00:00:00 2001
+From: Sebastian Ramacher <sebastian@ramacher.at>
+Date: Thu, 19 Nov 2026 21:08:15 +0100
+Subject: [PATCH] Fix 'format not a string literal and no format arguments
+ [-Werror=format-security]'
+
+---
+ src/opus.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/opus.c b/src/opus.c
+index 78466e35..afa8cf10 100644
+--- a/src/opus.c
++++ b/src/opus.c
+@@ -376,7 +376,7 @@ static size_t write_samples(sox_format_t * ft, const sox_sample_t *buf, size_t l
+     int retval = ope_encoder_write_float(vb->ope, vb->oe_input,
+                                          len / ft->signal.channels);
+     if (retval < 0) {
+-      lsx_fail(ope_strerror(retval));
++      lsx_fail("%s", ope_strerror(retval));
+       return 0;
+     }
+   }

diff --git a/sources b/sources
index 4521b81..e0a4822 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (a4a14b4f58ac2c08c4cc416a7cffe8a4c50a0b7d.tar.gz) = 5f8c3d6e915736f4d13db817cf2ff98a4a6a5ed294ea2a14c5077d9fe0d428d219a152449ce0d6bb724ae38f854c21a3720c5febe04ab0c3d760d033c59c0444
+SHA512 (6edd3b3ae204908101a8c1bd54903971e0393b4d.tar.gz) = 9a2da9b8c3de9ce48936fb9a1d753b8d17e9b80618e6fe86619994ac04c9cbe2aa682e523a14be71c511ddea5cffe190f712240d9948c298da022a823b0d4977

diff --git a/sox.spec b/sox.spec
index 95e5b42..0a92810 100644
--- a/sox.spec
+++ b/sox.spec
@@ -1,16 +1,23 @@
 %global forgeurl    https://codeberg.org/sox_ng/sox_ng
-%global commit      a4a14b4f58ac2c08c4cc416a7cffe8a4c50a0b7d
+%global commit      6edd3b3ae204908101a8c1bd54903971e0393b4d
 
 Name:           sox
-Version:        14.8.1
+Version:        14.9.0
 Summary:        Audio processing utility
 License:        GPL-2.0-or-later AND LGPL-2.1-or-later AND GPL-2.0-only AND BSD-3-Clause AND MIT
-Release:        %autorelease
 
+%if 0%{?buildtag:1}
+%forgemeta
+%global build_id %{lua:print((rpm.expand("%{buildtag}"):gsub("^%.copr", "")))}
+Release:        %autorelease -s %{build_id}
+%else
+Release:        %autorelease
 %forgemeta
+%endif
 
 URL:            %{forgeurl}
 Source0:        %{forgesource}
+Patch0:         opus-format-security.patch
 
 BuildRequires:  bc
 BuildRequires:  gcc
@@ -33,6 +40,7 @@ BuildRequires:  libpng-devel
 BuildRequires:  libsndfile-devel
 BuildRequires:  libtool-ltdl-devel
 BuildRequires:  libvorbis-devel
+BuildRequires:  libopusenc-devel
 BuildRequires:  opusfile-devel
 BuildRequires:  pulseaudio-libs-devel
 BuildRequires:  speex-devel
@@ -55,7 +63,7 @@ Headers, libraries, pkg-config data and manual pages for developing software
 against SoX and SoX_ng.
 
 %prep
-%forgesetup
+%forgeautosetup -p1
 
 cp -p libdolbyb/COPYING COPYING.libdolbyb
 cp -p libebur128/COPYING COPYING.libebur128

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-20 18:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-20 18:24 [rpms/sox] rawhide: rhbz#2577530 gbcox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox