summaryrefslogtreecommitdiff
path: root/app-emulation/vkd3d-proton/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-08-16 03:28:34 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-08-16 03:28:34 +0100
commit643a5121202a0a33fb4d77fbf1c4dde26de3224c (patch)
treee7e4742e588a0ee9769303f80c6cfcf273360f9a /app-emulation/vkd3d-proton/files
parent3648761f2708fcf5662ea1b9585f594c36eefc30 (diff)
gentoo auto-resync : 16:08:2023 - 03:28:34
Diffstat (limited to 'app-emulation/vkd3d-proton/files')
-rw-r--r--app-emulation/vkd3d-proton/files/vkd3d-proton-2.6-wow64-setup.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/app-emulation/vkd3d-proton/files/vkd3d-proton-2.6-wow64-setup.patch b/app-emulation/vkd3d-proton/files/vkd3d-proton-2.6-wow64-setup.patch
new file mode 100644
index 000000000000..413852460d54
--- /dev/null
+++ b/app-emulation/vkd3d-proton/files/vkd3d-proton-2.6-wow64-setup.patch
@@ -0,0 +1,14 @@
+Dirty workaround to try syswow64 if paths are the same. This can happen
+with USE=wow64 on wine where wine64 is a symlink to wine.
+
+TODO: dxvk's and vkd3d-proton's setup script should be rewritten and packaged
+separately (shared) as upstream hardly support these (dxvk dropped altogether).
+--- a/setup_vkd3d_proton.sh
++++ b/setup_vkd3d_proton.sh
+@@ -81,2 +81,6 @@
+ win32_sys_path="${win32_sys_path/$'\r'/}"
++ if [ "$win32_sys_path" = "$win64_sys_path" ]; then
++ win32_sys_path=$($wine winepath -u 'C:\windows\syswow64' 2> /dev/null)
++ win32_sys_path="${win32_sys_path/$'\r'/}"
++ fi
+ fi