1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00
freebsd-ports/audio/tclmidi/files/smf.patch
Pav Lucistnik 2e577dba1c - 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>
2004-03-18 16:27:35 +00:00

13 lines
468 B
Diff

--- 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