aboutsummaryrefslogtreecommitdiff
path: root/srcpkgs/portaudio/patches/sndio.patch
diff options
context:
space:
mode:
Diffstat (limited to 'srcpkgs/portaudio/patches/sndio.patch')
-rw-r--r--srcpkgs/portaudio/patches/sndio.patch18
1 files changed, 9 insertions, 9 deletions
diff --git a/srcpkgs/portaudio/patches/sndio.patch b/srcpkgs/portaudio/patches/sndio.patch
index 7e43e3fcedd..b34cb7328b8 100644
--- a/srcpkgs/portaudio/patches/sndio.patch
+++ b/srcpkgs/portaudio/patches/sndio.patch
@@ -1,7 +1,7 @@
diff --git Makefile.in Makefile.in
index 5e1a764..2747f73 100644
---- Makefile.in
-+++ Makefile.in
+--- a/Makefile.in
++++ b/Makefile.in
@@ -44,7 +44,7 @@ PALIB = libportaudio.la
PAINC = include/portaudio.h
@@ -21,8 +21,8 @@ index 5e1a764..2747f73 100644
src/hostapi/wmme \
diff --git configure.in configure.in
index 83c239a..db11d65 100644
---- configure.in
-+++ configure.in
+--- a/configure.in
++++ b/configure.in
@@ -24,6 +24,10 @@ AC_ARG_WITH(alsa,
AS_HELP_STRING([--with-alsa], [Enable support for ALSA @<:@autodetect@:>@]),
[with_alsa=$withval])
@@ -69,8 +69,8 @@ index 83c239a..db11d65 100644
])
diff --git include/portaudio.h include/portaudio.h
index 9c8a295..e535a02 100644
---- include/portaudio.h
-+++ include/portaudio.h
+--- a/include/portaudio.h
++++ b/include/portaudio.h
@@ -287,7 +287,8 @@ typedef enum PaHostApiTypeId
paWDMKS=11,
paJACK=12,
@@ -85,7 +85,7 @@ diff --git src/hostapi/sndio/pa_sndio.c src/hostapi/sndio/pa_sndio.c
new file mode 100644
index 0000000..725ef47
--- /dev/null
-+++ src/hostapi/sndio/pa_sndio.c
++++ b/src/hostapi/sndio/pa_sndio.c
@@ -0,0 +1,768 @@
+/*
+ * Copyright (c) 2009 Alexandre Ratchov <alex@caoua.org>
@@ -857,8 +857,8 @@ index 0000000..725ef47
+}
diff --git src/os/unix/pa_unix_hostapis.c src/os/unix/pa_unix_hostapis.c
index a9b4a05..f10ced1 100644
---- src/os/unix/pa_unix_hostapis.c
-+++ src/os/unix/pa_unix_hostapis.c
+--- a/src/os/unix/pa_unix_hostapis.c
++++ b/src/os/unix/pa_unix_hostapis.c
@@ -44,6 +44,7 @@
PaError PaJack_Initialize( PaUtilHostApiRepresentation **hostApi, PaHostApiIndex index );