Hello community,

here is the log from the commit of package cogl for openSUSE:Factory checked in 
at 2020-02-26 15:14:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/cogl (Old)
 and      /work/SRC/openSUSE:Factory/.cogl.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "cogl"

Wed Feb 26 15:14:25 2020 rev:47 rq:779104 version:1.22.4+8

Changes:
--------
--- /work/SRC/openSUSE:Factory/cogl/cogl.changes        2020-01-28 
10:47:32.948510641 +0100
+++ /work/SRC/openSUSE:Factory/.cogl.new.26092/cogl.changes     2020-02-26 
15:14:31.142325178 +0100
@@ -1,0 +2,6 @@
+Mon Feb 24 14:35:32 UTC 2020 - Stefan Dirsch <[email protected]>
+
+- Add cogl-fix-mesa20.patch: fixes build against Mesa 20
+  (boo#1164688, glgo#GNOME/cogl!17).
+
+-------------------------------------------------------------------

New:
----
  cogl-fix-mesa20.patch

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

Other differences:
------------------
++++++ cogl.spec ++++++
--- /var/tmp/diff_new_pack.fAFKYI/_old  2020-02-26 15:14:32.098327086 +0100
+++ /var/tmp/diff_new_pack.fAFKYI/_new  2020-02-26 15:14:32.098327086 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package cogl
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -28,6 +28,8 @@
 #Source0:       
http://download.gnome.org/sources/cogl/1.22/%%{name}-%%{version}.tar.xz
 Source:         %{name}-%{version}.tar.xz
 Source99:       baselibs.conf
+# PATCH-FIX-UPSTREAM cogl-fix-mesa20.patch [email protected] -- Fix build 
against Mesa 20
+Patch0:         cogl-fix-mesa20.patch
 
 BuildRequires:  fdupes
 BuildRequires:  gtk-doc >= 1.13

++++++ cogl-fix-mesa20.patch ++++++
--- cogl-1.22.4+8.orig/configure.ac     2020-02-24 14:18:52.687126415 +0000
+++ cogl-1.22.4+8/configure.ac  2020-02-24 14:30:10.484314856 +0000
@@ -1216,6 +1216,12 @@
               [],
               [AC_MSG_ERROR([Unable to locate required EGL headers])],
               [#include <EGL/egl.h>])
+            AC_CHECK_HEADERS(
+              [EGL/eglmesaext.h],
+              [],
+              [AC_MSG_ERROR([Unable to locate required EGL headers])],
+              [#include <EGL/egl.h>
+#include <EGL/eglext.h>])
 
             AC_CHECK_LIB(EGL, [eglInitialize],
               [COGL_EXTRA_LDFLAGS="$COGL_EXTRA_LDFLAGS -lEGL"],
@@ -1226,7 +1232,8 @@
           )
 
         COGL_EGL_INCLUDES="#include <EGL/egl.h>
-#include <EGL/eglext.h>"
+#include <EGL/eglext.h>
+#include <EGL/eglmesaext.h>"
         AC_SUBST([COGL_EGL_INCLUDES])
       ])
 

Reply via email to