pkgsrc/audio/sidplay/patches/patch-ac
marino c7ae898630 audio/sidplay: Fix DragonFly / use iostream and friends
Replace <iostream.h> includes and similar with c++ headers, and use
the standard namespace to fix breakage on DragonFly and NetBSD 5.99.
2011-11-23 19:17:07 +00:00

25 lines
473 B
Text

$NetBSD: patch-ac,v 1.8 2011/11/23 19:17:07 marino Exp $
--- sidplay.cpp.orig 2002-09-28 18:44:02.000000000 +0000
+++ sidplay.cpp
@@ -18,8 +18,9 @@
//
#include <ctype.h>
-#include <iomanip.h>
-#include <fstream.h>
+#include <iostream>
+#include <iomanip>
+#include <fstream>
#include <signal.h>
#include <stdlib.h>
#include <string.h>
@@ -41,6 +42,8 @@
#define DISALLOW_STEREO_SOUND
#endif
+using namespace std;
+
// Error and status message numbers.
enum
{