aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorgahr <gahr@FreeBSD.org>2013-09-23 18:17:38 +0800
committergahr <gahr@FreeBSD.org>2013-09-23 18:17:38 +0800
commitf91facc840957139a198f78f3605076657aaebeb (patch)
treeac3422d2d120bdeeb744550c34eab749ec861717 /audio
parent8fbf737e2c722a28f977143927a1051a71279126 (diff)
downloadfreebsd-ports-gnome-f91facc840957139a198f78f3605076657aaebeb.tar.gz
freebsd-ports-gnome-f91facc840957139a198f78f3605076657aaebeb.tar.zst
freebsd-ports-gnome-f91facc840957139a198f78f3605076657aaebeb.zip
- Fix build with clang
Diffstat (limited to 'audio')
-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)
+ {