portaudio-cross.patch
上传用户:kjfoods
上传日期:2020-07-06
资源大小:29949k
文件大小:1k
源码类别:

midi

开发平台:

Unix_Linux

  1. diff -ruN portaudio/Makefile.in portaudio.n/Makefile.in
  2. --- portaudio/Makefile.in 2007-10-24 17:29:04.000000000 +0200
  3. +++ portaudio.n/Makefile.in 2007-12-18 05:43:27.000000000 +0100
  4. @@ -120,7 +120,7 @@
  5.  SUBDIRS =
  6.  @ENABLE_CXX_TRUE@SUBDIRS += bindings/cpp
  7.  
  8. -all: lib/$(PALIB) all-recursive tests
  9. +all: lib/$(PALIB) all-recursive
  10.  
  11.  tests: bin-stamp $(TESTS)
  12.  
  13. diff -ruN portaudio/configure.in portaudio.n/configure.in
  14. --- portaudio/configure.in 2007-11-13 22:22:56.000000000 +0100
  15. +++ portaudio.n/configure.in 2007-12-18 05:43:14.000000000 +0100
  16. @@ -95,9 +95,10 @@
  17.  
  18.  dnl sizeof checks: we will need a 16-bit and a 32-bit type
  19.  
  20. -AC_CHECK_SIZEOF(short)
  21. -AC_CHECK_SIZEOF(int)
  22. -AC_CHECK_SIZEOF(long)
  23. +dnl don't work if you crosscompile 
  24. +dnl AC_CHECK_SIZEOF(short)
  25. +dnl AC_CHECK_SIZEOF(int)
  26. +dnl AC_CHECK_SIZEOF(long)
  27.  
  28.  save_LIBS="${LIBS}"
  29.  AC_CHECK_LIB(rt, clock_gettime, [rt_libs=" -lrt"])