Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libepoxy for openSUSE:Factory 
checked in at 2021-09-03 21:25:38
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libepoxy (Old)
 and      /work/SRC/openSUSE:Factory/.libepoxy.new.1899 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libepoxy"

Fri Sep  3 21:25:38 2021 rev:17 rq:914765 version:1.5.9

Changes:
--------
--- /work/SRC/openSUSE:Factory/libepoxy/libepoxy.changes        2021-05-23 
23:30:49.908680751 +0200
+++ /work/SRC/openSUSE:Factory/.libepoxy.new.1899/libepoxy.changes      
2021-09-03 21:25:51.962157616 +0200
@@ -1,0 +2,6 @@
+Sun Aug 15 14:45:30 UTC 2021 - Bj??rn Lie <bjorn....@gmail.com>
+
+- Update to version 1.5.9:
+  + Allow libopengl.so to be used when GLX_LIB is missing.
+
+-------------------------------------------------------------------

Old:
----
  libepoxy-1.5.8.tar.xz

New:
----
  libepoxy-1.5.9.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ libepoxy.spec ++++++
--- /var/tmp/diff_new_pack.Q86d9D/_old  2021-09-03 21:25:52.390158063 +0200
+++ /var/tmp/diff_new_pack.Q86d9D/_new  2021-09-03 21:25:52.390158063 +0200
@@ -18,7 +18,7 @@
 
 %define sonum   0
 Name:           libepoxy
-Version:        1.5.8
+Version:        1.5.9
 Release:        0
 Summary:        OpenGL function pointer management library
 License:        MIT

++++++ libepoxy-1.5.8.tar.xz -> libepoxy-1.5.9.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libepoxy-1.5.8/meson.build 
new/libepoxy-1.5.9/meson.build
--- old/libepoxy-1.5.8/meson.build      2021-05-21 17:56:01.911801300 +0200
+++ new/libepoxy-1.5.9/meson.build      2021-08-14 15:55:37.833696000 +0200
@@ -1,4 +1,4 @@
-project('libepoxy', 'c', version: '1.5.8',
+project('libepoxy', 'c', version: '1.5.9',
         default_options: [
           'buildtype=debugoptimized',
           'c_std=gnu99',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libepoxy-1.5.8/src/dispatch_common.c 
new/libepoxy-1.5.9/src/dispatch_common.c
--- old/libepoxy-1.5.8/src/dispatch_common.c    2021-05-21 17:56:01.923801400 
+0200
+++ new/libepoxy-1.5.9/src/dispatch_common.c    2021-08-14 15:55:37.850696000 
+0200
@@ -670,13 +670,23 @@
     get_dlopen_handle(&api.gl_handle, OPENGL_LIB, true, true);
 #else
 
+    // Prefer GLX_LIB over OPENGL_LIB to maintain existing behavior.
+    // Using the inverse ordering OPENGL_LIB -> GLX_LIB, causes issues such as:
+    // https://github.com/anholt/libepoxy/issues/240 (apitrace missing calls)
+    // https://github.com/anholt/libepoxy/issues/252 (Xorg boot crash)
+    get_dlopen_handle(&api.glx_handle, GLX_LIB, false, true);
+    api.gl_handle = api.glx_handle;
+
 #if defined(OPENGL_LIB)
     if (!api.gl_handle)
-       get_dlopen_handle(&api.gl_handle, OPENGL_LIB, false, true);
+        get_dlopen_handle(&api.gl_handle, OPENGL_LIB, false, true);
 #endif
 
-    get_dlopen_handle(&api.glx_handle, GLX_LIB, true, true);
-    api.gl_handle = api.glx_handle;
+    if (!api.gl_handle) {
+        fprintf(stderr, "Couldn't open %s or %s\n", GLX_LIB, OPENGL_LIB);
+        abort();
+    }
+
 #endif
 }
 

Reply via email to