git: 13d55b0eaa13 - main - graphics/mesa-dri: fix build with clang 19

From: Jung-uk Kim <jkim_at_FreeBSD.org>
Date: Fri, 01 Nov 2024 18:11:23 UTC
The branch main has been updated by jkim:

URL: https://cgit.FreeBSD.org/ports/commit/?id=13d55b0eaa133e37a6834fa335d7cf02dc09080d

commit 13d55b0eaa133e37a6834fa335d7cf02dc09080d
Author:     Jung-uk Kim <jkim@FreeBSD.org>
AuthorDate: 2024-11-01 18:09:57 +0000
Commit:     Jung-uk Kim <jkim@FreeBSD.org>
CommitDate: 2024-11-01 18:09:57 +0000

    graphics/mesa-dri: fix build with clang 19
    
    Reviewed by:    manu
    Tested by:      jbeich
    PR:             282316
---
 graphics/mesa-dri/Makefile        | 1 +
 graphics/mesa-dri/Makefile.common | 2 ++
 graphics/mesa-dri/distinfo        | 4 ++++
 3 files changed, 7 insertions(+)

diff --git a/graphics/mesa-dri/Makefile b/graphics/mesa-dri/Makefile
index 7d2f4ca6c254..dec8ac255477 100644
--- a/graphics/mesa-dri/Makefile
+++ b/graphics/mesa-dri/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	mesa-dri
 PORTVERSION=	${MESAVERSION}
+PORTREVISION=	1
 CATEGORIES=	graphics
 
 COMMENT=	OpenGL hardware acceleration drivers for DRI2+
diff --git a/graphics/mesa-dri/Makefile.common b/graphics/mesa-dri/Makefile.common
index a1a197c3262d..a97e27012721 100644
--- a/graphics/mesa-dri/Makefile.common
+++ b/graphics/mesa-dri/Makefile.common
@@ -17,6 +17,8 @@ DISTFILES=	mesa-${MESAVERSION}${EXTRACT_SUFX}
 
 PATCH_SITES=	https://gitlab.freedesktop.org/mesa/mesa/-/commit/
 PATCHFILES+=	4a253aae7ca437201d2a31d2a11a1a5434fe41f1.patch:-p1 # https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26284
+PATCHFILES+=	5a9c052ba78e5d1b0020b8f8320d211d2205a958.patch:-p1 # https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29993
+PATCHFILES+=	5d48fb19553c15bbbac498afcb7cc8710a803716.patch:-p1 # https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31931
 
 MAINTAINER=	x11@FreeBSD.org
 
diff --git a/graphics/mesa-dri/distinfo b/graphics/mesa-dri/distinfo
index 98ad1ec6a58b..a28cf969a7e1 100644
--- a/graphics/mesa-dri/distinfo
+++ b/graphics/mesa-dri/distinfo
@@ -3,3 +3,7 @@ SHA256 (mesa-24.1.7.tar.xz) = ecd2e7b1c73998f4103542f39c6b8c968d251637ccc8caa426
 SIZE (mesa-24.1.7.tar.xz) = 29206724
 SHA256 (4a253aae7ca437201d2a31d2a11a1a5434fe41f1.patch) = 84f18f14788bd8f387e2fc754b945bf30f84b517dd917785ed5d8ef1d594e24a
 SIZE (4a253aae7ca437201d2a31d2a11a1a5434fe41f1.patch) = 1626
+SHA256 (5a9c052ba78e5d1b0020b8f8320d211d2205a958.patch) = 4b4b7e205ea333db66c809d442f17e1f865aa623c54e7e4d918c45a1f2c9704f
+SIZE (5a9c052ba78e5d1b0020b8f8320d211d2205a958.patch) = 2162
+SHA256 (5d48fb19553c15bbbac498afcb7cc8710a803716.patch) = 316360bdb0e0eb46075a8e537e1147283d1e88f2ee48d9eac13bb8c24f7d7b46
+SIZE (5d48fb19553c15bbbac498afcb7cc8710a803716.patch) = 1090