File angle_link_glx.patch of Package nodejs-electron

Link libGL.so instead of dlopening it per shared library policy
ANGLE supports this setting but it is not properly exposed in the GN build

--- a/third_party/angle/BUILD.gn
+++ b/third_party/angle/BUILD.gn
@@ -138,6 +138,7 @@
   ]
 
   defines = []
+  defines+= ["ANGLE_LINK_GLX"]
 
   if (is_win) {
     defines += [ "ANGLE_IS_WIN" ]
openSUSE Build Service is sponsored by