summaryrefslogtreecommitdiffstats
path: root/src/openal-1-fixes.patch
diff options
context:
space:
mode:
authorMark Brand <mabrand@mabrand.nl>2015-03-28 19:54:39 (GMT)
committerMark Brand <mabrand@mabrand.nl>2015-03-28 19:54:39 (GMT)
commitee28e92af2e7d2a072c01af47ffa6c53c8248086 (patch)
treecb9ae63889b335498e40b0921e629aa9d140fcce /src/openal-1-fixes.patch
parent3e0ac34e3c3537b33bc785d489715f80f3fc1a4f (diff)
downloadmxe-ee28e92af2e7d2a072c01af47ffa6c53c8248086.zip
mxe-ee28e92af2e7d2a072c01af47ffa6c53c8248086.tar.gz
mxe-ee28e92af2e7d2a072c01af47ffa6c53c8248086.tar.bz2
openal: mingw-w64 4.01 compatibility fix
Diffstat (limited to 'src/openal-1-fixes.patch')
-rw-r--r--src/openal-1-fixes.patch32
1 files changed, 30 insertions, 2 deletions
diff --git a/src/openal-1-fixes.patch b/src/openal-1-fixes.patch
index 04e1ab3..e388d82 100644
--- a/src/openal-1-fixes.patch
+++ b/src/openal-1-fixes.patch
@@ -1,10 +1,13 @@
This file is part of MXE.
See index.html for further information.
+From 25b591198c896959ca5b7dc9ad3a35605c66dc63 Mon Sep 17 00:00:00 2001
+From: Guilherme Lima Bernal <dev@lbguilherme.com>
+Date: Sat, 28 Mar 2015 20:52:05 +0100
+Subject: [PATCH 1/2] fixes for cross-building
-Contains ad hoc patches for cross building.
diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 0087edb..6887339 100644
+index 0087edb..749f813 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -846,6 +846,7 @@ IF(HAVE_WINDOWS_H)
@@ -53,3 +56,28 @@ index 0087edb..6887339 100644
# Add an install target here
INSTALL(TARGETS ${LIBNAME}
+--
+2.1.0
+
+
+From 6d0e7d9cb038aa54f33f9a8cef351c2aaa866ac1 Mon Sep 17 00:00:00 2001
+From: Mark Brand <mabrand@mabrand.nl>
+Date: Sat, 28 Mar 2015 20:47:15 +0100
+Subject: [PATCH 2/2] add missing include
+
+
+diff --git a/Alc/alcConfig.c b/Alc/alcConfig.c
+index 2c9aef4..bcd16d9 100644
+--- a/Alc/alcConfig.c
++++ b/Alc/alcConfig.c
+@@ -33,6 +33,7 @@
+ #include <ctype.h>
+ #include <string.h>
+ #ifdef _WIN32_IE
++#include <windows.h>
+ #include <shlobj.h>
+ #endif
+
+--
+2.1.0
+