From 7ed65c7589f25d8d8c39e6a98f7787a0da116d23 Mon Sep 17 00:00:00 2001 From: wiz Date: Thu, 9 Nov 2023 15:22:49 +0000 Subject: [PATCH] firefox115: copy files/firefox.sh from www/firefox Addresses PR 57688 by John McCue. --- www/firefox115/files/firefox.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/www/firefox115/files/firefox.sh b/www/firefox115/files/firefox.sh index 35bfd59ff3fe..b2b1ab565506 100755 --- a/www/firefox115/files/firefox.sh +++ b/www/firefox115/files/firefox.sh @@ -1,7 +1,7 @@ #!/bin/sh if [ -f /usr/X11R7/lib/libEGL.so ] && [ -z "$LD_PRELOAD" ] && \ nm /usr/X11R7/lib/libGL.so | grep -Fq "B _glapi_tls_Dispatch"; then - # Temporary workaround for PR#57445 + # Workaround for PR#57445/50277 for netbsd-9 & netbsd-10 pre 2023-08-05 # This may not avoid a crash 100% of the time, but changes at least some # cases of 100% crash on startup to "have not yet seen crash on startup" echo "Applying libEGL LD_PRELOAD workaround for NetBSD" >&2 @@ -11,4 +11,4 @@ if [ -f /usr/X11R7/lib/libEGL.so ] && [ -z "$LD_PRELOAD" ] && \ # by default, but it's not even worth looking at that on a system without # the fixed libGL fi -exec /usr/pkg/lib/firefox/firefox "$@" +exec @PREFIX@/lib/@MOZILLA@/@MOZILLA@ "$@"