aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xxorg/mesa/build3
1 files changed, 2 insertions, 1 deletions
diff --git a/xorg/mesa/build b/xorg/mesa/build
index 9a7f79bd..6f94463d 100755
--- a/xorg/mesa/build
+++ b/xorg/mesa/build
@@ -6,7 +6,8 @@ export CFLAGS="-DGLX_X86_READONLY_TEXT $CFLAGS"
# Fix issues with musl and firefox.
# https://bugs.freedesktop.org/show_bug.cgi?id=35268
# https://github.com/mesa3d/mesa/commit/9f37c9903b87f86a533bfaffa72f0ecb285b02b2
-sed -i "/pre_args += '-DUSE_ELF_TLS'/d" meson.build
+sed "/pre_args += '-DUSE_ELF_TLS'/d" meson.build >_
+cat _ > meson.build; rm -f _
meson \
--prefix=/usr \