summaryrefslogtreecommitdiff
path: root/audio/timidity/files/patch-resample.c
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2014-05-10 23:40:37 +0000
committerJohn Marino <marino@FreeBSD.org>2014-05-10 23:40:37 +0000
commit0f24bf17a53e2968f05411e20941526d374761fd (patch)
tree9718026000795ce87e17ca3ace6cc6c449b27c7f /audio/timidity/files/patch-resample.c
parentUpdate to new upstream release 2.3.4. (diff)
audio/timidity & guspat: Add guspat as alternative for goemon
Neither port is currently maintained PR: ports/177074 Submitted by: Green Dog Approved by: timidity maintainer (Kevin Zheng) before he dropped it
Notes
Notes: svn path=/head/; revision=353632
Diffstat (limited to 'audio/timidity/files/patch-resample.c')
-rw-r--r--audio/timidity/files/patch-resample.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/audio/timidity/files/patch-resample.c b/audio/timidity/files/patch-resample.c
new file mode 100644
index 000000000000..254f5bbd294f
--- /dev/null
+++ b/audio/timidity/files/patch-resample.c
@@ -0,0 +1,14 @@
+--- ./resample.c.orig 1996-05-20 08:09:47.000000000 -0500
++++ ./resample.c 2013-04-21 10:18:23.000000000 -0500
+@@ -22,7 +22,11 @@
+
+ #include <math.h>
+ #include <stdio.h>
++#ifdef __FreeBSD__
++#include <stdlib.h>
++#else
+ #include <malloc.h>
++#endif
+
+ #include "config.h"
+ #include "common.h"