diff options
author | Lucio Andrés Illanes Albornoz <lucio@lucioillanes.de> | 2018-08-22 19:10:55 +0000 |
---|---|---|
committer | Lucio Andrés Illanes Albornoz <lucio@lucioillanes.de> | 2018-08-22 19:10:55 +0000 |
commit | 2a75fc7dfdb4af4c49503c9e5d9e9fb7941a031c (patch) | |
tree | d4728f3edd1aad20d3ad7865788728ac844c7246 /patches/xwin/no_wow64.patch | |
parent | 98eaddd39b1417b6563847c8cc3a771f5ca13042 (diff) | |
download | midipix_build-2a75fc7dfdb4af4c49503c9e5d9e9fb7941a031c.tar.bz2 midipix_build-2a75fc7dfdb4af4c49503c9e5d9e9fb7941a031c.tar.xz |
vars/build.vars:native_packages_deps_x11: adds xwin v1.20.1 (via Redfoxmoon.)
vars/build.vars:xwin:${PKG_DISABLED}: disabled pending fix.
patches/xwin/*: via Redfoxmoon.
Diffstat (limited to 'patches/xwin/no_wow64.patch')
-rw-r--r-- | patches/xwin/no_wow64.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/patches/xwin/no_wow64.patch b/patches/xwin/no_wow64.patch new file mode 100644 index 00000000..462e105f --- /dev/null +++ b/patches/xwin/no_wow64.patch @@ -0,0 +1,24 @@ +--- xorg-server-1.20.1.orig/hw/xwin/winos.c 2018-08-07 18:31:04.000000000 +0200 ++++ xorg-server-1.20.1/hw/xwin/winos.c 2018-08-20 20:47:53.954276769 +0200 +@@ -36,6 +36,7 @@ + static const char* + IsWow64(void) + { ++#ifndef __midipix__ + #ifdef __x86_64__ + return " (64-bit)"; + #else +@@ -51,6 +52,13 @@ + /* OS doesn't support IsWow64Process() */ + return ""; + #endif ++#else ++#ifdef __NT64 ++ return " (64-bit)"; ++#else ++ return " (32-bit)"; ++#endif ++#endif + } + + /* |