pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
jgenesis: fix runtime panic
Module Name: pkgsrc-wip
Committed By: pin <voidpin%protonmail.com@localhost>
Pushed By: pin
Date: Thu Sep 17 15:26:12 2026 +0200
Changeset: e35f6ce73241cd77fef9b2a06c76e68815b33484
Modified Files:
jgenesis/distinfo
Added Files:
jgenesis/patches/patch-.._vendor_wgpu-29.0.4_build.rs
jgenesis/patches/patch-.._vendor_wgpu-core-29.0.4_Cargo.toml
jgenesis/patches/patch-.._vendor_wgpu-core-29.0.4_build.rs
Log Message:
jgenesis: fix runtime panic
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=e35f6ce73241cd77fef9b2a06c76e68815b33484
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
jgenesis/distinfo | 3 +++
jgenesis/patches/patch-.._vendor_wgpu-29.0.4_build.rs | 15 +++++++++++++++
.../patches/patch-.._vendor_wgpu-core-29.0.4_Cargo.toml | 15 +++++++++++++++
.../patches/patch-.._vendor_wgpu-core-29.0.4_build.rs | 14 ++++++++++++++
4 files changed, 47 insertions(+)
diffs:
diff --git a/jgenesis/distinfo b/jgenesis/distinfo
index 4aa1221b6a..732626c465 100644
--- a/jgenesis/distinfo
+++ b/jgenesis/distinfo
@@ -1716,3 +1716,6 @@ Size (zune-inflate-0.2.54.crate) = 37973 bytes
BLAKE2s (zune-jpeg-0.5.15.crate) = a84f7dadac3e88940bbacdbca0735a6db3062999448469d4434c5b6fbfe352a5
SHA512 (zune-jpeg-0.5.15.crate) = 99f072129bc11873b25886d73392012a08636575c85ed9237fb8ad247a66ff188b2bd67aa303931f94501735c24ceac24d414186e7ef5010a639f08fbdc855af
Size (zune-jpeg-0.5.15.crate) = 88879 bytes
+SHA1 (patch-.._vendor_wgpu-29.0.4_build.rs) = b7d5e3cb6f3fa5a58a0bafa5f373af135e085e5e
+SHA1 (patch-.._vendor_wgpu-core-29.0.4_Cargo.toml) = 127e0ea068711c224060e428b5278836ec58c222
+SHA1 (patch-.._vendor_wgpu-core-29.0.4_build.rs) = 223256a92d7a0eeae742a210677f54bcf20183b9
diff --git a/jgenesis/patches/patch-.._vendor_wgpu-29.0.4_build.rs b/jgenesis/patches/patch-.._vendor_wgpu-29.0.4_build.rs
new file mode 100644
index 0000000000..60329e3aa2
--- /dev/null
+++ b/jgenesis/patches/patch-.._vendor_wgpu-29.0.4_build.rs
@@ -0,0 +1,15 @@
+$NetBSD$
+
+Enable the GLES/OpenGL backend cfg alias on NetBSD.
+
+--- ../vendor/wgpu-29.0.4/build.rs.orig 2026-09-17 12:45:50.020195032 +0000
++++ ../vendor/wgpu-29.0.4/build.rs
+@@ -24,7 +24,7 @@ fn main() {
+ gles: { any(
+ // The `gles` feature enables the OpenGL/GLES backend only on "native OpenGL" platforms, i.e. Windows, Linux, Android, and Emscripten.
+ // (Note that WebGL is also not included here!)
+- all(any(windows, target_os = "linux", target_os = "android", target_os = "freebsd", Emscripten), feature = "gles"),
++ all(any(windows, target_os = "linux", target_os = "android", target_os = "freebsd", target_os = "netbsd", Emscripten), feature = "gles"),
+ // On Apple platforms, however, we require the `angle` feature to explicitly opt-in to OpenGL
+ // since its meant to be used with ANGLE.
+ all(target_vendor = "apple", feature = "angle")
diff --git a/jgenesis/patches/patch-.._vendor_wgpu-core-29.0.4_Cargo.toml b/jgenesis/patches/patch-.._vendor_wgpu-core-29.0.4_Cargo.toml
new file mode 100644
index 0000000000..e15cb9eb92
--- /dev/null
+++ b/jgenesis/patches/patch-.._vendor_wgpu-core-29.0.4_Cargo.toml
@@ -0,0 +1,15 @@
+$NetBSD$
+
+Enable the GLES/OpenGL backend cfg alias on NetBSD.
+
+--- ../vendor/wgpu-core-29.0.4/Cargo.toml.orig 2026-09-17 12:49:59.860922715 +0000
++++ ../vendor/wgpu-core-29.0.4/Cargo.toml
+@@ -208,7 +208,7 @@ optional = true
+ version = "29.0.0"
+ optional = true
+
+-[target.'cfg(any(windows, target_os = "linux", target_os = "android", target_os = "freebsd"))'.dependencies.wgpu-core-deps-windows-linux-android]
++[target.'cfg(any(windows, target_os = "linux", target_os = "android", target_os = "freebsd", target_os = "netbsd"))'.dependencies.wgpu-core-deps-windows-linux-android]
+ version = "29.0.0"
+ optional = true
+
diff --git a/jgenesis/patches/patch-.._vendor_wgpu-core-29.0.4_build.rs b/jgenesis/patches/patch-.._vendor_wgpu-core-29.0.4_build.rs
new file mode 100644
index 0000000000..7358182dc0
--- /dev/null
+++ b/jgenesis/patches/patch-.._vendor_wgpu-core-29.0.4_build.rs
@@ -0,0 +1,14 @@
+$NetBSD$
+
+Enable the GLES/OpenGL backend cfg alias on NetBSD.
+
+--- ../vendor/wgpu-core-29.0.4/build.rs.orig 2026-09-17 12:47:28.988180809 +0000
++++ ../vendor/wgpu-core-29.0.4/build.rs
+@@ -1,6 +1,6 @@ fn main() {
+ fn main() {
+ cfg_aliases::cfg_aliases! {
+- windows_linux_android: { any(windows, target_os = "linux", target_os = "android", target_os = "freebsd") },
++ windows_linux_android: { any(windows, target_os = "linux", target_os = "android", target_os = "freebsd", target_os = "netbsd") },
+ send_sync: { all(
+ feature = "std",
+ any(
Home |
Main Index |
Thread Index |
Old Index