44 lines
1.2 KiB
Diff
44 lines
1.2 KiB
Diff
diff --git emulators/wine/Makefile emulators/wine/Makefile
|
|
index 485de6c86..168ae473d 100644
|
|
--- emulators/wine/Makefile
|
|
+++ emulators/wine/Makefile
|
|
@@ -1,5 +1,6 @@
|
|
COMMENT = compatibility layer to run Windows applications
|
|
DISTNAME = wine-7.2
|
|
+REVISION = 1
|
|
|
|
SHARED_LIBS += wine 1.0 # 1.0
|
|
|
|
diff --git emulators/wine/patches/patch-include_winnt_h emulators/wine/patches/patch-include_winnt_h
|
|
index 927c852b1..c37bf4ac4 100644
|
|
--- emulators/wine/patches/patch-include_winnt_h
|
|
+++ emulators/wine/patches/patch-include_winnt_h
|
|
@@ -1,7 +1,7 @@
|
|
Index: include/winnt.h
|
|
--- include/winnt.h.orig
|
|
+++ include/winnt.h
|
|
-@@ -32,11 +32,9 @@
|
|
+@@ -32,12 +32,10 @@
|
|
#include <string.h>
|
|
#endif
|
|
|
|
@@ -9,7 +9,17 @@ Index: include/winnt.h
|
|
#if defined(_MSC_VER) && (defined(__arm__) || defined(__aarch64__))
|
|
#include <intrin.h>
|
|
#endif
|
|
--
|
|
|
|
+-
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
+ #endif
|
|
+@@ -2145,7 +2143,7 @@ static FORCEINLINE struct _TEB * WINAPI NtCurrentTeb(v
|
|
+ __asm__(".byte 0x64\n\tmovl (0x18),%0" : "=r" (teb));
|
|
+ return teb;
|
|
+ }
|
|
+-#elif defined(__i386__) && defined(_MSC_VER)
|
|
++#elif defined(__i386__) && defined(_MSC_VER) || !defined(__OpenBSD__)
|
|
+ static FORCEINLINE struct _TEB * WINAPI NtCurrentTeb(void)
|
|
+ {
|
|
+ struct _TEB *teb;
|