diff options
author | Guy Harris <guy@alum.mit.edu> | 2013-06-27 10:30:33 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2013-06-27 10:30:33 +0000 |
commit | f3f156073b7fed7db2e8a7a7364873675dbfb097 (patch) | |
tree | 0d64ad4a52cc734d6bf52d01b9197b629c52f2d6 /macosx-support-lib-patches | |
parent | 9334a49cb1ed8548e49f02bba5df73be3193f68a (diff) |
Don't assume the system include files are under /usr/include; trick the
compiler into saying where they are, and use that.
Patch a bug in PortAudio pa_stable_v19_20111121 that clang found.
svn path=/trunk/; revision=50186
Diffstat (limited to 'macosx-support-lib-patches')
-rw-r--r-- | macosx-support-lib-patches/portaudio-pa_mac_core.c.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/macosx-support-lib-patches/portaudio-pa_mac_core.c.patch b/macosx-support-lib-patches/portaudio-pa_mac_core.c.patch new file mode 100644 index 0000000000..26354ee056 --- /dev/null +++ b/macosx-support-lib-patches/portaudio-pa_mac_core.c.patch @@ -0,0 +1,11 @@ +--- macosx-support-libs/portaudio/src/hostapi/coreaudio/pa_mac_core.c.dist 2011-10-20 02:40:12.000000000 -0700 ++++ macosx-support-libs/portaudio/src/hostapi/coreaudio/pa_mac_core.c 2013-06-27 03:13:57.000000000 -0700 +@@ -629,7 +629,7 @@ + + VVDBUG(("InitializeDeviceInfo(): macCoreDeviceId=%ld\n", macCoreDeviceId)); + +- memset(deviceInfo, 0, sizeof(deviceInfo)); ++ memset(deviceInfo, 0, sizeof(*deviceInfo)); + + deviceInfo->structVersion = 2; + deviceInfo->hostApi = hostApiIndex; |