summaryrefslogtreecommitdiff
path: root/homebrew/libsamplerate/patches.sh
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/libsamplerate/patches.sh')
-rwxr-xr-xhomebrew/libsamplerate/patches.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/homebrew/libsamplerate/patches.sh b/homebrew/libsamplerate/patches.sh
new file mode 100755
index 000000000..40e769f31
--- /dev/null
+++ b/homebrew/libsamplerate/patches.sh
@@ -0,0 +1,14 @@
+echo 'Creating brew-patch.diff'
+cat << EOF >> brew-patch.diff
+--- a/examples/audio_out.c 2011-07-12 16:57:31.000000000 -0700
++++ b/examples/audio_out.c 2012-03-11 20:48:57.000000000 -0700
+@@ -168,7 +168,7 @@
+
+ #if (defined (__MACH__) && defined (__APPLE__)) /* MacOSX */
+
+-#include <Carbon.h>
++#include <Carbon/Carbon.h>
+ #include <CoreAudio/AudioHardware.h>
+
+ #define MACOSX_MAGIC MAKE_MAGIC ('M', 'a', 'c', ' ', 'O', 'S', ' ', 'X')
+EOF