mirror of
https://code.videolan.org/videolan/vlc
synced 2024-07-21 07:24:15 +02:00
Fix portaudio (closes #419)
This commit is contained in:
parent
c6cce79226
commit
ccc4b2ca57
@ -145,9 +145,9 @@ else
|
||||
.FLAC .speex .faad .faac .lame .ebml .matroska .ffmpeg .dvdcss \
|
||||
.live .goom2k4 .caca .mod .x264 .xml .twolame \
|
||||
.png .gpg-error .gcrypt .gnutls .libmpcdec \
|
||||
.gnutls .dvdnav .dvbpsi .wxwidgets .dirac \
|
||||
.gnutls .dvdnav .dvbpsi .wxwidgets .dirac .portaudio\
|
||||
.dx_headers .dshow_headers .aclocal .gecko-win32
|
||||
# .SDL_image .daap .cddb .cdio .vcdimager .dts .portaudio
|
||||
# .SDL_image .daap .cddb .cdio .vcdimager .dts
|
||||
else
|
||||
|
||||
ifdef HAVE_WINCE
|
||||
@ -1283,6 +1283,9 @@ pa_snapshot_v$(PORTAUDIO_VERSION).tar.gz:
|
||||
|
||||
portaudio: pa_snapshot_v$(PORTAUDIO_VERSION).tar.gz
|
||||
$(EXTRACT_GZ)
|
||||
ifneq ($(HOST),$(BUILD))
|
||||
(patch -p 0 < Patches/portaudio-cross.patch;cd $@; autoconf)
|
||||
endif
|
||||
|
||||
.portaudio: portaudio
|
||||
(cd $<; $(HOSTCC) ./configure $(HOSTCONF) --prefix=$(PREFIX) && make && make install)
|
||||
|
16
extras/contrib/src/Patches/portaudio-cross.patch
Normal file
16
extras/contrib/src/Patches/portaudio-cross.patch
Normal file
@ -0,0 +1,16 @@
|
||||
--- 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)
|
Loading…
Reference in New Issue
Block a user