summaryrefslogtreecommitdiff
path: root/audio/id3v2/files/patch-id3v2_cpp
diff options
context:
space:
mode:
authorTilman Keskinoz <arved@FreeBSD.org>2003-01-07 18:34:54 +0000
committerTilman Keskinoz <arved@FreeBSD.org>2003-01-07 18:34:54 +0000
commit0b04676d3acd590c2815b05e10f433160e56ee59 (patch)
treee55ba0aca11b87c692c07807ca1340e424556804 /audio/id3v2/files/patch-id3v2_cpp
parentRemove the crafty-open-rock port. The necessary files are no longer (diff)
Fix Build on -CURRENT. Merged from:
PR: 45220 Submitted by: Jens Rehsack <rehsack@liwing.de>
Notes
Notes: svn path=/head/; revision=72706
Diffstat (limited to 'audio/id3v2/files/patch-id3v2_cpp')
-rw-r--r--audio/id3v2/files/patch-id3v2_cpp29
1 files changed, 29 insertions, 0 deletions
diff --git a/audio/id3v2/files/patch-id3v2_cpp b/audio/id3v2/files/patch-id3v2_cpp
new file mode 100644
index 000000000000..0108f2e4a0e7
--- /dev/null
+++ b/audio/id3v2/files/patch-id3v2_cpp
@@ -0,0 +1,29 @@
+--- id3v2.cpp.orig Mon Nov 11 18:47:38 2002
++++ id3v2.cpp Mon Nov 11 18:53:32 2002
+@@ -2,20 +2,21 @@
+ #include <config.h>
+ #endif
+
+-#include <stdio.h>
+-#include <iostream.h>
+-#include <string.h>
++#include <cstdio>
++#include <iostream>
++#include <cstring>
+ #include <id3/tag.h>
+ #include <getopt.h>
+-#include <stdlib.h>
++#include <cstdlib>
+ #include <id3/misc_support.h>
+
+ #include <sys/types.h>
+ #include <sys/stat.h>
+-#include <unistd.h>
+
+ #define VERSION_NUMBER "$Revision: 1.7 $"
+ #define MAXNOFRAMES 1000
++
++using namespace std;
+
+ /* Write both tags by default */
+ flags_t UpdFlags = ID3TT_ALL;