summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Geier <Matthias.Geier@gmail.com>2015-06-30 16:15:49 (GMT)
committerMatthias Geier <Matthias.Geier@gmail.com>2015-06-30 16:15:49 (GMT)
commit6456816675c8944ba8a9b74928cd24ca18972f03 (patch)
tree6584fe8a1e598d98f35fa35187d3b6bc72d154e6
parentb22527391f770d939587fbd7f688fe91feac773d (diff)
downloadmxe-6456816675c8944ba8a9b74928cd24ca18972f03.zip
mxe-6456816675c8944ba8a9b74928cd24ca18972f03.tar.gz
mxe-6456816675c8944ba8a9b74928cd24ca18972f03.tar.bz2
Enable WDM/KS support for PortAudio
See #716.
-rw-r--r--src/portaudio-2-wdmks.patch15
-rw-r--r--src/portaudio.mk2
2 files changed, 16 insertions, 1 deletions
diff --git a/src/portaudio-2-wdmks.patch b/src/portaudio-2-wdmks.patch
new file mode 100644
index 0000000..4a19e10
--- /dev/null
+++ b/src/portaudio-2-wdmks.patch
@@ -0,0 +1,15 @@
+This file is part of MXE.
+See index.html for further information.
+
+http://music.columbia.edu/pipermail/portaudio/2015-June/016833.html
+
+--- portaudio/src/hostapi/wdmks/pa_win_wdmks.c 2012-12-28 17:54:25.000000000 +0100
++++ portaudio-patched/src/hostapi/wdmks/pa_win_wdmks.c 2015-06-17 14:29:23.695735572 +0200
+@@ -87,7 +87,6 @@
+ #include "pa_win_wdmks.h"
+
+ #include <windows.h>
+-#include <winioctl.h>
+ #include <process.h>
+
+ #include <math.h>
diff --git a/src/portaudio.mk b/src/portaudio.mk
index b0f0c32..e1e2629 100644
--- a/src/portaudio.mk
+++ b/src/portaudio.mk
@@ -25,7 +25,7 @@ define $(PKG)_BUILD
cd '$(1)' && ./configure \
$(MXE_CONFIGURE_OPTS) \
--with-host_os=mingw \
- --with-winapi=wmme,directx \
+ --with-winapi=wmme,directx,wdmks \
--with-dxdir=$(PREFIX)/$(TARGET) \
ac_cv_path_AR=$(TARGET)-ar \
$(if $(BUILD_SHARED),\