Commit ccc4b2ca authored by Christophe Mutricy's avatar Christophe Mutricy

Fix portaudio (closes #419)

parent c6cce792
...@@ -145,9 +145,9 @@ else ...@@ -145,9 +145,9 @@ else
.FLAC .speex .faad .faac .lame .ebml .matroska .ffmpeg .dvdcss \ .FLAC .speex .faad .faac .lame .ebml .matroska .ffmpeg .dvdcss \
.live .goom2k4 .caca .mod .x264 .xml .twolame \ .live .goom2k4 .caca .mod .x264 .xml .twolame \
.png .gpg-error .gcrypt .gnutls .libmpcdec \ .png .gpg-error .gcrypt .gnutls .libmpcdec \
.gnutls .dvdnav .dvbpsi .wxwidgets .dirac \ .gnutls .dvdnav .dvbpsi .wxwidgets .dirac .portaudio\
.dx_headers .dshow_headers .aclocal .gecko-win32 .dx_headers .dshow_headers .aclocal .gecko-win32
# .SDL_image .daap .cddb .cdio .vcdimager .dts .portaudio # .SDL_image .daap .cddb .cdio .vcdimager .dts
else else
ifdef HAVE_WINCE ifdef HAVE_WINCE
...@@ -1283,6 +1283,9 @@ pa_snapshot_v$(PORTAUDIO_VERSION).tar.gz: ...@@ -1283,6 +1283,9 @@ pa_snapshot_v$(PORTAUDIO_VERSION).tar.gz:
portaudio: pa_snapshot_v$(PORTAUDIO_VERSION).tar.gz portaudio: pa_snapshot_v$(PORTAUDIO_VERSION).tar.gz
$(EXTRACT_GZ) $(EXTRACT_GZ)
ifneq ($(HOST),$(BUILD))
(patch -p 0 < Patches/portaudio-cross.patch;cd $@; autoconf)
endif
.portaudio: portaudio .portaudio: portaudio
(cd $<; $(HOSTCC) ./configure $(HOSTCONF) --prefix=$(PREFIX) && make && make install) (cd $<; $(HOSTCC) ./configure $(HOSTCONF) --prefix=$(PREFIX) && make && make install)
......
--- portaudio/configure.in 2005-12-01 15:07:26.000000000 +0000
+++ portaudio-new/configure.in 2005-12-09 18:48:43.000000000 +0000
@@ -75,9 +75,10 @@
dnl sizeof checks: we will need a 16-bit and a 32-bit type
-AC_CHECK_SIZEOF(short)
-AC_CHECK_SIZEOF(int)
-AC_CHECK_SIZEOF(long)
+dnl don't work if you crosscompile
+dnl AC_CHECK_SIZEOF(short)
+dnl AC_CHECK_SIZEOF(int)
+dnl AC_CHECK_SIZEOF(long)
dnl extra variables
AC_SUBST(OTHER_OBJS)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment