git: 744834fc05a6 - main - graphics/mesa-devel: update to 24.2.b.2708

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Wed, 18 Sep 2024 23:43:25 UTC
The branch main has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=744834fc05a6509d61a48daf872d88878fcde904

commit 744834fc05a6509d61a48daf872d88878fcde904
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2024-09-18 18:53:25 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2024-09-18 23:40:09 +0000

    graphics/mesa-devel: update to 24.2.b.2708
    
    Changes:        https://gitlab.freedesktop.org/mesa/mesa/-/compare/5450306a363...55260d7729e
---
 graphics/mesa-devel/Makefile             | 4 ++--
 graphics/mesa-devel/distinfo             | 6 +++---
 graphics/mesa-devel/files/libmap.conf.in | 1 +
 graphics/mesa-devel/files/patch-suffix   | 9 +++++++++
 graphics/mesa-devel/pkg-plist            | 1 +
 5 files changed, 16 insertions(+), 5 deletions(-)

diff --git a/graphics/mesa-devel/Makefile b/graphics/mesa-devel/Makefile
index 4086cf0167d0..c8f27376fd09 100644
--- a/graphics/mesa-devel/Makefile
+++ b/graphics/mesa-devel/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	mesa
-DISTVERSION=	24.2-branchpoint-2516
-DISTVERSIONSUFFIX=	-g5450306a363
+DISTVERSION=	24.2-branchpoint-2708
+DISTVERSIONSUFFIX=	-g55260d7729e
 CATEGORIES=	graphics
 PKGNAMESUFFIX=	-devel
 
diff --git a/graphics/mesa-devel/distinfo b/graphics/mesa-devel/distinfo
index 2c0fdb355754..843d20a97445 100644
--- a/graphics/mesa-devel/distinfo
+++ b/graphics/mesa-devel/distinfo
@@ -1,6 +1,6 @@
-TIMESTAMP = 1726260485
-SHA256 (mesa-24.2-branchpoint-2516-g5450306a363.tar.bz2) = 683f4a88825275c2a8b62846c0ac3edf3c8c3eca1f5374d5245d53330fff0c88
-SIZE (mesa-24.2-branchpoint-2516-g5450306a363.tar.bz2) = 38149560
+TIMESTAMP = 1726685605
+SHA256 (mesa-24.2-branchpoint-2708-g55260d7729e.tar.bz2) = 726b6c2a282c1f41298c4c277d139d23f12a45afc7290faefc75af805002d25e
+SIZE (mesa-24.2-branchpoint-2708-g55260d7729e.tar.bz2) = 38151746
 SHA256 (700efacda59c.patch) = 0d567fe737ad1404e1f12d7cd018826d9095c23835f1ed5aaa1c81cb58d3d008
 SIZE (700efacda59c.patch) = 983
 SHA256 (2930dcbb3329.patch) = f90ab77950ba1a56d165f0bc8a3cbd9c5f624bb5c67d1c7f337316027e8295e8
diff --git a/graphics/mesa-devel/files/libmap.conf.in b/graphics/mesa-devel/files/libmap.conf.in
index 17ed9dc1c888..70839fa6a0b6 100644
--- a/graphics/mesa-devel/files/libmap.conf.in
+++ b/graphics/mesa-devel/files/libmap.conf.in
@@ -7,6 +7,7 @@ libEGL_mesa.so.0 libEGL_mesa%%SUFFIX%%.so.0
 
 # GBM clients like kmscube and wlroots fail otherwise
 libgbm.so.1 libgbm%%SUFFIX%%.so.1
+%%PREFIX%%/lib/gbm/dri_gbm.so %%PREFIX%%/lib/gbm/dri%%SUFFIX%%_gbm.so
 
 %%OPENCL%%libMesaOpenCL.so.1 libMesaOpenCL%%SUFFIX%%.so.1
 
diff --git a/graphics/mesa-devel/files/patch-suffix b/graphics/mesa-devel/files/patch-suffix
index 02fefbc5e3d6..1a79b6a23802 100644
--- a/graphics/mesa-devel/files/patch-suffix
+++ b/graphics/mesa-devel/files/patch-suffix
@@ -115,6 +115,15 @@ Library selection is handled by libglvnd and/or libmap.conf.
  
  _kmsro_targets = [
     driver_kmsro, driver_v3d, driver_vc4, driver_freedreno, driver_etnaviv,
+--- src/gbm/backends/dri/meson.build.orig	2024-09-18 22:32:20 UTC
++++ src/gbm/backends/dri/meson.build
+@@ -1,5 +1,5 @@ libgbm_dri = shared_library(
+ libgbm_dri = shared_library(
+-  'dri_gbm',
++  'dri' + get_option('egl-lib-suffix') + '_gbm',
+   files('gbm_dri.c', 'gbm_driint.h'),
+   include_directories : incs_gbm,
+   link_args : [ld_args_gc_sections],
 --- src/gbm/meson.build.orig	2022-09-12 22:59:56 UTC
 +++ src/gbm/meson.build
 @@ -52,7 +52,7 @@ libgbm = shared_library(
diff --git a/graphics/mesa-devel/pkg-plist b/graphics/mesa-devel/pkg-plist
index 6feff92b5c39..f08d7bbb85db 100644
--- a/graphics/mesa-devel/pkg-plist
+++ b/graphics/mesa-devel/pkg-plist
@@ -19,6 +19,7 @@
 %%OPENCL%%%%iris%%lib/gallium-pipe%%SUFFIX%%/pipe_iris.so
 %%OPENCL%%%%r600%%lib/gallium-pipe%%SUFFIX%%/pipe_r600.so
 %%OPENCL%%%%radeonsi%%lib/gallium-pipe%%SUFFIX%%/pipe_radeonsi.so
+lib/gbm/dri%%SUFFIX%%_gbm.so
 %%NO_COINST%%lib/libEGL_mesa%%SUFFIX%%.so
 lib/libEGL_mesa%%SUFFIX%%.so.0
 lib/libEGL_mesa%%SUFFIX%%.so.0.0.0