diff options
author | Jean-Marc Zucconi <jmz@FreeBSD.org> | 2003-05-14 01:57:55 +0000 |
---|---|---|
committer | Jean-Marc Zucconi <jmz@FreeBSD.org> | 2003-05-14 01:57:55 +0000 |
commit | 5705d610581de9278d3fd1dcb7a5e392c4969256 (patch) | |
tree | 7a380ef7d1788bab69184dc4b59a5462fdf78bf6 /audio/tclmidi | |
parent | d88a05ddb8d71f2768288f1d97a7c63d32e3ce34 (diff) | |
download | ports-5705d610581de9278d3fd1dcb7a5e392c4969256.tar.gz ports-5705d610581de9278d3fd1dcb7a5e392c4969256.zip |
Notes
Diffstat (limited to 'audio/tclmidi')
-rw-r--r-- | audio/tclmidi/files/patch-ac | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/audio/tclmidi/files/patch-ac b/audio/tclmidi/files/patch-ac index 5b141cf739bd..4bb47854e3ef 100644 --- a/audio/tclmidi/files/patch-ac +++ b/audio/tclmidi/files/patch-ac @@ -1,11 +1,20 @@ ---- smf/SMFTrack.cxx.orig Wed Dec 11 04:11:04 2002 -+++ smf/SMFTrack.cxx Wed Dec 11 04:11:22 2002 -@@ -355,7 +355,8 @@ +--- smf/SMFTrack.cxx.orig Mon Aug 5 05:47:36 1996 ++++ smf/SMFTrack.cxx Wed May 14 03:51:51 2003 +@@ -352,10 +352,17 @@ + return (1); + } + ++#include <sys/param.h> ostream & operator<<(ostream &os, const SMFTrack &t) { - long i, prev_flags; -+ std::_Ios_Fmtflags prev_flags; ++#if __FreeBSD_version < 500000 ++ long ++#else ++ std::_Ios_Fmtflags ++#endif ++ prev_flags; + long i; int prev_width; unsigned char *ptr; |