svn commit: r327965 - head/audio/splay/files
Pietro Cerutti
gahr at FreeBSD.org
Mon Sep 23 10:17:39 UTC 2013
Author: gahr
Date: Mon Sep 23 10:17:38 2013
New Revision: 327965
URL: http://svnweb.freebsd.org/changeset/ports/327965
Log:
- Fix build with clang
Added:
head/audio/splay/files/patch-apps_splay.cc (contents, props changed)
head/audio/splay/files/patch-apps_xsplay.cc (contents, props changed)
head/audio/splay/files/patch-libs_fileplayer.cc (contents, props changed)
head/audio/splay/files/patch-libs_mpegtoraw.cc (contents, props changed)
Added: head/audio/splay/files/patch-apps_splay.cc
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/audio/splay/files/patch-apps_splay.cc Mon Sep 23 10:17:38 2013 (r327965)
@@ -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"
+
Added: head/audio/splay/files/patch-apps_xsplay.cc
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/audio/splay/files/patch-apps_xsplay.cc Mon Sep 23 10:17:38 2013 (r327965)
@@ -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"
Added: head/audio/splay/files/patch-libs_fileplayer.cc
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/audio/splay/files/patch-libs_fileplayer.cc Mon Sep 23 10:17:38 2013 (r327965)
@@ -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>
Added: head/audio/splay/files/patch-libs_mpegtoraw.cc
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/audio/splay/files/patch-libs_mpegtoraw.cc Mon Sep 23 10:17:38 2013 (r327965)
@@ -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)
+ {
More information about the svn-ports-head
mailing list