aboutsummaryrefslogtreecommitdiff
path: root/audio/splay
diff options
context:
space:
mode:
authorPietro Cerutti <gahr@FreeBSD.org>2013-09-23 10:17:38 +0000
committerPietro Cerutti <gahr@FreeBSD.org>2013-09-23 10:17:38 +0000
commita15dc5af4844d81ed6e1c031d12503e9c9aae1d6 (patch)
treeac3422d2d120bdeeb744550c34eab749ec861717 /audio/splay
parent77d56d484afeadfbe554a388becaa0e7c988fd1c (diff)
downloadports-a15dc5af4844d81ed6e1c031d12503e9c9aae1d6.tar.gz
ports-a15dc5af4844d81ed6e1c031d12503e9c9aae1d6.zip
- Fix build with clang
Notes
Notes: svn path=/head/; revision=327965
Diffstat (limited to 'audio/splay')
-rw-r--r--audio/splay/files/patch-apps_splay.cc20
-rw-r--r--audio/splay/files/patch-apps_xsplay.cc11
-rw-r--r--audio/splay/files/patch-libs_fileplayer.cc12
-rw-r--r--audio/splay/files/patch-libs_mpegtoraw.cc11
4 files changed, 54 insertions, 0 deletions
diff --git a/audio/splay/files/patch-apps_splay.cc b/audio/splay/files/patch-apps_splay.cc
new file mode 100644
index 000000000000..48f0682282c1
--- /dev/null
+++ b/audio/splay/files/patch-apps_splay.cc
@@ -0,0 +1,20 @@
+--- apps/splay.cc.orig 2001-03-19 09:51:27.000000000 +0100
++++ apps/splay.cc 2013-09-23 12:15:27.000000000 +0200
+@@ -16,14 +16,15 @@
+
+ #include <sys/types.h>
+ #include <sys/wait.h>
+-#include <iostream.h>
++#include <iostream>
++using namespace std;
+
+ #ifdef HAVE_LIBID3
+ #include <id3/tag.h>
+ #include <id3/misc_support.h>
+ #endif /* HAVE_LIBID3 */
+
+-#include <iomanip.h>
++#include <iomanip>
+
+ #include "mpegsound.h"
+
diff --git a/audio/splay/files/patch-apps_xsplay.cc b/audio/splay/files/patch-apps_xsplay.cc
new file mode 100644
index 000000000000..c886010a5d54
--- /dev/null
+++ b/audio/splay/files/patch-apps_xsplay.cc
@@ -0,0 +1,11 @@
+--- apps/xsplay.cc.orig 2001-02-20 20:04:07.000000000 +0100
++++ apps/xsplay.cc 2013-09-23 12:11:46.000000000 +0200
+@@ -29,7 +29,7 @@
+ #include <fcntl.h>
+ #include <string.h>
+ #include <unistd.h>
+-#include <iostream.h>
++#include <iostream>
+ #include <iomanip.h>
+
+ #include "mpegsound.h"
diff --git a/audio/splay/files/patch-libs_fileplayer.cc b/audio/splay/files/patch-libs_fileplayer.cc
new file mode 100644
index 000000000000..0c1f652b4282
--- /dev/null
+++ b/audio/splay/files/patch-libs_fileplayer.cc
@@ -0,0 +1,12 @@
+--- libs/fileplayer.cc.orig 2001-03-17 19:57:12.000000000 +0100
++++ libs/fileplayer.cc 2013-09-23 12:12:55.000000000 +0200
+@@ -10,7 +10,8 @@
+ #endif
+
+ #include <string.h>
+-#include <iostream.h>
++#include <iostream>
++using namespace std;
+ #include <sys/types.h>
+ #include <sys/stat.h>
+ #include <fcntl.h>
diff --git a/audio/splay/files/patch-libs_mpegtoraw.cc b/audio/splay/files/patch-libs_mpegtoraw.cc
new file mode 100644
index 000000000000..619f311527f4
--- /dev/null
+++ b/audio/splay/files/patch-libs_mpegtoraw.cc
@@ -0,0 +1,11 @@
+--- libs/mpegtoraw.cc.orig 2001-02-15 14:43:40.000000000 +0100
++++ libs/mpegtoraw.cc 2013-09-23 12:11:46.000000000 +0200
+@@ -552,7 +552,7 @@
+ #endif
+
+
+-#include <iostream.h>
++#include <iostream>
+ // Convert mpeg to raw
+ bool Mpegtoraw::run(int frames)
+ {