diff --git a/packages/openal-soft/alc-alconfig.cpp.patch b/packages/openal-soft/alc-alconfig.cpp.patch index db8d935a1e..22c7eb40c6 100644 --- a/packages/openal-soft/alc-alconfig.cpp.patch +++ b/packages/openal-soft/alc-alconfig.cpp.patch @@ -1,13 +1,13 @@ --- a/alc/alconfig.cpp +++ b/alc/alconfig.cpp -@@ -383,13 +383,13 @@ +@@ -384,13 +384,13 @@ void ReadALConfig() { namespace fs = std::filesystem; - fs::path path{"/etc/openal/alsoft.conf"}; + fs::path path{"@TERMUX_PREFIX@/etc/openal/alsoft.conf"}; - TRACE("Loading config %s...\n", path.u8string().c_str()); + TRACE("Loading config %s...\n", reinterpret_cast(path.u8string().c_str())); if(std::ifstream f{path}; f.is_open()) LoadConfigFromFile(f); diff --git a/packages/openal-soft/build.sh b/packages/openal-soft/build.sh index 1bdc6e99cd..8ba92e1e67 100644 --- a/packages/openal-soft/build.sh +++ b/packages/openal-soft/build.sh @@ -3,9 +3,9 @@ TERMUX_PKG_DESCRIPTION="Software implementation of the OpenAL API" TERMUX_PKG_LICENSE="LGPL-2.0, BSD 3-Clause" TERMUX_PKG_LICENSE_FILE="BSD-3Clause, COPYING" TERMUX_PKG_MAINTAINER="@termux" -TERMUX_PKG_VERSION="1.24.0" +TERMUX_PKG_VERSION="1.24.1" TERMUX_PKG_SRCURL=https://github.com/kcat/openal-soft/archive/${TERMUX_PKG_VERSION}.tar.gz -TERMUX_PKG_SHA256=d3753f7aba798574ce2dc934e3c47dc655cd7a4652c038f2a860b0e81ff6d3dc +TERMUX_PKG_SHA256=e1b6ec960e00bfed3d480330274b0f102dc10e4ae0dbb70fd9db80d6978165b1 TERMUX_PKG_AUTO_UPDATE=true TERMUX_PKG_UPDATE_METHOD=repology TERMUX_PKG_DEPENDS="libc++"