summaryrefslogtreecommitdiff
path: root/audio/maplay/files/patch-crc.cc
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2002-11-21 05:49:07 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2002-11-21 05:49:07 +0000
commitc47d0fa49a436e4965cc39e5464b2a5509fec759 (patch)
treeaf6b2f1d38c291d3f2dbbe200df1d7e774c1bb8d /audio/maplay/files/patch-crc.cc
parentfix build on -current (diff)
Make audio/maplay compiling under -current again.
Noticed by: bento
Notes
Notes: svn path=/head/; revision=70641
Diffstat (limited to 'audio/maplay/files/patch-crc.cc')
-rw-r--r--audio/maplay/files/patch-crc.cc20
1 files changed, 20 insertions, 0 deletions
diff --git a/audio/maplay/files/patch-crc.cc b/audio/maplay/files/patch-crc.cc
new file mode 100644
index 000000000000..909f2e3255b0
--- /dev/null
+++ b/audio/maplay/files/patch-crc.cc
@@ -0,0 +1,20 @@
+--- crc.cc.orig Thu Nov 21 16:44:18 2002
++++ crc.cc Thu Nov 21 16:44:30 2002
+@@ -18,7 +18,7 @@
+ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
+
+-#include <iostream.h>
++#include <iostream>
+ #include <stdlib.h>
+ #include "crc.h"
+
+@@ -32,7 +32,7 @@
+ #ifdef DEBUG
+ if (!length)
+ {
+- cerr << "Length of bitstring has to be > 0 in Crc16::add_bits()!\n";
++ std::cerr << "Length of bitstring has to be > 0 in Crc16::add_bits()!\n";
+ exit (1);
+ }
+ #endif