summarylogtreecommitdiffstats
path: root/0006-AUR-Fix-hwnd-redefinition.patch
diff options
context:
space:
mode:
authorStelios Tsampas2023-09-28 14:32:54 +0300
committerStelios Tsampas2023-09-28 14:32:54 +0300
commit7172df373f7b12e4918e5690704fd447bcd4640e (patch)
tree91f0e7d864732d95a318442b47e5edd5627114ad /0006-AUR-Fix-hwnd-redefinition.patch
parent01c47304517e1db8754e1837b982bec446227097 (diff)
downloadaur-7172df373f7b12e4918e5690704fd447bcd4640e.tar.gz
[proton-ge-custom] Incorporate hwnd patch
Diffstat (limited to '0006-AUR-Fix-hwnd-redefinition.patch')
-rw-r--r--0006-AUR-Fix-hwnd-redefinition.patch38
1 files changed, 38 insertions, 0 deletions
diff --git a/0006-AUR-Fix-hwnd-redefinition.patch b/0006-AUR-Fix-hwnd-redefinition.patch
new file mode 100644
index 000000000000..536235e1bfd8
--- /dev/null
+++ b/0006-AUR-Fix-hwnd-redefinition.patch
@@ -0,0 +1,38 @@
+From 0704b421cb2bcdbf6ad406582214aa0e3f7dd7a1 Mon Sep 17 00:00:00 2001
+From: Stelios Tsampas <loathingkernel@gmail.com>
+Date: Thu, 28 Sep 2023 14:16:04 +0300
+Subject: [PATCH 6/6] AUR: Fix hwnd redefinition
+
+---
+ steam_helper/steam.cpp | 2 ++
+ vrclient_x64/vrclient_x64/json_converter.cpp | 2 ++
+ 2 files changed, 4 insertions(+)
+
+diff --git a/steam_helper/steam.cpp b/steam_helper/steam.cpp
+index 65b9c179..01e3b927 100644
+--- a/steam_helper/steam.cpp
++++ b/steam_helper/steam.cpp
+@@ -34,7 +34,9 @@
+
+ #include "ntstatus.h"
+ #define WIN32_NO_STATUS
++extern "C" {
+ #include <windows.h>
++}
+ #include <winternl.h>
+ #include <shlwapi.h>
+ #include <shlobj.h>
+diff --git a/vrclient_x64/vrclient_x64/json_converter.cpp b/vrclient_x64/vrclient_x64/json_converter.cpp
+index 83fd2ec0..64d209a2 100644
+--- a/vrclient_x64/vrclient_x64/json_converter.cpp
++++ b/vrclient_x64/vrclient_x64/json_converter.cpp
+@@ -1,4 +1,6 @@
++extern "C" {
+ #include <windows.h>
++}
+ #include <wine/debug.h>
+
+ WINE_DEFAULT_DEBUG_CHANNEL(vrclient);
+--
+2.42.0
+