freebsd-ports/audio/sidplay/files/patch-sidplay.cpp
Pawel Pekala 5730e29ede - Fix build with clang
- Update MASTER_SITES
- Add LICENSE
- Switch to PLIST_FILES

PR:		ports/184823
Submitted by:	KATO Tsuguru <tkato432@yahoo.com>
2013-12-19 17:49:36 +00:00

28 lines
465 B
C++

--- sidplay.cpp.orig
+++ sidplay.cpp
@@ -18,8 +18,8 @@
//
#include <ctype.h>
-#include <iomanip.h>
-#include <fstream.h>
+#include <iomanip>
+#include <iostream>
#include <signal.h>
#include <stdlib.h>
#include <string.h>
@@ -41,6 +41,14 @@
#define DISALLOW_STEREO_SOUND
#endif
+using std::cerr;
+using std::cout;
+using std::dec;
+using std::endl;
+using std::hex;
+using std::setfill;
+using std::setw;
+
// Error and status message numbers.
enum
{