From 2f953f3c78c151faa77f211aa1e1f53d2f5df869 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Revol?= Date: Fri, 26 Feb 2016 19:36:02 +0100 Subject: [PATCH] portaudio: add a minimal patch to configure on Haiku I have more changes around but nothing working yet. --- .../portaudio/patches/portaudio-19.patchset | 36 +++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 media-libs/portaudio/patches/portaudio-19.patchset diff --git a/media-libs/portaudio/patches/portaudio-19.patchset b/media-libs/portaudio/patches/portaudio-19.patchset new file mode 100644 index 000000000..73ac8ae5c --- /dev/null +++ b/media-libs/portaudio/patches/portaudio-19.patchset @@ -0,0 +1,36 @@ +From 0f9cc6fb255f649db0ffbd4284d11cf09aa71787 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Fran=C3=A7ois=20Revol?= +Date: Wed, 30 Jul 2014 01:38:19 +0200 +Subject: Add a case for Haiku in configure.in + + +diff --git a/configure.in b/configure.in +index 792cbba..05dcc13 100644 +--- a/configure.in ++++ b/configure.in +@@ -335,6 +335,22 @@ case "${host_os}" in + SHARED_FLAGS="" + ;; + ++ haiku* ) ++ dnl Haiku configuration ++ ++ dnl AC_DEFINE(PA_USE_HAIKU,1) ++ AC_DEFINE(PA_USE_SKELETON,1) ++ ++ CFLAGS="$CFLAGS -I\$(top_srcdir)/src/os/unix" ++ # -Werror ++ LIBS="-lmedia" ++ ++ SHARED_FLAGS="$LIBS -shared" ++ #CFLAGS="$CFLAGS" ++ OTHER_OBJS="src/os/unix/pa_unix_hostapis.o src/os/unix/pa_unix_util.o src/common/pa_ringbuffer.o" ++ PADLL="libportaudio.so" ++ ;; ++ + *) + dnl Unix configuration + +-- +1.8.3.4 +