mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
- Fix build with clang
This commit is contained in:
parent
77d56d484a
commit
a15dc5af48
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=327965
20
audio/splay/files/patch-apps_splay.cc
Normal file
20
audio/splay/files/patch-apps_splay.cc
Normal file
@ -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"
|
||||
|
11
audio/splay/files/patch-apps_xsplay.cc
Normal file
11
audio/splay/files/patch-apps_xsplay.cc
Normal file
@ -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"
|
12
audio/splay/files/patch-libs_fileplayer.cc
Normal file
12
audio/splay/files/patch-libs_fileplayer.cc
Normal file
@ -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>
|
11
audio/splay/files/patch-libs_mpegtoraw.cc
Normal file
11
audio/splay/files/patch-libs_mpegtoraw.cc
Normal file
@ -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)
|
||||
{
|
Loading…
Reference in New Issue
Block a user