summaryrefslogtreecommitdiff
path: root/user/mesa/no-tls.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2020-01-26 05:22:06 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2020-01-26 05:22:06 +0000
commit751d5f281eecfecd9e5b9e72b44b03415811fc67 (patch)
treeca3929d5155241cd5383075e70515276cb0470a0 /user/mesa/no-tls.patch
parent0fda0aaec7ec6c3d4609158bc3719eac9aa1c9b4 (diff)
downloadpackages-751d5f281eecfecd9e5b9e72b44b03415811fc67.tar.gz
packages-751d5f281eecfecd9e5b9e72b44b03415811fc67.tar.bz2
packages-751d5f281eecfecd9e5b9e72b44b03415811fc67.tar.xz
packages-751d5f281eecfecd9e5b9e72b44b03415811fc67.zip
user/mesa: Bump to 19.3.2, kill TLS with extreme prejudice
Diffstat (limited to 'user/mesa/no-tls.patch')
-rw-r--r--user/mesa/no-tls.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/user/mesa/no-tls.patch b/user/mesa/no-tls.patch
new file mode 100644
index 000000000..b5e0b3adb
--- /dev/null
+++ b/user/mesa/no-tls.patch
@@ -0,0 +1,14 @@
+--- mesa-19.3.1/meson.build.old 2019-12-18 18:36:00.000000000 +0000
++++ mesa-19.3.1/meson.build 2020-01-26 05:11:44.774286868 +0000
+@@ -386,11 +386,6 @@
+ endif
+ endif
+
+-# Android uses emutls for versions <= P/28. For USE_ELF_TLS we need ELF TLS.
+-if host_machine.system() != 'windows' and (not with_platform_android or get_option('platform-sdk-version') >= 29)
+- pre_args += '-DUSE_ELF_TLS'
+-endif
+-
+ if with_glx != 'disabled'
+ if not (with_platform_x11 and with_any_opengl)
+ error('Cannot build GLX support without X11 platform support and at least one OpenGL API')