summaryrefslogtreecommitdiffhomepage
path: root/patches/xwin/ddraw.patch
diff options
context:
space:
mode:
authorLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2018-08-22 19:10:55 +0000
committerLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2018-08-22 19:10:55 +0000
commit2a75fc7dfdb4af4c49503c9e5d9e9fb7941a031c (patch)
treed4728f3edd1aad20d3ad7865788728ac844c7246 /patches/xwin/ddraw.patch
parent98eaddd39b1417b6563847c8cc3a771f5ca13042 (diff)
downloadmidipix_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/ddraw.patch')
-rw-r--r--patches/xwin/ddraw.patch38
1 files changed, 38 insertions, 0 deletions
diff --git a/patches/xwin/ddraw.patch b/patches/xwin/ddraw.patch
new file mode 100644
index 00000000..c368217a
--- /dev/null
+++ b/patches/xwin/ddraw.patch
@@ -0,0 +1,38 @@
+--- xorg-server-1.20.1.orig/hw/xwin/ddraw.h 2018-08-07 18:31:04.000000000 +0200
++++ xorg-server-1.20.1/hw/xwin/ddraw.h 2018-08-22 08:26:12.917568413 +0200
+@@ -1,4 +1,4 @@
+-#ifdef __MINGW64_VERSION_MAJOR
++#if defined(__MINGW64_VERSION_MAJOR)
+ #include_next <ddraw.h>
+ #define __XWIN_DDRAW_H
+ #endif
+@@ -9,10 +9,29 @@
+ #include <wingdi.h>
+ #include <objbase.h>
+
++/* temporary! */
++#include <guiddef.h>
++
+ #if defined(NONAMELESSUNION) && !defined(DUMMYUNIONNAME1)
+ #define DUMMYUNIONNAME1 u1
+ #endif
+
++#if !defined(DUMMYUNIONNAME2)
++#define DUMMYUNIONNAME2 u2
++#endif
++
++#if !defined(DUMMYUNIONNAME3)
++#define DUMMYUNIONNAME3 u3
++#endif
++
++#if !defined(DUMMYUNIONNAME4)
++#define DUMMYUNIONNAME4 u4
++#endif
++
++#if !defined(DUMMYUNIONNAME5)
++#define DUMMYUNIONNAME5 u5
++#endif
++
+ #define ICOM_CALL_( xfn, p, args) (p)->lpVtbl->xfn args
+
+ #ifdef UNICODE