summaryrefslogtreecommitdiff
path: root/audio/timidity/files/patch-timidity.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-timidity.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 '')
-rw-r--r--audio/timidity/files/patch-timidity.c11
-rw-r--r--audio/timidity/files/patch-timidity.cfg (renamed from audio/timidity/files/patch-ac)16
2 files changed, 23 insertions, 4 deletions
diff --git a/audio/timidity/files/patch-timidity.c b/audio/timidity/files/patch-timidity.c
new file mode 100644
index 000000000000..db44a7a11ea7
--- /dev/null
+++ b/audio/timidity/files/patch-timidity.c
@@ -0,0 +1,11 @@
+--- ./timidity.c.orig 1996-05-21 14:16:20.000000000 -0500
++++ ./timidity.c 2013-04-21 10:18:23.000000000 -0500
+@@ -21,7 +21,7 @@
+ #include <stdio.h>
+ #include <stdlib.h>
+
+-#if defined(SOLARIS) || defined(__WIN32__)
++#if defined(SOLARIS) || defined(__WIN32__) || defined(__FreeBSD__)
+ #include <string.h>
+ #else
+ #include <strings.h>
diff --git a/audio/timidity/files/patch-ac b/audio/timidity/files/patch-timidity.cfg
index 76b2da1f5441..7d6b7fe47fe1 100644
--- a/audio/timidity/files/patch-ac
+++ b/audio/timidity/files/patch-timidity.cfg
@@ -1,6 +1,14 @@
---- timidity.cfg.orig Mon May 22 02:40:27 1995
-+++ timidity.cfg Mon Jan 4 03:55:42 1999
-@@ -34,9 +34,9 @@
+--- ./timidity.cfg.orig 1995-05-21 17:40:27.000000000 -0500
++++ ./timidity.cfg 2013-04-21 10:18:23.000000000 -0500
+@@ -27,16 +27,16 @@
+ # If you've moved things around since compiling, uncomment and edit this to
+ # point to the library directory:
+ #
+-#dir /usr/local/lib/timidity
++dir %%TDIR%%
+ #
+
+ ##############################################################################
# This sets up the default patches in the TiMidity support package
# "timidity-lib-0.1.tar.gz":
@@ -17,7 +25,7 @@
#source midia.cfg
#
-+source goemon.cfg
++source %%TCONFIG%%
##############################################################################
# End of configuration file