aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorrene <rene@FreeBSD.org>2010-07-12 19:39:31 +0800
committerrene <rene@FreeBSD.org>2010-07-12 19:39:31 +0800
commitebdbd9d6ac2a6faa8ccec801761327449cd72ee6 (patch)
tree3a6f5d373d41997a73bc0ea1d63c266b4d384737 /audio
parent1e31cb3d76e62cbfcd959be65f8eb3e4e86297ab (diff)
downloadfreebsd-ports-graphics-ebdbd9d6ac2a6faa8ccec801761327449cd72ee6.tar.gz
freebsd-ports-graphics-ebdbd9d6ac2a6faa8ccec801761327449cd72ee6.tar.zst
freebsd-ports-graphics-ebdbd9d6ac2a6faa8ccec801761327449cd72ee6.zip
Make compilable with gcc 4.4
PR: ports/147639 Submitted by: Andriy Gapon [avg icyb.net.ua] Approved by: maintainer, tabthorpe (mentor)
Diffstat (limited to 'audio')
-rw-r--r--audio/libtunepimp/files/patch-include_tunepimp-0.5_metadata.h10
-rw-r--r--audio/libtunepimp/files/patch-lib-metadata.cpp14
-rw-r--r--audio/libtunepimp/files/patch-lib-utf8-utf8util.cpp16
-rw-r--r--audio/libtunepimp/files/patch-lib_c_wrapper.cpp10
-rw-r--r--audio/libtunepimp/files/patch-lib_fileio.cpp11
-rw-r--r--audio/libtunepimp/files/patch-lib_protocol.cpp10
-rw-r--r--audio/libtunepimp/files/patch-lib_readmeta.cpp10
-rw-r--r--audio/libtunepimp/files/patch-lib_tunepimp.cpp10
-rw-r--r--audio/libtunepimp/files/patch-plugins-mp4-mp4.cpp8
-rw-r--r--audio/libtunepimp/files/patch-plugins-wav-wav.cpp6
-rw-r--r--audio/libtunepimp/files/patch-plugins_mp3_id3_2_3_meta.cpp10
-rw-r--r--audio/libtunepimp/files/patch-plugins_mp3_id3_meta.cpp10
-rw-r--r--audio/libtunepimp/files/patch-plugins_wma_wma.cpp10
-rw-r--r--audio/libtunepimp/files/patch-plugins_wma_wmafile.cpp10
14 files changed, 131 insertions, 14 deletions
diff --git a/audio/libtunepimp/files/patch-include_tunepimp-0.5_metadata.h b/audio/libtunepimp/files/patch-include_tunepimp-0.5_metadata.h
new file mode 100644
index 00000000000..1e50618375f
--- /dev/null
+++ b/audio/libtunepimp/files/patch-include_tunepimp-0.5_metadata.h
@@ -0,0 +1,10 @@
+--- include/tunepimp-0.5/metadata.h.orig 2010-06-07 10:40:42.479449473 +0300
++++ include/tunepimp-0.5/metadata.h 2010-06-07 10:41:25.477086516 +0300
+@@ -29,6 +29,7 @@
+
+ #include <string>
+ #include <cstdio>
++#include <cstring>
+
+ #include "defs.h"
+ #include "tp_c.h"
diff --git a/audio/libtunepimp/files/patch-lib-metadata.cpp b/audio/libtunepimp/files/patch-lib-metadata.cpp
index 01836389858..86cdd6dfb80 100644
--- a/audio/libtunepimp/files/patch-lib-metadata.cpp
+++ b/audio/libtunepimp/files/patch-lib-metadata.cpp
@@ -1,6 +1,14 @@
---- lib/metadata.cpp.orig Wed Nov 10 17:37:26 2004
-+++ lib/metadata.cpp Wed Sep 14 17:25:59 2005
-@@ -34,6 +34,14 @@
+--- lib/metadata.cpp.orig 2006-11-18 12:52:33.000000000 +0200
++++ lib/metadata.cpp 2010-06-07 10:43:10.556325912 +0300
+@@ -26,6 +26,7 @@
+ ----------------------------------------------------------------------------*/
+ #include <math.h>
+ #include <stdio.h>
++#include <stdlib.h>
+ #include "metadata.h"
+ #include "../config.h"
+ using namespace std;
+@@ -35,6 +36,14 @@ extern "C"
#include "astrcmp.h"
}
diff --git a/audio/libtunepimp/files/patch-lib-utf8-utf8util.cpp b/audio/libtunepimp/files/patch-lib-utf8-utf8util.cpp
index a3a5cabb78e..ac25f4e75fa 100644
--- a/audio/libtunepimp/files/patch-lib-utf8-utf8util.cpp
+++ b/audio/libtunepimp/files/patch-lib-utf8-utf8util.cpp
@@ -1,6 +1,14 @@
---- lib/utf8/utf8util.cpp.orig Mon Jul 11 05:01:23 2005
-+++ lib/utf8/utf8util.cpp Wed Sep 14 17:19:42 2005
-@@ -38,7 +38,7 @@
+--- lib/utf8/utf8util.cpp.orig 2006-11-18 12:52:26.000000000 +0200
++++ lib/utf8/utf8util.cpp 2010-06-07 10:39:57.243921985 +0300
+@@ -26,6 +26,7 @@
+ ----------------------------------------------------------------------------*/
+
+ #include <stdio.h>
++#include <stdlib.h>
+ #include "utf8util.h"
+ #include "utf8.h"
+ #ifdef WIN32
+@@ -38,7 +39,7 @@ string utf8Encode(const string &from)
char *dest;
string to;
@@ -9,7 +17,7 @@
ret = utf8_encode(from.c_str(), &dest);
if (ret >= 0)
{
-@@ -54,7 +54,7 @@
+@@ -54,7 +55,7 @@ string utf8Decode(const string &from)
char *dest;
string to;
diff --git a/audio/libtunepimp/files/patch-lib_c_wrapper.cpp b/audio/libtunepimp/files/patch-lib_c_wrapper.cpp
new file mode 100644
index 00000000000..884cd942153
--- /dev/null
+++ b/audio/libtunepimp/files/patch-lib_c_wrapper.cpp
@@ -0,0 +1,10 @@
+--- lib/c_wrapper.cpp.orig 2010-06-07 10:43:52.147054247 +0300
++++ lib/c_wrapper.cpp 2010-06-07 10:44:16.392713467 +0300
+@@ -42,6 +42,7 @@
+ #define TR_OBJ_CHECKV(o) Track *obj = (Track *)t; \
+ if (obj == NULL) return;
+
++#include <stdlib.h>
+ #include <deque>
+
+ class NotifyData
diff --git a/audio/libtunepimp/files/patch-lib_fileio.cpp b/audio/libtunepimp/files/patch-lib_fileio.cpp
new file mode 100644
index 00000000000..f399d6f1f56
--- /dev/null
+++ b/audio/libtunepimp/files/patch-lib_fileio.cpp
@@ -0,0 +1,11 @@
+--- lib/fileio.cpp.orig 2006-11-18 11:52:33.000000000 +0100
++++ lib/fileio.cpp 2010-06-20 18:37:34.000000000 +0200
+@@ -28,6 +28,8 @@
+ #include <assert.h>
+ #include <errno.h>
++#include <stdlib.h>
+ #include <string>
++#include <string.h>
+ #ifndef WIN32
+ #include <unistd.h>
+ #endif
diff --git a/audio/libtunepimp/files/patch-lib_protocol.cpp b/audio/libtunepimp/files/patch-lib_protocol.cpp
new file mode 100644
index 00000000000..b7648102f14
--- /dev/null
+++ b/audio/libtunepimp/files/patch-lib_protocol.cpp
@@ -0,0 +1,10 @@
+--- lib/protocol.cpp.orig 2010-06-07 10:47:20.653619576 +0300
++++ lib/protocol.cpp 2010-06-07 10:47:55.249722982 +0300
+@@ -8,6 +8,7 @@
+ -------------------------------------------------------------------*/
+ #include <stdio.h>
+ #include <stdlib.h>
++#include <string.h>
+ #include <string>
+ #include <map>
+ #include <expat.h>
diff --git a/audio/libtunepimp/files/patch-lib_readmeta.cpp b/audio/libtunepimp/files/patch-lib_readmeta.cpp
new file mode 100644
index 00000000000..eb235c821fc
--- /dev/null
+++ b/audio/libtunepimp/files/patch-lib_readmeta.cpp
@@ -0,0 +1,10 @@
+--- lib/readmeta.cpp.orig 2010-06-07 10:45:38.729200377 +0300
++++ lib/readmeta.cpp 2010-06-07 10:46:01.634953724 +0300
+@@ -31,6 +31,7 @@
+ #endif
+
+ #include <stdio.h>
++#include <stdlib.h>
+ #ifndef WIN32
+ #include <unistd.h>
+ #endif
diff --git a/audio/libtunepimp/files/patch-lib_tunepimp.cpp b/audio/libtunepimp/files/patch-lib_tunepimp.cpp
new file mode 100644
index 00000000000..b623b7fd630
--- /dev/null
+++ b/audio/libtunepimp/files/patch-lib_tunepimp.cpp
@@ -0,0 +1,10 @@
+--- lib/tunepimp.cpp.orig 2010-06-07 10:42:02.279074189 +0300
++++ lib/tunepimp.cpp 2010-06-07 10:42:26.892724626 +0300
+@@ -31,6 +31,7 @@
+ #endif
+
+ #include <stdio.h>
++#include <stdlib.h>
+ #include <map>
+ using namespace std;
+
diff --git a/audio/libtunepimp/files/patch-plugins-mp4-mp4.cpp b/audio/libtunepimp/files/patch-plugins-mp4-mp4.cpp
index eb14fb2c18f..90af6f501b7 100644
--- a/audio/libtunepimp/files/patch-plugins-mp4-mp4.cpp
+++ b/audio/libtunepimp/files/patch-plugins-mp4-mp4.cpp
@@ -1,6 +1,6 @@
---- plugins/mp4/mp4.cpp.orig 2006-11-18 02:51:08.000000000 -0800
-+++ plugins/mp4/mp4.cpp 2007-10-02 16:24:06.000000000 -0700
-@@ -231,9 +231,7 @@
+--- plugins/mp4/mp4.cpp.orig 2006-11-18 12:51:08.000000000 +0200
++++ plugins/mp4/mp4.cpp 2010-06-07 10:36:19.151889361 +0300
+@@ -231,9 +231,7 @@ mp4ReadMetadata(metadata_t *mdata, const
strcpy(mdata->fileFormat, fileName + strlen(fileName) - 3);
@@ -11,7 +11,7 @@
return 1;
}
-@@ -315,8 +313,7 @@
+@@ -315,8 +313,7 @@ mp4WriteMetadata(const metadata_t *mdata
sprintf(temp, "%d", mdata->nonAlbum);
MP4SetMetadataFreeForm(mp4file, "MusicBrainz Non-Album", (u_int8_t *)temp, strlen(temp) + 1);
diff --git a/audio/libtunepimp/files/patch-plugins-wav-wav.cpp b/audio/libtunepimp/files/patch-plugins-wav-wav.cpp
index 34bf7b46d4c..7bb3f8e718e 100644
--- a/audio/libtunepimp/files/patch-plugins-wav-wav.cpp
+++ b/audio/libtunepimp/files/patch-plugins-wav-wav.cpp
@@ -1,5 +1,5 @@
---- plugins/wav/wav.cpp.orig Wed Jun 15 06:15:18 2005
-+++ plugins/wav/wav.cpp Wed Sep 14 17:30:30 2005
+--- plugins/wav/wav.cpp.orig 2006-11-18 12:51:46.000000000 +0200
++++ plugins/wav/wav.cpp 2010-06-07 10:36:19.157879953 +0300
@@ -34,7 +34,10 @@
#ifdef WIN32
#include <winsock.h>
@@ -10,4 +10,4 @@
+#include <arpa/inet.h>
#include <sys/param.h>
#endif
- \ No newline at end of file
+
diff --git a/audio/libtunepimp/files/patch-plugins_mp3_id3_2_3_meta.cpp b/audio/libtunepimp/files/patch-plugins_mp3_id3_2_3_meta.cpp
new file mode 100644
index 00000000000..0d7eb53ac4f
--- /dev/null
+++ b/audio/libtunepimp/files/patch-plugins_mp3_id3_2_3_meta.cpp
@@ -0,0 +1,10 @@
+--- plugins/mp3/id3_2_3_meta.cpp.orig 2010-06-07 10:50:49.216186011 +0300
++++ plugins/mp3/id3_2_3_meta.cpp 2010-06-07 10:51:05.523284779 +0300
+@@ -26,6 +26,7 @@
+ ----------------------------------------------------------------------------*/
+
+ #include <stdio.h>
++#include <stdlib.h>
+ #include <assert.h>
+ #include <ctype.h>
+ #include <musicbrainz/mb_c.h>
diff --git a/audio/libtunepimp/files/patch-plugins_mp3_id3_meta.cpp b/audio/libtunepimp/files/patch-plugins_mp3_id3_meta.cpp
new file mode 100644
index 00000000000..afd40370446
--- /dev/null
+++ b/audio/libtunepimp/files/patch-plugins_mp3_id3_meta.cpp
@@ -0,0 +1,10 @@
+--- plugins/mp3/id3_meta.cpp.orig 2010-06-07 10:50:19.617800314 +0300
++++ plugins/mp3/id3_meta.cpp 2010-06-07 10:50:31.369156541 +0300
+@@ -26,6 +26,7 @@
+ ----------------------------------------------------------------------------*/
+
+ #include <stdio.h>
++#include <stdlib.h>
+ #include <time.h>
+ #include <ctype.h>
+ #include <musicbrainz/mb_c.h>
diff --git a/audio/libtunepimp/files/patch-plugins_wma_wma.cpp b/audio/libtunepimp/files/patch-plugins_wma_wma.cpp
new file mode 100644
index 00000000000..9c3c1c70779
--- /dev/null
+++ b/audio/libtunepimp/files/patch-plugins_wma_wma.cpp
@@ -0,0 +1,10 @@
+--- plugins/wma/wma.cpp.orig 2010-06-07 10:48:29.988820849 +0300
++++ plugins/wma/wma.cpp 2010-06-07 10:48:44.871996634 +0300
+@@ -27,6 +27,7 @@
+
+ #include <string.h>
+ #include <stdio.h>
++#include <stdlib.h>
+ #include <wmafile.h>
+ #include "metadata.h"
+ #include "plugin.h"
diff --git a/audio/libtunepimp/files/patch-plugins_wma_wmafile.cpp b/audio/libtunepimp/files/patch-plugins_wma_wmafile.cpp
new file mode 100644
index 00000000000..46b41e73193
--- /dev/null
+++ b/audio/libtunepimp/files/patch-plugins_wma_wmafile.cpp
@@ -0,0 +1,10 @@
+--- plugins/wma/wmafile.cpp.orig 2010-06-07 10:49:09.287654896 +0300
++++ plugins/wma/wmafile.cpp 2010-06-07 10:49:27.385665056 +0300
+@@ -19,6 +19,7 @@
+ * USA *
+ ***************************************************************************/
+
++#include <string.h>
+ #include <tstring.h>
+ #include <wmafile.h>
+ #include <wmatag.h>