forked from Lainports/freebsd-ports
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
This commit is contained in:
parent
40a0852d09
commit
bdd363e1be
1 changed files with 3 additions and 0 deletions
|
|
@ -1,5 +1,6 @@
|
||||||
PORTNAME= openal-soft
|
PORTNAME= openal-soft
|
||||||
PORTVERSION= 1.24.2
|
PORTVERSION= 1.24.2
|
||||||
|
PORTREVISION= 1
|
||||||
CATEGORIES= audio
|
CATEGORIES= audio
|
||||||
MASTER_SITES= https://openal-soft.org/openal-releases/
|
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 \
|
CMAKE_OFF= ALSOFT_BACKEND_ALSA ALSOFT_DLOPEN ALSOFT_EXAMPLES \
|
||||||
ALSOFT_REQUIRE_SOLARIS
|
ALSOFT_REQUIRE_SOLARIS
|
||||||
|
|
||||||
|
# Use pthread instead of C11 threads
|
||||||
|
CFLAGS+= -D__STDC_NO_THREADS__
|
||||||
# do not link with librt and libdl.
|
# do not link with librt and libdl.
|
||||||
LDFLAGS+= -Wl,--as-needed
|
LDFLAGS+= -Wl,--as-needed
|
||||||
LDFLAGS_i386= -Wl,-z,notext
|
LDFLAGS_i386= -Wl,-z,notext
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue