From a72dfc71e641166b5e235f83e6f6ca8a13ca2582 Mon Sep 17 00:00:00 2001 From: Alexander Babikov Date: Thu, 12 Dec 2024 13:06:44 +0500 Subject: [PATCH] build.sh: Update the MacPorts OpenAL hack Fixes #5041 --- .ci/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.ci/build.sh b/.ci/build.sh index 5a829646a..326952186 100755 --- a/.ci/build.sh +++ b/.ci/build.sh @@ -542,11 +542,11 @@ then sudo sed -i -e 's/configure.env-append MAKE=/configure.env-append VULKAN_SDK=${prefix} MAKE=/g' "$qt5_portfile" fi - # Patch openal-soft to use 1.23.1 on all targets instead of 1.24.0 on >=11.0 only, + # Patch openal-soft to use 1.23.1 on all targets instead of 1.24.1 on >=10.15 only, # to prevent a symlink mismatch from having different versions on x86_64 and arm64. # See: https://github.com/macports/macports-ports/commit/9b4903fc9c76769d476079e404c9a3b8a225f8aa openal_portfile="$macports/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/audio/openal-soft/Portfile" - sudo sed -i -e 's/if {${os.platform} ne "darwin" || ${os.major} >= 21}/if {0}/g' "$openal_portfile" + sudo sed -i -e 's/if {${os.platform} ne "darwin" || ${os.major} >= 19}/if {0}/g' "$openal_portfile" # Patch wget to remove libproxy support, as it depends on shared-mime-info which # fails to build for a 10.13 target, which we have to do despite wget only being