diff options
author | Kito Danya Dietrich <kito@gentoo.org> | 2005-08-03 20:17:01 +0000 |
---|---|---|
committer | Kito Danya Dietrich <kito@gentoo.org> | 2005-08-03 20:17:01 +0000 |
commit | 0f365f0218e39af4f0c7343f2dfd252cf4c4aa20 (patch) | |
tree | 439afdc4e75cf45e9fa485de99877a8acd807d44 /media-sound/madplay/files/madplay-macos.patch | |
parent | Stable on x86. (diff) | |
download | gentoo-2-0f365f0218e39af4f0c7343f2dfd252cf4c4aa20.tar.gz gentoo-2-0f365f0218e39af4f0c7343f2dfd252cf4c4aa20.tar.bz2 gentoo-2-0f365f0218e39af4f0c7343f2dfd252cf4c4aa20.zip |
add Fink patch to audio_carbon.c to avoid conflicting types on OS X 10.4
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'media-sound/madplay/files/madplay-macos.patch')
-rw-r--r-- | media-sound/madplay/files/madplay-macos.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/media-sound/madplay/files/madplay-macos.patch b/media-sound/madplay/files/madplay-macos.patch new file mode 100644 index 000000000000..4cc45774274d --- /dev/null +++ b/media-sound/madplay/files/madplay-macos.patch @@ -0,0 +1,20 @@ +--- madplay-0.15.2b/audio_carbon.c.bak 2005-04-04 02:03:58.000000000 -0700 ++++ madplay-0.15.2b/audio_carbon.c 2005-04-04 02:04:39.000000000 -0700 +@@ -94,7 +94,7 @@ + } + + static +-int wait(struct buffer *buffer) ++int carbon_wait(struct buffer *buffer) + { + if (MPWaitOnSemaphore(buffer->semaphore, kDurationForever) != noErr) { + audio_error = _("MPWaitOnSemaphore() failed"); +@@ -263,7 +263,7 @@ + /* wait for block to finish playing */ + + if (buffer->pcm_nsamples == 0) { +- if (wait(buffer) == -1) ++ if (carbon_wait(buffer) == -1) + return -1; + + buffer->pcm_length = 0; |