public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Dominik 'Rathann' Mierzejewski <dominik@greysector.net>
To: git-commits@fedoraproject.org
Subject: [rpms/aqualung] rawhide: backport patch to fix build with mac-13.40 or later
Date: Fri, 13 Nov 2026 11:44:13 GMT [thread overview]
Message-ID: <179457025390.1.7054479954007478620.rpms-aqualung-00246f27e7db@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/aqualung
Branch : rawhide
Commit : 00246f27e7db88e39142a2356d67ccba64ac200a
Author : Dominik 'Rathann' Mierzejewski <dominik@greysector.net>
Date : 2026-11-13T12:42:04+01:00
Stats : +38/-0 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/aqualung/c/00246f27e7db88e39142a2356d67ccba64ac200a?branch=rawhide
Log:
backport patch to fix build with mac-13.40 or later
---
diff --git a/aqualung-mac-13.40.patch b/aqualung-mac-13.40.patch
new file mode 100644
index 0000000..3cc57c1
--- /dev/null
+++ b/aqualung-mac-13.40.patch
@@ -0,0 +1,35 @@
+From 668285ea523a4adecbae78ec0e6bedc3640ca6b3 Mon Sep 17 00:00:00 2001
+From: Adam Sampson <ats@offog.org>
+Date: Wed, 21 Oct 2026 15:08:03 +0100
+Subject: [PATCH] Fix build with Monkey's Audio 1340
+
+The error constants were renamed from ERROR_x to APE_ERROR_x.
+---
+ src/decoder/dec_mac.cpp | 7 ++++++-
+ 1 file changed, 6 insertions(+), 1 deletion(-)
+
+diff --git a/src/decoder/dec_mac.cpp b/src/decoder/dec_mac.cpp
+index f89450d4..f70e04dd 100644
+--- a/src/decoder/dec_mac.cpp
++++ b/src/decoder/dec_mac.cpp
+@@ -32,6 +32,11 @@
+ #include "../undef_ac_pkg.h"
+ #include <config.h> /* re-establish undefined autoconf macros */
+
++/* error macros were renamed in MAC 1340 */
++#ifndef APE_ERROR_SUCCESS
++#define APE_ERROR_SUCCESS ERROR_SUCCESS
++#endif
++
+ #include "../i18n.h"
+ #include "../metadata.h"
+ #include "../metadata_ape.h"
+@@ -180,7 +185,7 @@ mac_decoder_open(decoder_t * dec, char * filename) {
+ pdecompress = CreateIAPEDecompress(filename_utf16, &ret, FALSE, FALSE, FALSE);
+ delete [] filename_utf16;
+
+- if (!pdecompress || ret != ERROR_SUCCESS) {
++ if (!pdecompress || ret != APE_ERROR_SUCCESS) {
+ return DECODER_OPEN_BADLIB;
+ }
+
diff --git a/aqualung.spec b/aqualung.spec
index e845103..eeda034 100644
--- a/aqualung.spec
+++ b/aqualung.spec
@@ -16,6 +16,8 @@ Patch: %{name}-add-opus.patch
Patch: %{name}-configure-typo.patch
# https://github.com/jeremyevans/aqualung/pull/43
Patch: %{name}-reject-corrupt-ID3v2.patch
+# support mac >= 13.40
+Patch: https://github.com/jeremyevans/aqualung/commit/668285ea523a4adecbae78ec0e6bedc3640ca6b3.patch#/%{name}-mac-13.40.patch
# autogen.sh
BuildRequires: autoconf
@@ -196,6 +198,7 @@ appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/%{name}.appdat
%changelog
* Fri Nov 13 2026 Dominik Mierzejewski <dominik@greysector.net> - 2.0-14
- Rebuilt for mac-13.46
+- Fixed build with mac-13.40 or later
* Thu Sep 10 2026 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 2.0-13
- Rebuilt for libxml-2.5.4
reply other threads:[~2026-11-13 11:44 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=179457025390.1.7054479954007478620.rpms-aqualung-00246f27e7db@fedoraproject.org \
--to=dominik@greysector.net \
--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