pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
wip/mesa: Avoid to use -mtls-dialect for NetBSD to fix runtime errors
Module Name: pkgsrc-wip
Committed By: Ryo ONODERA <ryoon%NetBSD.org@localhost>
Pushed By: ryoon
Date: Wed Sep 9 12:52:37 2026 +0900
Changeset: 416bbac2b9ed6f3eb729dfa1a2f1c5221ff6bd3e
Modified Files:
mesa/distinfo
Added Files:
mesa/patches/patch-meson.build
Log Message:
wip/mesa: Avoid to use -mtls-dialect for NetBSD to fix runtime errors
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=416bbac2b9ed6f3eb729dfa1a2f1c5221ff6bd3e
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
mesa/distinfo | 1 +
mesa/patches/patch-meson.build | 13 +++++++++++++
2 files changed, 14 insertions(+)
diffs:
diff --git a/mesa/distinfo b/mesa/distinfo
index 8c72a19097..8ccf8d5a41 100644
--- a/mesa/distinfo
+++ b/mesa/distinfo
@@ -3,6 +3,7 @@ $NetBSD: distinfo,v 1.166 2023/07/18 19:33:31 ryoon Exp $
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-meson.build) = 56aae7cb6f284a787d4ca4ef0ae0d512508a19a8
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
diff --git a/mesa/patches/patch-meson.build b/mesa/patches/patch-meson.build
new file mode 100644
index 0000000000..4d556ef94e
--- /dev/null
+++ b/mesa/patches/patch-meson.build
@@ -0,0 +1,13 @@
+$NetBSD$
+
+--- meson.build.orig 2026-09-09 00:28:54.907977305 +0000
++++ meson.build
+@@ -637,7 +637,7 @@ if not have_mtls_dialect
+ # cross-compiling, but because this is just an optimization we can skip it
+ if meson.is_cross_build() and not meson.can_run_host_binaries()
+ warning('cannot auto-detect -mtls-dialect when cross-compiling, using compiler default')
+- elif host_machine.system() == 'freebsd'
++ elif host_machine.system() == 'freebsd' or host_machine.system() == 'netbsd'
+ warning('cannot use -mtls-dialect for FreeBSD, using compiler default')
+ else
+ # The way to specify the TLSDESC dialect is architecture-specific.
Home |
Main Index |
Thread Index |
Old Index