aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2006-09-16 17:09:50 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2006-09-16 17:09:50 +0000
commitc906145bd22b2a44caf7bb8a0142970700691cdd (patch)
tree325206d8bb640f4add3e458ee92ac928d4f118b2
parentf27668feb873e2b7abe31b7681797eb71b5c7a40 (diff)
simple fix to configure.in to build PortAudio little-endian on Mac/Intel
svn path=/trunk/; revision=5950
-rw-r--r--packages/patches/macintel-0.39.2.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/packages/patches/macintel-0.39.2.patch b/packages/patches/macintel-0.39.2.patch
new file mode 100644
index 00000000..1fd9317c
--- /dev/null
+++ b/packages/patches/macintel-0.39.2.patch
@@ -0,0 +1,31 @@
+Index: configure.in
+===================================================================
+RCS file: /cvsroot/pure-data/pd/src/configure.in,v
+retrieving revision 1.16
+diff -u -w -r1.16 configure.in
+--- configure.in 31 Dec 2005 20:55:25 -0000 1.16
++++ configure.in 24 May 2006 16:57:41 -0000
+@@ -260,12 +260,22 @@
+ -framework AudioUnit -framework AudioToolbox \
+ -framework Carbon -framework CoreMIDI"
+ EXT=pd_darwin
+- MORECFLAGS="-DDL_OPEN -DMACOSX -DUNISTD -I/usr/X11R6/include \
++if test `uname -p` = i386;
++then
++ MORECFLAGS="-DMACOSX -DUNISTD -I/usr/X11R6/include \
++ -I../portaudio/pa_common -I../portaudio/pablio \
++ -I../portmidi/pm_common -I../portmidi/pm_mac \
++ -I../portmidi/porttime \
++ -Wno-error \
++ -DUSEAPI_PORTAUDIO -DPA_LITTLE_ENDIAN -DPA19 -DPA_USE_COREAUDIO"
++else
++ MORECFLAGS="-DMACOSX -DUNISTD -I/usr/X11R6/include \
+ -I../portaudio/pa_common -I../portaudio/pablio \
+ -I../portmidi/pm_common -I../portmidi/pm_mac \
+ -I../portmidi/porttime \
+ -Wno-error \
+ -DUSEAPI_PORTAUDIO -DPA_BIG_ENDIAN -DPA19 -DPA_USE_COREAUDIO"
++fi
+ SYSSRC="s_midi_pm.c s_audio_pa.c \
+ s_audio_pablio.c \
+ s_audio_paring.c \