aboutsummaryrefslogtreecommitdiff
path: root/audio/fluidsynth
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2016-07-26 16:51:15 +0000
committerMathieu Arnold <mat@FreeBSD.org>2016-07-26 16:51:15 +0000
commit9fa9eb9ac7bf1d3de825ee25a8f0ae81b7b77896 (patch)
tree9b071a8105704e992946dcd6b801e9fcb7635142 /audio/fluidsynth
parent5a20e7990eb544509174d617d359bf0d4ac64737 (diff)
downloadports-9fa9eb9ac7bf1d3de825ee25a8f0ae81b7b77896.tar.gz
ports-9fa9eb9ac7bf1d3de825ee25a8f0ae81b7b77896.zip
Notes
Diffstat (limited to 'audio/fluidsynth')
-rw-r--r--audio/fluidsynth/files/patch-src_bindings_fluid__rtkit.c (renamed from audio/fluidsynth/files/patch-src__bindings__fluid_rtkit.c)4
-rw-r--r--audio/fluidsynth/files/patch-src_drivers_fluid__alsa.c (renamed from audio/fluidsynth/files/patch-src__drivers__fluid_alsa.c)11
-rw-r--r--audio/fluidsynth/files/patch-src_drivers_fluid__oss.c (renamed from audio/fluidsynth/files/patch-src__drivers__fluid_oss.c)4
3 files changed, 11 insertions, 8 deletions
diff --git a/audio/fluidsynth/files/patch-src__bindings__fluid_rtkit.c b/audio/fluidsynth/files/patch-src_bindings_fluid__rtkit.c
index 47478bd79733..2a36fb3bd018 100644
--- a/audio/fluidsynth/files/patch-src__bindings__fluid_rtkit.c
+++ b/audio/fluidsynth/files/patch-src_bindings_fluid__rtkit.c
@@ -1,5 +1,5 @@
---- src/bindings/fluid_rtkit.c.orig 2011-09-04 16:38:58.000000000 +0900
-+++ src/bindings/fluid_rtkit.c 2011-09-05 17:07:06.000000000 +0900
+--- src/bindings/fluid_rtkit.c.orig 2012-08-16 04:01:13 UTC
++++ src/bindings/fluid_rtkit.c
@@ -34,7 +34,7 @@
#include "fluid_rtkit.h"
diff --git a/audio/fluidsynth/files/patch-src__drivers__fluid_alsa.c b/audio/fluidsynth/files/patch-src_drivers_fluid__alsa.c
index 26d07b59f84a..bfa0dfb93968 100644
--- a/audio/fluidsynth/files/patch-src__drivers__fluid_alsa.c
+++ b/audio/fluidsynth/files/patch-src_drivers_fluid__alsa.c
@@ -1,12 +1,14 @@
---- src/drivers/fluid_alsa.c 2012-08-16 00:01:13.000000000 -0400
-+++ src/drivers/fluid_alsa.c 2014-12-20 12:59:44.000000000 -0500
-@@ -348,5 +348,4 @@
+--- src/drivers/fluid_alsa.c.orig 2012-08-16 04:01:13 UTC
++++ src/drivers/fluid_alsa.c
+@@ -347,14 +347,16 @@ static int fluid_alsa_handle_write_error
+ case -EAGAIN:
snd_pcm_wait(pcm, 1);
break;
- case -EPIPE:
case -EBADFD:
if (snd_pcm_prepare(pcm) != 0) {
-@@ -355,5 +354,8 @@
+ FLUID_LOG(FLUID_ERR, "Failed to prepare the audio device");
+ return FLUID_FAILED;
}
break;
+ case -EPIPE:
@@ -15,3 +17,4 @@
+#endif
if ((snd_pcm_resume(pcm) != 0) && (snd_pcm_prepare(pcm) != 0)) {
FLUID_LOG(FLUID_ERR, "Failed to resume the audio device");
+ return FLUID_FAILED;
diff --git a/audio/fluidsynth/files/patch-src__drivers__fluid_oss.c b/audio/fluidsynth/files/patch-src_drivers_fluid__oss.c
index dea1fe2b54a9..dc5089f4b636 100644
--- a/audio/fluidsynth/files/patch-src__drivers__fluid_oss.c
+++ b/audio/fluidsynth/files/patch-src_drivers_fluid__oss.c
@@ -1,5 +1,5 @@
---- src/drivers/fluid_oss.c.orig 2012-08-16 13:01:13.000000000 +0900
-+++ src/drivers/fluid_oss.c 2012-08-18 04:12:09.000000000 +0900
+--- src/drivers/fluid_oss.c.orig 2012-08-16 04:01:13 UTC
++++ src/drivers/fluid_oss.c
@@ -45,9 +45,9 @@
#define BUFFER_LENGTH 512