aboutsummaryrefslogtreecommitdiff
path: root/xorg
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-05-23 17:14:13 +0300
committerCem Keylan <cem@ckyln.com>2020-05-23 17:14:13 +0300
commit4cfc43950359a55b1ff586daf27e8851a8806eb7 (patch)
tree42ffcee486a324d43e57e845105e89c1f374f6b8 /xorg
parent67970d108ad7ac09c04ee3c86b7440bc5ca016bd (diff)
downloadrepository-4cfc43950359a55b1ff586daf27e8851a8806eb7.tar.gz
mesa: POSIX sed
Diffstat (limited to 'xorg')
-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 \