public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: gbcox <gbcox@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/sox] rawhide: rhbz#2577530
Date: Fri, 20 Nov 2026 18:24:21 GMT	[thread overview]
Message-ID: <179519906133.1.17832387811613773379.rpms-sox-8896d2ea93fd@fedoraproject.org> (raw)

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

                 reply	other threads:[~2026-11-20 18:24 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179519906133.1.17832387811613773379.rpms-sox-8896d2ea93fd@fedoraproject.org \
    --to=gbcox@fedoraproject.org \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox