1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-31 05:41:08 +00:00
freebsd-ports/audio/tclmidi/files/patch-ac
Jean-Marc Zucconi 5705d61058 The previous commit on this file unbroke the -current build but broke 4.x.
Now this patch should work both on 4.x and -current.
2003-05-14 01:57:55 +00:00

22 lines
402 B
Plaintext

--- 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;
+#if __FreeBSD_version < 500000
+ long
+#else
+ std::_Ios_Fmtflags
+#endif
+ prev_flags;
+ long i;
int prev_width;
unsigned char *ptr;