summaryrefslogtreecommitdiff
path: root/lib/libX11
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2022-09-03 06:55:26 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2022-09-03 06:55:26 +0000
commit99cf86a73abe5b17dd99568d8413614875d42b91 (patch)
treea4c3e5cdbdb6bc6247293b3d9877952a9f429772 /lib/libX11
parent6d094594ce46895fd45b62bb0c284575920eb91d (diff)
Disable the constructor that calls XInitThreads() at load time.
It triggers bugs in some applications. In particular x11/fvwm{2,3} in ports for which the fix is not straitforward. Tested by Walter Alejandro Iglesias.
Diffstat (limited to 'lib/libX11')
-rw-r--r--lib/libX11/Makefile.bsd-wrapper3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libX11/Makefile.bsd-wrapper b/lib/libX11/Makefile.bsd-wrapper
index 4920cfb86..01a558fc0 100644
--- a/lib/libX11/Makefile.bsd-wrapper
+++ b/lib/libX11/Makefile.bsd-wrapper
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.bsd-wrapper,v 1.28 2022/04/25 19:26:17 matthieu Exp $
+# $OpenBSD: Makefile.bsd-wrapper,v 1.29 2022/09/03 06:55:25 matthieu Exp $
.include <bsd.xconf.mk>
# when buming X11 major also bump:
@@ -14,6 +14,7 @@ SHARED_LIBS= X11 18.0 X11_xcb 2.0
CONFIGURE_ARGS= --enable-tcp-transport --enable-unix-transport --enable-ipv6 \
--disable-composecache \
+ --disable-thread-safety-constructor \
--without-xmlto --without-fop --without-xsltproc
.include <bsd.xorg.mk>