summaryrefslogtreecommitdiff
path: root/audio/mac
diff options
context:
space:
mode:
Diffstat (limited to 'audio/mac')
-rw-r--r--audio/mac/Makefile2
-rw-r--r--audio/mac/distinfo6
-rw-r--r--audio/mac/files/patch-Source_Console_Console.cpp19
-rw-r--r--audio/mac/files/patch-Source_Shared_CPUFeatures.cpp26
-rw-r--r--audio/mac/pkg-plist2
5 files changed, 47 insertions, 8 deletions
diff --git a/audio/mac/Makefile b/audio/mac/Makefile
index 1005cea5deac..2d9729dc35ba 100644
--- a/audio/mac/Makefile
+++ b/audio/mac/Makefile
@@ -1,5 +1,5 @@
PORTNAME= mac
-PORTVERSION= 11.17
+PORTVERSION= 11.37
CATEGORIES= audio
MASTER_SITES= https://www.monkeysaudio.com/files/
DISTNAME= ${PORTNAME:tu}_${PORTVERSION:S|.||}_SDK
diff --git a/audio/mac/distinfo b/audio/mac/distinfo
index 5861c604373d..80410af68f23 100644
--- a/audio/mac/distinfo
+++ b/audio/mac/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1749964651
-SHA256 (MAC_1117_SDK.zip) = d6b221d08eb57028a452d06057b4cc74c5b5d47bc542aed36f5b79404fd16b96
-SIZE (MAC_1117_SDK.zip) = 1699779
+TIMESTAMP = 1755237529
+SHA256 (MAC_1137_SDK.zip) = d578e193ca882474dba256d5d1f44d463a9f5cfa6a2191b741babbb1e8b026a2
+SIZE (MAC_1137_SDK.zip) = 1710217
diff --git a/audio/mac/files/patch-Source_Console_Console.cpp b/audio/mac/files/patch-Source_Console_Console.cpp
index 72ce55e11dc4..eb2f53fcb881 100644
--- a/audio/mac/files/patch-Source_Console_Console.cpp
+++ b/audio/mac/files/patch-Source_Console_Console.cpp
@@ -1,8 +1,21 @@
Unixify built-in help.
---- Source/Console/Console.cpp.orig 2025-05-07 22:12:54 UTC
+--- Source/Console/Console.cpp.orig 2025-08-15 06:11:17 UTC
+++ Source/Console/Console.cpp
-@@ -136,7 +136,7 @@ static void DisplayProperUsage(FILE * pFile)
+@@ -61,10 +61,10 @@ class CArguments (public)
+ #ifdef _UNICODE
+ rspString.Assign(m_argv[nArgument], true, false);
+ #else
+- rspString.Assign(CAPECharacterHelper::GetUTF16FromANSI(m_argv[nArgument]), true);
++ rspString.Assign(CAPECharacterHelper::GetUTFNFromANSI(m_argv[nArgument]), true);
+ #endif
+ #else
+- rspString.Assign(CAPECharacterHelper::GetUTF16FromUTF8((str_utf8 *) m_argv[nArgument]), true);
++ rspString.Assign(CAPECharacterHelper::GetUTFNFromUTF8((str_utf8 *) m_argv[nArgument]), true);
+ #endif
+ }
+ else
+@@ -135,7 +135,7 @@ static void DisplayProperUsage(FILE * pFile)
**************************************************************************************************/
static void DisplayProperUsage(FILE * pFile)
{
@@ -11,7 +24,7 @@ Unixify built-in help.
fwprintf(pFile, L"Modes:\n");
fwprintf(pFile, L" Compress (fast): '-c1000'\n");
-@@ -156,18 +156,18 @@ static void DisplayProperUsage(FILE * pFile)
+@@ -155,18 +155,18 @@ static void DisplayProperUsage(FILE * pFile)
fwprintf(pFile, L" Set the number of threads when compressing or decompressing: -threads=#'\n\n");
fwprintf(pFile, L"Examples:\n");
diff --git a/audio/mac/files/patch-Source_Shared_CPUFeatures.cpp b/audio/mac/files/patch-Source_Shared_CPUFeatures.cpp
new file mode 100644
index 000000000000..3713b9bb9152
--- /dev/null
+++ b/audio/mac/files/patch-Source_Shared_CPUFeatures.cpp
@@ -0,0 +1,26 @@
+--- Source/Shared/CPUFeatures.cpp.orig 2025-08-04 20:52:19 UTC
++++ Source/Shared/CPUFeatures.cpp
+@@ -4,7 +4,7 @@
+ #if defined(PLATFORM_LINUX)
+ #include <sys/auxv.h>
+
+- #if defined(__arm__)
++ #if defined(__arm__) && defined(__linux__)
+ #include <asm/hwcap.h>
+
+ #ifndef HWCAP_NEON
+@@ -187,7 +187,14 @@ bool GetNeonSupported()
+ #if defined(__ARM_NEON) || defined(__ARM_NEON__) || defined(__aarch64__) || defined(_M_ARM64) || defined(_M_ARM64EC)
+ return true;
+ #elif defined(__arm__) && defined(PLATFORM_LINUX)
++#ifdef __linux__
+ return getauxval(AT_HWCAP) & HWCAP_NEON;
++#elif defined(__FreeBSD__)
++ long hwcap = 0;
++
++ elf_aux_info(AT_HWCAP, &hwcap, sizeof hwcap);
++ return (hwcap & HWCAP_NEON);
++#endif
+ #else
+ return false;
+ #endif
diff --git a/audio/mac/pkg-plist b/audio/mac/pkg-plist
index 3107453423b6..10d5917bd1e6 100644
--- a/audio/mac/pkg-plist
+++ b/audio/mac/pkg-plist
@@ -11,4 +11,4 @@ include/MAC/Version.h
include/MAC/Warnings.h
include/MAC/WindowsEnvironment.h
lib/libMAC.so
-lib/libMAC.so.13
+lib/libMAC.so.14