Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:rhabacker:linkedprojecttest
mingw32-portaudio
portaudio-buildfix.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File portaudio-buildfix.patch of Package mingw32-portaudio
--- ./src/os/win/pa_win_wdmks_utils.c.orig 2014-12-24 09:25:56.154541840 +0000 +++ ./src/os/win/pa_win_wdmks_utils.c 2014-12-24 09:26:07.330930367 +0000 @@ -48,7 +48,7 @@ #endif #include <winioctl.h> // MinGW32 does not define this automatically -#if defined(__GNUC__) +#if defined(__GNUCX__) #include "../../hostapi/wasapi/mingw-include/ks.h" #include "../../hostapi/wasapi/mingw-include/ksmedia.h" --- ./src/hostapi/wasapi/pa_win_wasapi.c.orig 2014-12-24 09:19:51.461865381 +0000 +++ ./src/hostapi/wasapi/pa_win_wasapi.c 2014-12-24 09:23:32.301541276 +0000 @@ -77,6 +77,7 @@ #include "pa_win_coinitialize.h" +#undef NTDDI_VERSION #ifndef NTDDI_VERSION #undef WINVER @@ -118,7 +119,7 @@ #define __MIDL_CONST const #endif - #ifdef WIN64 + #if defined(WIN64) || defined(__GNUC__) #include <wtypes.h> typedef LONG NTSTATUS; #define FASTCALL --- ./src/hostapi/wdmks/pa_win_wdmks.c.orig 2014-12-24 09:14:37.566956971 +0000 +++ ./src/hostapi/wdmks/pa_win_wdmks.c 2014-12-24 09:29:53.386789329 +0000 @@ -87,7 +87,6 @@ #include "pa_win_wdmks.h" #include <windows.h> -#include <winioctl.h> #include <process.h> #include <math.h> @@ -165,7 +164,7 @@ #define EXTERN_C extern #endif -#if defined(__GNUC__) +#if defined(__XXXXGNUC__) /* For MinGW we reference mingw-include files supplied with WASAPI */ #define WINBOOL BOOL --- ./configure.in.orig 2014-12-24 09:24:45.660091285 +0000 +++ ./configure.in 2014-12-24 09:25:01.792652082 +0000 @@ -314,7 +314,7 @@ if [[ "x$with_wdmks" = "xyes" ]]; then DXDIR="$with_dxdir" - add_objects src/hostapi/wdmks/pa_win_wdmks.o src/common/pa_ringbuffer.o src/os/win/pa_win_hostapis.o src/os/win/pa_win_util.o src/os/win/pa_win_wdmks_util.o src/os/win/pa_win_waveformat.o + add_objects src/hostapi/wdmks/pa_win_wdmks.o src/common/pa_ringbuffer.o src/os/win/pa_win_hostapis.o src/os/win/pa_win_util.o src/os/win/pa_win_wdmks_utils.o src/os/win/pa_win_waveformat.o LIBS="${LIBS} -lwinmm -lm -luuid -lsetupapi -lole32" DLL_LIBS="${DLL_LIBS} -lwinmm -lm -L$DXDIR/lib -luuid -lsetupapi -lole32" #VC98="\"/c/Program Files/Microsoft Visual Studio/VC98/Include\""
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor