mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 03:30:05 +02:00
portaudio: add a minimal patch to configure on Haiku
I have more changes around but nothing working yet.
This commit is contained in:
36
media-libs/portaudio/patches/portaudio-19.patchset
Normal file
36
media-libs/portaudio/patches/portaudio-19.patchset
Normal file
@@ -0,0 +1,36 @@
|
||||
From 0f9cc6fb255f649db0ffbd4284d11cf09aa71787 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Fran=C3=A7ois=20Revol?= <revol@free.fr>
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user