summaryrefslogtreecommitdiff
path: root/audio/tclmidi/files/smf.patch
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2004-03-18 16:27:35 +0000
committerPav Lucistnik <pav@FreeBSD.org>2004-03-18 16:27:35 +0000
commit2e577dba1c4a161de3a81a7ad04f8ddb3913da92 (patch)
tree7384a9e655e0d6c3df2d7808970d4aef25d41b32 /audio/tclmidi/files/smf.patch
parentUse tabs, not spaces. (diff)
- Fix build with modern gcc
Add placeholder strstream.h file in the workdir, and patch some of the Makefile.in's to use the workdir in their include path. Rewriting this port to use ISO C++ would maybe be better, but will make the diff a lot larger. Also, the tclmidi program doesn't really seem to be actively maintained anyway. PR: ports/64310 Submitted by: Dimitry Andric <dimitry@andric.com>
Diffstat (limited to 'audio/tclmidi/files/smf.patch')
-rw-r--r--audio/tclmidi/files/smf.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/audio/tclmidi/files/smf.patch b/audio/tclmidi/files/smf.patch
new file mode 100644
index 000000000000..af1a63d8f89c
--- /dev/null
+++ b/audio/tclmidi/files/smf.patch
@@ -0,0 +1,12 @@
+--- smf/Makefile.in.orig Thu Oct 10 05:32:53 1996
++++ smf/Makefile.in Mon Mar 15 16:30:42 2004
+@@ -14,7 +14,8 @@
+ VPATH = @srcdir@
+
+ CFLAGS = @CFLAGS@ @DEFS@
+-CC_SWITCHES = @CFLAGS@ @DEFS@ -I${TCL_GENERIC_DIR} ${SHLIB_CFLAGS}
++CC_SWITCHES = @CFLAGS@ @DEFS@ -I${TCL_GENERIC_DIR} ${SHLIB_CFLAGS} \
++ -I$(srcdir)/../smf -I$(srcdir)/../song -I$(srcdir)/.. -I$(srcdir)
+
+ SMFFILES = SMFUtils.o SMFHead.o SMFTrack.o
+ SMFFILES_SRC = SMFUtils.cxx SMFHead.cxx SMFTrack.cxx