pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/audio/openal-soft
Module Name: pkgsrc
Committed By: tnn
Date: Mon Apr 13 18:07:27 UTC 2026
Modified Files:
pkgsrc/audio/openal-soft: distinfo
Added Files:
pkgsrc/audio/openal-soft/patches: patch-common_althreads.h
Log Message:
openal-soft: fix build on SunOS
To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 pkgsrc/audio/openal-soft/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/audio/openal-soft/patches/patch-common_althreads.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/audio/openal-soft/distinfo
diff -u pkgsrc/audio/openal-soft/distinfo:1.29 pkgsrc/audio/openal-soft/distinfo:1.30
--- pkgsrc/audio/openal-soft/distinfo:1.29 Mon Jan 26 14:35:36 2026
+++ pkgsrc/audio/openal-soft/distinfo Mon Apr 13 18:07:26 2026
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.29 2026/01/26 14:35:36 adam Exp $
+$NetBSD: distinfo,v 1.30 2026/04/13 18:07:26 tnn Exp $
BLAKE2s (openal-soft-1.25.1.tar.bz2) = 53051e01f058b5bdd5c79da8fb58fb0316e7d6b6858e6a20973ae52391d69452
SHA512 (openal-soft-1.25.1.tar.bz2) = 9207c93e18f2789d97dfec710b5fcedf9ed7df70581ba356678ef4db3f6ee9b634b5b56d206d077866384e1309f0622f8f3f7100f0349d7c4e970cf443441c93
@@ -7,4 +7,5 @@ SHA1 (patch-CMakeLists.txt) = 5440e78b45
SHA1 (patch-alc_alconfig.cpp) = 5fe00b60f6f31165be951324659f5c7ee1898859
SHA1 (patch-alc_backends_alsa.cpp) = 3ee7f86e544d9b33ccbe9422eb87b9540623053a
SHA1 (patch-common_alformat.hpp) = 7c0b567b5c0e9b941f179029b08a76a2f5891b40
+SHA1 (patch-common_althreads.h) = 316de49f7a923a1a1535e49639f5e6bccf0c08d3
SHA1 (patch-include_AL_al.h) = e11858155db9d48ca8ae0d4e28479ec4d674411b
Added files:
Index: pkgsrc/audio/openal-soft/patches/patch-common_althreads.h
diff -u /dev/null pkgsrc/audio/openal-soft/patches/patch-common_althreads.h:1.1
--- /dev/null Mon Apr 13 18:07:27 2026
+++ pkgsrc/audio/openal-soft/patches/patch-common_althreads.h Mon Apr 13 18:07:26 2026
@@ -0,0 +1,20 @@
+$NetBSD: patch-common_althreads.h,v 1.1 2026/04/13 18:07:26 tnn Exp $
+
+Kludge for Illumos: C11 <threads.h> is not supposed[1] to be used from C++11
+mode and it causes the C11 macro to be defined for thread_local.
+Undefine this, thread_local is a compiler builtin in C++11.
+We can't drop the include since that causes other issues.
+[1] C++20 N4860.pdf 16.5.1.2 Headers, footnote 165
+
+--- common/althreads.h.orig 2026-04-13 17:40:51.791228654 +0000
++++ common/althreads.h
+@@ -16,6 +16,9 @@
+ #else
+
+ #include <threads.h>
++#if defined(__sun) && defined(thread_local)
++#undef thread_local
++#endif
+ #endif
+
+
Home |
Main Index |
Thread Index |
Old Index