pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/MesaLib MesaLib: Revert upstream commit causi...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e4efc258d39f
branches:  trunk
changeset: 409837:e4efc258d39f
user:      nia <nia%pkgsrc.org@localhost>
date:      Tue Jan 21 14:41:26 2020 +0000

description:
MesaLib: Revert upstream commit causing symbol ref errors with libEGL

Bump PKGREVISION

diffstat:

 graphics/MesaLib/Makefile                                           |   4 +-
 graphics/MesaLib/distinfo                                           |   3 +-
 graphics/MesaLib/patches/patch-src_egl_drivers_dri2_platform__drm.c |  23 ++++++++++
 3 files changed, 27 insertions(+), 3 deletions(-)

diffs (58 lines):

diff -r 4cd1d79fe6d6 -r e4efc258d39f graphics/MesaLib/Makefile
--- a/graphics/MesaLib/Makefile Tue Jan 21 14:17:50 2020 +0000
+++ b/graphics/MesaLib/Makefile Tue Jan 21 14:41:26 2020 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.182 2020/01/18 21:30:05 triaxx Exp $
+# $NetBSD: Makefile,v 1.183 2020/01/21 14:41:26 nia Exp $
 
 DISTNAME=      mesa-19.2.7
 PKGNAME=       ${DISTNAME:S/mesa/MesaLib/}
-PKGREVISION=   2
+PKGREVISION=   3
 CATEGORIES=    graphics
 MASTER_SITES=  https://mesa.freedesktop.org/archive/
 EXTRACT_SUFX=  .tar.xz
diff -r 4cd1d79fe6d6 -r e4efc258d39f graphics/MesaLib/distinfo
--- a/graphics/MesaLib/distinfo Tue Jan 21 14:17:50 2020 +0000
+++ b/graphics/MesaLib/distinfo Tue Jan 21 14:41:26 2020 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.146 2020/01/18 21:29:05 triaxx Exp $
+$NetBSD: distinfo,v 1.147 2020/01/21 14:41:26 nia Exp $
 
 SHA1 (mesa-19.2.7.tar.xz) = 9b8ebf66770353a48bd710e12e2727fb33645f44
 RMD160 (mesa-19.2.7.tar.xz) = 5323b623ac22c168b86548cf6d842ce004e346a9
@@ -8,6 +8,7 @@
 SHA1 (patch-src_amd_common_ac__debug.c) = 8233367c3b5bc344442ea8d19488fdd1e3791ae9
 SHA1 (patch-src_compiler_builtin__type__macros.h) = e4868011711fb89a293580a12eb603b8e7162336
 SHA1 (patch-src_compiler_glsl_glsl__parser__extras.cpp) = ef114d6e288e6d212fce9d1c0606f7d454a171c4
+SHA1 (patch-src_egl_drivers_dri2_platform__drm.c) = 9230fbae2c04246ebca8437ecad694bbae857fbe
 SHA1 (patch-src_egl_drivers_dri2_platform__x11.c) = 49e48c31eacb79d1da357fe70eaffd2926b5280e
 SHA1 (patch-src_egl_main_eglglobals.c) = 0d52014f52e62fc5fa6650336ddb0011ecf331e6
 SHA1 (patch-src_gallium_auxiliary_pipe-loader_pipe__loader__drm.c) = f913b779404e6bd8ae707a4fd66eb7c1dca9b311
diff -r 4cd1d79fe6d6 -r e4efc258d39f graphics/MesaLib/patches/patch-src_egl_drivers_dri2_platform__drm.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/MesaLib/patches/patch-src_egl_drivers_dri2_platform__drm.c       Tue Jan 21 14:41:26 2020 +0000
@@ -0,0 +1,23 @@
+$NetBSD: patch-src_egl_drivers_dri2_platform__drm.c,v 1.5 2020/01/21 14:41:26 nia Exp $
+
+Revert: https://cgit.freedesktop.org/mesa/mesa/commit/?id=621b0fa8922ade0a8122b868177308e65e6d3595
+
+This causes symbol referencing errors:
+"ld: /usr/pkg/lib/libEGL.so.1: undefined reference to `gbm_format_get_name'"
+
+TODO: Talk to upstream and investigate why.
+
+--- src/egl/drivers/dri2/platform_drm.c.orig   2019-12-04 22:10:12.000000000 +0000
++++ src/egl/drivers/dri2/platform_drm.c
+@@ -649,9 +649,8 @@ drm_add_configs_for_visuals(_EGLDriver *
+ 
+    for (unsigned i = 0; i < ARRAY_SIZE(format_count); i++) {
+       if (!format_count[i]) {
+-         struct gbm_format_name_desc desc;
+-         _eglLog(_EGL_DEBUG, "No DRI config supports native format %s",
+-                 gbm_format_get_name(visuals[i].gbm_format, &desc));
++         _eglLog(_EGL_DEBUG, "No DRI config supports native format 0x%x",
++                 visuals[i].gbm_format);
+       }
+    }
+ 



Home | Main Index | Thread Index | Old Index