pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
mesa: updated to 26.2.2
Module Name: pkgsrc-wip
Committed By: Adam Ciarciński <adam%defguard.net@localhost>
Pushed By: adam
Date: Tue Sep 8 07:04:56 2026 +0200
Changeset: d314910a574063f9422f7b3dad9f63532de161af
Modified Files:
mesa/Makefile
mesa/PLIST
mesa/distinfo
mesa/patches/patch-src_gallium_drivers_r600_sfn_sfn__valuefactory.cpp
Added Files:
mesa/patches/patch-src_intel_compiler_gen_gen__private.h
mesa/patches/patch-src_panfrost_perf_pan__perf.h
Log Message:
mesa: updated to 26.2.2
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=d314910a574063f9422f7b3dad9f63532de161af
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
mesa/Makefile | 10 ++++------
mesa/PLIST | 13 ++++++-------
mesa/distinfo | 10 ++++++----
...-src_gallium_drivers_r600_sfn_sfn__valuefactory.cpp | 2 ++
.../patch-src_intel_compiler_gen_gen__private.h | 15 +++++++++++++++
mesa/patches/patch-src_panfrost_perf_pan__perf.h | 18 ++++++++++++++++++
6 files changed, 51 insertions(+), 17 deletions(-)
diffs:
diff --git a/mesa/Makefile b/mesa/Makefile
index cb6d5c57d5..71bed4d8d1 100644
--- a/mesa/Makefile
+++ b/mesa/Makefile
@@ -1,6 +1,6 @@
# $NetBSD$
-DISTNAME= mesa-25.3.6
+DISTNAME= mesa-26.2.2
CATEGORIES= graphics
MASTER_SITES= https://mesa.freedesktop.org/archive/
MASTER_SITES+= https://mesa3d.org/archive/
@@ -11,12 +11,10 @@ HOMEPAGE= https://www.mesa3d.org/
COMMENT= Open source OpenGL implementation
LICENSE= mit
-USE_TOOLS+= bison flex pkg-config xgettext
-USE_LANGUAGES= c c++
-
-FORCE_CXX_STD+= c++17
-
USE_FEATURES+= strnlen
+USE_LANGUAGES= c c++
+USE_TOOLS+= bison flex pkg-config xgettext
+FORCE_CXX_STD+= gnu++17 # mixed designated initializers
CFLAGS.SunOS+= -D_POSIX_PTHREAD_SEMANTICS
CXXFLAGS.SunOS+= -Drestrict=__restrict__
diff --git a/mesa/PLIST b/mesa/PLIST
index d1ac548bbb..2f89557f4b 100644
--- a/mesa/PLIST
+++ b/mesa/PLIST
@@ -24,7 +24,6 @@ include/GLES3/gl3ext.h
include/GLES3/gl3platform.h
include/KHR/khrplatform.h
${PLIST.kms}include/gbm.h
-@comment XXX should it be PLIST.kms?
include/gbm_backend_abi.h
${PLIST.arm}lib/dri/apple_dri.so
${PLIST.arm}lib/dri/armada-drm_dri.so
@@ -73,20 +72,18 @@ ${PLIST.arm}lib/dri/st7735r_dri.so
${PLIST.arm}lib/dri/sti_dri.so
${PLIST.arm}lib/dri/stm_dri.so
${PLIST.arm}lib/dri/sun4i-drm_dri.so
-@comment not on apple ?
lib/dri/swrast_dri.so
${PLIST.arm}lib/dri/udl_dri.so
${PLIST.arm}lib/dri/vkms_dri.so
${PLIST.svga}lib/dri/vmwgfx_dri.so
${PLIST.arm}lib/dri/zynqmp-dpsub_dri.so
-@comment not on apple?
lib/gbm/dri_gbm.so
${PLIST.kms}lib/libEGL.so
${PLIST.kms}lib/libEGL.so.1
${PLIST.kms}lib/libEGL.so.1.0.0
${PLIST.glx}lib/libGL.so
-${PLIST.glx}lib/libGL.so.1
${PLIST.glx}lib/libGL.so.${GLVER}
+${PLIST.glx}lib/libGL.so.1
lib/libGLESv1_CM.so
lib/libGLESv1_CM.so.1
lib/libGLESv1_CM.so.1.1.0
@@ -97,9 +94,6 @@ lib/libgallium-${PKGVERSION}.so
${PLIST.kms}lib/libgbm.so
${PLIST.kms}lib/libgbm.so.1
${PLIST.kms}lib/libgbm.so.1.0.0
-@comment lib/libglapi.so
-@comment lib/libglapi.so.0
-@comment lib/libglapi.so.0.0.0
${PLIST.vulkan}${PLIST.arm}lib/libvulkan_broadcom.so
${PLIST.vulkan}${PLIST.arm}lib/libvulkan_freedreno.so
${PLIST.vulkan_intel}lib/libvulkan_intel.so
@@ -112,6 +106,11 @@ ${PLIST.glx}lib/pkgconfig/gl.pc
lib/pkgconfig/glesv1_cm.pc
lib/pkgconfig/glesv2.pc
${PLIST.glx}lib/pkgconfig/glx.pc
+share/drirc.d/00-iris-defaults.conf
+share/drirc.d/00-panfrost-defaults.conf
+share/drirc.d/00-r300-defaults.conf
+share/drirc.d/00-r600-defaults.conf
+share/drirc.d/00-radeonsi-defaults.conf
${PLIST.vulkan}share/drirc.d/00-radv-defaults.conf
share/examples/mesa/00-mesa-defaults.conf
${PLIST.vulkan}${PLIST.arm}share/vulkan/icd.d/broadcom_icd.${MACHINE_ARCH}.json
diff --git a/mesa/distinfo b/mesa/distinfo
index 4a142b4d82..8c72a19097 100644
--- a/mesa/distinfo
+++ b/mesa/distinfo
@@ -1,13 +1,15 @@
$NetBSD: distinfo,v 1.166 2023/07/18 19:33:31 ryoon Exp $
-BLAKE2s (mesa-25.3.6.tar.xz) = 5c6ac9a27f693eb4baf9a2fbb0e7c205cf560ee3ad333b55978ee1f3157792d5
-SHA512 (mesa-25.3.6.tar.xz) = 73620003e1e67c6b5ad076afb19e0b250214cfb6ed830166fb70058173ec3b19a2a8f5b5a78d8cce7a70745f5e4fa439913d15d8b38ca0002455b238f5865d38
-Size (mesa-25.3.6.tar.xz) = 43485532 bytes
+BLAKE2s (mesa-26.2.2.tar.xz) = 848c51fcc42261e1298df55b480996758c5ad1b297809fe6cf3ae966deb8465d
+SHA512 (mesa-26.2.2.tar.xz) = 55b1234c8653dad9b85ba3de7b777a0d957909baf4628f0c00e21d4ba89c004cb687a1dcf8da46ed0a092231dd4f859027509f83ad8c558750845ba470902615
+Size (mesa-26.2.2.tar.xz) = 68533264 bytes
SHA1 (patch-src_egl_drivers_dri2_platform__drm.c) = c982acaf2246858a06a52f548b6103800c0d7c45
SHA1 (patch-src_gallium_auxiliary_pipe-loader_pipe__loader__drm.c) = c6958cf29da9154c673f8c64790ac2bb46ed74bd
SHA1 (patch-src_gallium_auxiliary_vl_vl__csc.c) = 4a67a1ca8ffc10171ccd60123d4222970e5b7a6e
-SHA1 (patch-src_gallium_drivers_r600_sfn_sfn__valuefactory.cpp) = 14a0bc9f0cb7d0f4bc7ba8de49cf162af4e27ddf
+SHA1 (patch-src_gallium_drivers_r600_sfn_sfn__valuefactory.cpp) = dce7340ac40e0d32e6ee00288538b30dc5d7d526
SHA1 (patch-src_glx_glxclient.h) = 4812c1b17bfff6cb43192790aa5cfee5c6c3149d
SHA1 (patch-src_glx_glxcurrent.c) = be95c084b834275ca65a38f446487c68889e1ab5
+SHA1 (patch-src_intel_compiler_gen_gen__private.h) = a45ad64b465ba0bc55b55bdecc35e75eae797af4
+SHA1 (patch-src_panfrost_perf_pan__perf.h) = 93294e8b121f9b01a3d1abf8d257a5f917c530cb
SHA1 (patch-src_util_build__id.c) = 7a9547bbda9d2fb9f0018ccf27b70b59e497aa2c
SHA1 (patch-src_util_os__file.c) = c80d88255a8f800d1e36fc199f3869ecdb61d203
diff --git a/mesa/patches/patch-src_gallium_drivers_r600_sfn_sfn__valuefactory.cpp b/mesa/patches/patch-src_gallium_drivers_r600_sfn_sfn__valuefactory.cpp
index 92649817ed..9495823a32 100644
--- a/mesa/patches/patch-src_gallium_drivers_r600_sfn_sfn__valuefactory.cpp
+++ b/mesa/patches/patch-src_gallium_drivers_r600_sfn_sfn__valuefactory.cpp
@@ -1,5 +1,7 @@
$NetBSD$
+Add missing include.
+
--- src/gallium/drivers/r600/sfn/sfn_valuefactory.cpp.orig 2025-04-30 18:31:25.098356269 +0000
+++ src/gallium/drivers/r600/sfn/sfn_valuefactory.cpp
@@ -12,6 +12,7 @@
diff --git a/mesa/patches/patch-src_intel_compiler_gen_gen__private.h b/mesa/patches/patch-src_intel_compiler_gen_gen__private.h
new file mode 100644
index 0000000000..55cac21b4b
--- /dev/null
+++ b/mesa/patches/patch-src_intel_compiler_gen_gen__private.h
@@ -0,0 +1,15 @@
+$NetBSD$
+
+Add missing include.
+
+--- src/intel/compiler/gen/gen_private.h.orig 2026-09-07 03:31:53.557406499 +0000
++++ src/intel/compiler/gen/gen_private.h
+@@ -8,6 +8,8 @@
+
+ #include "dev/intel_device_info.h"
+
++#include <cstddef>
++
+ enum {
+ GEN_INVALID_HW_REG_TYPE = 0b1111,
+ };
diff --git a/mesa/patches/patch-src_panfrost_perf_pan__perf.h b/mesa/patches/patch-src_panfrost_perf_pan__perf.h
new file mode 100644
index 0000000000..8c99e61937
--- /dev/null
+++ b/mesa/patches/patch-src_panfrost_perf_pan__perf.h
@@ -0,0 +1,18 @@
+$NetBSD$
+
+CLOCK_MONOTONIC_RAW is not portable.
+
+--- src/panfrost/perf/pan_perf.h.orig 2026-09-07 03:49:04.002533916 +0000
++++ src/panfrost/perf/pan_perf.h
+@@ -48,7 +48,11 @@ pan_perf_gpu_clock_id(const struct pan_perf *perf)
+ static inline clockid_t
+ pan_perf_gpu_clock_id(const struct pan_perf *perf)
+ {
++#ifdef CLOCK_MONOTONIC_RAW
+ return CLOCK_MONOTONIC_RAW;
++#else
++ return CLOCK_MONOTONIC;
++#endif
+ }
+
+ static inline uint64_t
Home |
Main Index |
Thread Index |
Old Index