pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/firefox firefox: tolerate libGL.so with a differen...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/92b0a1faeaa6
branches:  trunk
changeset: 396414:92b0a1faeaa6
user:      maya <maya%pkgsrc.org@localhost>
date:      Fri May 31 10:38:59 2019 +0000

description:
firefox: tolerate libGL.so with a different major number on netbsd

Fixes WebGL. PR pkg/54247
Bump PKGREVISION.

diffstat:

 www/firefox/Makefile                                      |   4 +-
 www/firefox/distinfo                                      |   3 +-
 www/firefox/patches/patch-gfx_gl_GLContextProviderGLX.cpp |  16 +++++++++++++++
 3 files changed, 20 insertions(+), 3 deletions(-)

diffs (52 lines):

diff -r 95c4793b234d -r 92b0a1faeaa6 www/firefox/Makefile
--- a/www/firefox/Makefile      Fri May 31 10:06:36 2019 +0000
+++ b/www/firefox/Makefile      Fri May 31 10:38:59 2019 +0000
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.377 2019/05/27 14:19:26 tsutsui Exp $
+# $NetBSD: Makefile,v 1.378 2019/05/31 10:38:59 maya Exp $
 
 FIREFOX_VER=           ${MOZ_BRANCH}${MOZ_BRANCH_MINOR}
 MOZ_BRANCH=            67.0
 MOZ_BRANCH_MINOR=      
-PKGREVISION=           1
+PKGREVISION=           2
 
 DISTNAME=      firefox-${FIREFOX_VER}.source
 PKGNAME=       ${DISTNAME:S/.source//:S/b/beta/:S/esr//}
diff -r 95c4793b234d -r 92b0a1faeaa6 www/firefox/distinfo
--- a/www/firefox/distinfo      Fri May 31 10:06:36 2019 +0000
+++ b/www/firefox/distinfo      Fri May 31 10:38:59 2019 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.352 2019/05/27 14:19:26 tsutsui Exp $
+$NetBSD: distinfo,v 1.353 2019/05/31 10:38:59 maya Exp $
 
 SHA1 (firefox-67.0.source.tar.xz) = c7a5f3182999e5efed5c714653adc538bb75aa53
 RMD160 (firefox-67.0.source.tar.xz) = 48e96058ef1bfb2939d8da93fd6807d212d0df4e
@@ -11,6 +11,7 @@
 SHA1 (patch-dom_media_CubebUtils.cpp) = cafbfb2781967ebe96b4f77b8a0630fff537fd02
 SHA1 (patch-gfx_angle_checkout_src_common_third__party_smhasher_src_PMurHash.cpp) = 383f25417ad74f3ef8034437b52fc23f3bcbfc24
 SHA1 (patch-gfx_angle_checkout_src_compiler_translator_InfoSink.h) = 2f73c76c48852613e0c55c1680fcc2a9eb3cf4ef
+SHA1 (patch-gfx_gl_GLContextProviderGLX.cpp) = 02a212618df146b2b56f5f0aaf282eafa1df6653
 SHA1 (patch-gfx_skia_skia_src_core_SkCpu.cpp) = 36218819254f3681b9c717d652ea78c9f20d49ad
 SHA1 (patch-ipc_chromium_src_base_lock__impl__posix.cc) = d84d9b4d416e049423120dcbf9199644ce1c93ab
 SHA1 (patch-ipc_chromium_src_base_message__pump__libevent.cc) = 4a6606da590cfb8d855bde58b9c6f90e98d0870c
diff -r 95c4793b234d -r 92b0a1faeaa6 www/firefox/patches/patch-gfx_gl_GLContextProviderGLX.cpp
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/firefox/patches/patch-gfx_gl_GLContextProviderGLX.cpp Fri May 31 10:38:59 2019 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-gfx_gl_GLContextProviderGLX.cpp,v 1.3 2019/05/31 10:38:59 maya Exp $
+
+NetBSD doesn't ship libGL.so.1 due to a major bump. Look for the unversioned
+name.
+
+--- gfx/gl/GLContextProviderGLX.cpp.orig       2019-05-17 00:33:26.000000000 +0000
++++ gfx/gl/GLContextProviderGLX.cpp
+@@ -80,7 +80,7 @@ bool GLXLibrary::EnsureInitialized() {
+     // which trigger glibc bug
+     // http://sourceware.org/bugzilla/show_bug.cgi?id=12225
+     const char* libGLfilename = "libGL.so.1";
+-#ifdef __OpenBSD__
++#if defined(__OpenBSD__) || defined(__NetBSD__)
+     libGLfilename = "libGL.so";
+ #endif
+ 



Home | Main Index | Thread Index | Old Index