git: bdd363e1bee5 - main - audio/openal-soft: Disable C11 threads
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 08 Feb 2025 05:37:36 UTC
The branch main has been updated by jhale: URL: https://cgit.FreeBSD.org/ports/commit/?id=bdd363e1bee5bf2aae6b0ba4c0bec28441db53a9 commit bdd363e1bee5bf2aae6b0ba4c0bec28441db53a9 Author: Jason E. Hale <jhale@FreeBSD.org> AuthorDate: 2025-02-08 05:25:14 +0000 Commit: Jason E. Hale <jhale@FreeBSD.org> CommitDate: 2025-02-08 05:37:29 +0000 audio/openal-soft: Disable C11 threads Use POSIX threads instead to avoid undefined symbols. Applications may not start after the last update with errors such as: ld-elf.so.1: /usr/local/lib/libopenal.so.1: Undefined symbol "tss_create" Reported by: VVD on #freebsd-desktop --- audio/openal-soft/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/audio/openal-soft/Makefile b/audio/openal-soft/Makefile index 391d512a3e38..034a699a6e3e 100644 --- a/audio/openal-soft/Makefile +++ b/audio/openal-soft/Makefile @@ -1,5 +1,6 @@ PORTNAME= openal-soft PORTVERSION= 1.24.2 +PORTREVISION= 1 CATEGORIES= audio MASTER_SITES= https://openal-soft.org/openal-releases/ @@ -23,6 +24,8 @@ CMAKE_ON= ALSOFT_BACKEND_WAVE CMAKE_OFF= ALSOFT_BACKEND_ALSA ALSOFT_DLOPEN ALSOFT_EXAMPLES \ ALSOFT_REQUIRE_SOLARIS +# Use pthread instead of C11 threads +CFLAGS+= -D__STDC_NO_THREADS__ # do not link with librt and libdl. LDFLAGS+= -Wl,--as-needed LDFLAGS_i386= -Wl,-z,notext