pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

jgenesis: do not restrict xrandr to Linux



Module Name:	pkgsrc-wip
Committed By:	pin <voidpin%protonmail.com@localhost>
Pushed By:	pin
Date:		Sun Aug 11 14:54:24 2024 +0200
Changeset:	b6583f34f3ad5c360d0d8574787896f6e2b0294d

Modified Files:
	jgenesis/distinfo
Added Files:
	jgenesis/patches/patch-frontend_jgenesis-gui_Cargo.toml

Log Message:
jgenesis: do not restrict xrandr to Linux

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=b6583f34f3ad5c360d0d8574787896f6e2b0294d

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 jgenesis/distinfo                                       |  1 +
 jgenesis/patches/patch-frontend_jgenesis-gui_Cargo.toml | 15 +++++++++++++++
 2 files changed, 16 insertions(+)

diffs:
diff --git a/jgenesis/distinfo b/jgenesis/distinfo
index ddde1debbc..e4daf448e8 100644
--- a/jgenesis/distinfo
+++ b/jgenesis/distinfo
@@ -1623,3 +1623,4 @@ Size (zvariant_derive-4.0.3.crate) = 11000 bytes
 BLAKE2s (zvariant_utils-1.1.1.crate) = 066c32e7637dd2c7493f009cfe6e4bfd1b1ae2944a4ac214276301d021f92e5f
 SHA512 (zvariant_utils-1.1.1.crate) = 4ee75536e57aa6f05e9739c1a3bb037ebc276d22206c0a3ddc3c245395aefead5f8197af1e659e33780df968715101831c286ef28513aaf7f2a5e4a43767cdc3
 Size (zvariant_utils-1.1.1.crate) = 6859 bytes
+SHA1 (patch-frontend_jgenesis-gui_Cargo.toml) = ba88dfd7d841c77edecc0baf43bc8b26eeef7800
diff --git a/jgenesis/patches/patch-frontend_jgenesis-gui_Cargo.toml b/jgenesis/patches/patch-frontend_jgenesis-gui_Cargo.toml
new file mode 100644
index 0000000000..ede0499611
--- /dev/null
+++ b/jgenesis/patches/patch-frontend_jgenesis-gui_Cargo.toml
@@ -0,0 +1,15 @@
+$NetBSD$
+
+xrandr is NOT Linux only, fix this non-sense.
+
+--- frontend/jgenesis-gui/Cargo.toml.orig	2024-08-11 12:49:06.861702305 +0000
++++ frontend/jgenesis-gui/Cargo.toml
+@@ -32,7 +32,7 @@ sdl2 = { workspace = true }
+ time = { workspace = true, features = ["formatting", "local-offset"] }
+ toml = { workspace = true }
+ 
+-[target.'cfg(target_os = "linux")'.dependencies]
++[target.'cfg(all(unix, not(target_os = "macos")))'.dependencies]
+ xrandr = { workspace = true }
+ 
+ [package.metadata.packager]


Home | Main Index | Thread Index | Old Index