summaryrefslogtreecommitdiff
path: root/games/veloren-weekly/files/patch-unix
diff options
context:
space:
mode:
Diffstat (limited to 'games/veloren-weekly/files/patch-unix')
-rw-r--r--games/veloren-weekly/files/patch-unix50
1 files changed, 0 insertions, 50 deletions
diff --git a/games/veloren-weekly/files/patch-unix b/games/veloren-weekly/files/patch-unix
index 89f0f2dffd96..39f63c68b19c 100644
--- a/games/veloren-weekly/files/patch-unix
+++ b/games/veloren-weekly/files/patch-unix
@@ -1,55 +1,5 @@
Relax Linux checks for the code works on any non-Windows platform.
---- cargo-crates/wgpu-27.0.1/build.rs.orig 2006-07-24 01:21:28 UTC
-+++ cargo-crates/wgpu-27.0.1/build.rs
-@@ -16,7 +16,7 @@ fn main() {
- metal: { all(target_vendor = "apple", feature = "metal") },
- vulkan: { any(
- // The `vulkan` feature enables the Vulkan backend only on "native Vulkan" platforms, i.e. Windows/Linux/Android
-- all(any(windows, target_os = "linux", target_os = "android", target_os = "freebsd"), feature = "vulkan"),
-+ all(any(windows, unix), not(target_vendor = "apple"), feature = "vulkan"),
- // On Apple platforms, however, we require the `vulkan-portability` feature
- // to explicitly opt-in to Vulkan since it's meant to be used with MoltenVK.
- all(target_vendor = "apple", feature = "vulkan-portability")
-@@ -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, unix, Emscripten), not(target_vendor = "apple"), 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")
---- cargo-crates/wgpu-core-27.0.3/Cargo.toml.orig 1970-01-01 00:00:01 UTC
-+++ cargo-crates/wgpu-core-27.0.3/Cargo.toml
-@@ -201,7 +201,7 @@ optional = true
- version = "27.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(all(any(windows, unix), not(target_vendor = "apple")))'.dependencies.wgpu-core-deps-windows-linux-android]
- version = "27.0.0"
- optional = true
-
---- cargo-crates/wgpu-core-27.0.3/build.rs.orig 2006-07-24 01:21:28 UTC
-+++ cargo-crates/wgpu-core-27.0.3/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: { all(any(windows, unix), not(target_vendor = "apple")) },
- send_sync: { all(
- feature = "std",
- any(
---- cargo-crates/wgpu-core-deps-windows-linux-android-27.0.0/Cargo.toml.orig 1970-01-01 00:00:01 UTC
-+++ cargo-crates/wgpu-core-deps-windows-linux-android-27.0.0/Cargo.toml
-@@ -38,5 +38,5 @@ path = "src/lib.rs"
- name = "wgpu_core_deps_windows_linux_android"
- path = "src/lib.rs"
-
--[target.'cfg(any(windows, target_os = "linux", target_os = "android", target_os = "freebsd"))'.dependencies.wgpu-hal]
-+[target.'cfg(all(any(windows, unix), not(target_vendor = "apple")))'.dependencies.wgpu-hal]
- version = "27.0.0"
--- cargo-crates/wgpu-hal-27.0.4/src/vulkan/adapter.rs.orig 2006-07-24 01:21:28 UTC
+++ cargo-crates/wgpu-hal-27.0.4/src/vulkan/adapter.rs
@@ -1207,7 +1207,7 @@ impl PhysicalDeviceProperties {