From c997d3a7cd168df0b22ef0cb8c70ad641d09d97a Mon Sep 17 00:00:00 2001 From: Piotr Kubaj Date: Fri, 25 Aug 2023 09:02:32 +0000 Subject: [PATCH] graphics/libglvnd: disable TLS on powerpc libGLdispatch.so.0`___lldb_unnamed_symbol96: -> 0x51346dac <+4>: .long 0x0005e290 ; unknown opcode --- graphics/libglvnd/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/graphics/libglvnd/Makefile b/graphics/libglvnd/Makefile index df6266bb6a3a..3637abfacfad 100644 --- a/graphics/libglvnd/Makefile +++ b/graphics/libglvnd/Makefile @@ -1,6 +1,6 @@ PORTNAME= libglvnd DISTVERSION= 1.6.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= graphics MAINTAINER= x11@FreeBSD.org @@ -32,6 +32,10 @@ X11_MESON_ENABLED= x11 glx MESON_ARGS+= -Dasm=disabled .endif +.if ${ARCH} == powerpc +MESON_ARGS+= -Dtls=false +.endif + # Lots of software expects gl.pc even when it can build with EGL only post-install-X11-off: ${LN} -s opengl.pc ${STAGEDIR}${PREFIX}/libdata/pkgconfig/gl.pc