New commits:
commit 3466b6f87cdf28e0806308dfeb8d9afabfc6dd01
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>
mesa: Add patches for musl-based systems
- Add option to disable initial-exec TLS model (see comment on BUILD)
- Fix endianness test on musl
- Fix stack size issue on musl
- Fix thread id type and missing includes on musl
diff --git a/graphics-libs/mesa/BUILD b/graphics-libs/mesa/BUILD
index 1004204..6e6b62e 100755
--- a/graphics-libs/mesa/BUILD
+++ b/graphics-libs/mesa/BUILD
@@ -30,6 +30,7 @@ OPTS+=" dri-drivers=${dri// /,} \
glx=${MESA_GLX// /,} \
tools=${MESA_TOOLS// /,} \
swr-arches=${MESA_ARCH// /,} \
+ use-elf-tls=false \
$MESA_GLES1 $MESA_GLES2" &&
echo "OPTS=$OPTS" &&
PREFIX=/usr &&
diff --git a/graphics-libs/mesa/HISTORY b/graphics-libs/mesa/HISTORY
index 6761277..6a3d3e2 100644
--- a/graphics-libs/mesa/HISTORY
+++ b/graphics-libs/mesa/HISTORY
@@ -1,3 +1,8 @@
+2021-08-10 Ismael Luceno <ismael AT sourcemage.org>
+ * PRE_BUILD, patches/add-use-elf-tls.patch, patches/musl-endian.patch,
+ patches/musl-stacksize.patch, patches/musl.patch:
+ Added fixes for musl libc systems
+
2021-08-07 Justin Boffemmyer <flux AT sourcemage.org>
* CONFIGURE: strip leading spaces from driver lists,
make DRI, Gallium, and Vulkan naming/messges consistent
diff --git a/graphics-libs/mesa/PRE_BUILD b/graphics-libs/mesa/PRE_BUILD
index 43e52fa..348da29 100755
--- a/graphics-libs/mesa/PRE_BUILD
+++ b/graphics-libs/mesa/PRE_BUILD
@@ -1,6 +1,10 @@
default_pre_build &&
cd "$SOURCE_DIRECTORY" &&