summaryrefslogtreecommitdiff
path: root/audio/libtunepimp/patches
diff options
context:
space:
mode:
authormarkd <markd@pkgsrc.org>2011-01-29 21:15:11 +0000
committermarkd <markd@pkgsrc.org>2011-01-29 21:15:11 +0000
commitfd0701a310619efac05790ca8ec436f12b609a99 (patch)
treedf9a585ce25cab03fd7f4f089ae2aa658e36c15c /audio/libtunepimp/patches
parent658c5d1530c259f3ea1c9645e63a1a9f0e522870 (diff)
downloadpkgsrc-fd0701a310619efac05790ca8ec436f12b609a99.tar.gz
Fix build with gcc4.3
Diffstat (limited to 'audio/libtunepimp/patches')
-rw-r--r--audio/libtunepimp/patches/patch-aa16
-rw-r--r--audio/libtunepimp/patches/patch-ae14
-rw-r--r--audio/libtunepimp/patches/patch-af14
-rw-r--r--audio/libtunepimp/patches/patch-ag14
-rw-r--r--audio/libtunepimp/patches/patch-ah12
-rw-r--r--audio/libtunepimp/patches/patch-ai14
-rw-r--r--audio/libtunepimp/patches/patch-aj25
-rw-r--r--audio/libtunepimp/patches/patch-ak14
-rw-r--r--audio/libtunepimp/patches/patch-al14
-rw-r--r--audio/libtunepimp/patches/patch-am14
-rw-r--r--audio/libtunepimp/patches/patch-an14
-rw-r--r--audio/libtunepimp/patches/patch-ao14
-rw-r--r--audio/libtunepimp/patches/patch-ap16
13 files changed, 191 insertions, 4 deletions
diff --git a/audio/libtunepimp/patches/patch-aa b/audio/libtunepimp/patches/patch-aa
index 97fa5dfb7e6..d5c849e126c 100644
--- a/audio/libtunepimp/patches/patch-aa
+++ b/audio/libtunepimp/patches/patch-aa
@@ -1,8 +1,16 @@
-$NetBSD: patch-aa,v 1.4 2007/11/19 09:53:08 dillo Exp $
+$NetBSD: patch-aa,v 1.5 2011/01/29 21:15:11 markd Exp $
---- plugins/mp4/mp4.cpp.orig 2006-11-18 11:51:08.000000000 +0100
+--- plugins/mp4/mp4.cpp.orig 2006-11-18 10:51:08.000000000 +0000
+++ plugins/mp4/mp4.cpp
-@@ -231,8 +231,7 @@ mp4ReadMetadata(metadata_t *mdata, const
+@@ -27,6 +27,7 @@
+
+ #include <string.h>
+ #include <stdio.h>
++#include <stdlib.h>
+ #include <mp4.h>
+ #include "metadata.h"
+ #include "plugin.h"
+@@ -231,8 +232,7 @@ mp4ReadMetadata(metadata_t *mdata, const
strcpy(mdata->fileFormat, fileName + strlen(fileName) - 3);
@@ -12,7 +20,7 @@ $NetBSD: patch-aa,v 1.4 2007/11/19 09:53:08 dillo Exp $
return 1;
}
-@@ -315,8 +314,7 @@ mp4WriteMetadata(const metadata_t *mdata
+@@ -315,8 +315,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/patches/patch-ae b/audio/libtunepimp/patches/patch-ae
new file mode 100644
index 00000000000..dcdbecbc282
--- /dev/null
+++ b/audio/libtunepimp/patches/patch-ae
@@ -0,0 +1,14 @@
+$NetBSD: patch-ae,v 1.3 2011/01/29 21:15:11 markd Exp $
+
+fix build with gcc4.3
+
+--- lib/metadata.cpp.orig 2006-11-18 10:52:33.000000000 +0000
++++ lib/metadata.cpp
+@@ -26,6 +26,7 @@
+ ----------------------------------------------------------------------------*/
+ #include <math.h>
+ #include <stdio.h>
++#include <stdlib.h>
+ #include "metadata.h"
+ #include "../config.h"
+ using namespace std;
diff --git a/audio/libtunepimp/patches/patch-af b/audio/libtunepimp/patches/patch-af
new file mode 100644
index 00000000000..af6e4dc56d1
--- /dev/null
+++ b/audio/libtunepimp/patches/patch-af
@@ -0,0 +1,14 @@
+$NetBSD: patch-af,v 1.1 2011/01/29 21:15:11 markd Exp $
+
+fix build with gcc4.3
+
+--- lib/protocol.cpp.orig 2006-11-28 20:25:04.000000000 +0000
++++ lib/protocol.cpp
+@@ -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/patches/patch-ag b/audio/libtunepimp/patches/patch-ag
new file mode 100644
index 00000000000..9d6c6a556c1
--- /dev/null
+++ b/audio/libtunepimp/patches/patch-ag
@@ -0,0 +1,14 @@
+$NetBSD: patch-ag,v 1.1 2011/01/29 21:15:11 markd Exp $
+
+fix build with gcc4.3
+
+--- lib/utf8/utf8util.cpp.orig 2006-11-18 10:52:26.000000000 +0000
++++ lib/utf8/utf8util.cpp
+@@ -26,6 +26,7 @@
+ ----------------------------------------------------------------------------*/
+
+ #include <stdio.h>
++#include <stdlib.h>
+ #include "utf8util.h"
+ #include "utf8.h"
+ #ifdef WIN32
diff --git a/audio/libtunepimp/patches/patch-ah b/audio/libtunepimp/patches/patch-ah
new file mode 100644
index 00000000000..90476cc10f1
--- /dev/null
+++ b/audio/libtunepimp/patches/patch-ah
@@ -0,0 +1,12 @@
+$NetBSD: patch-ah,v 1.1 2011/01/29 21:15:11 markd Exp $
+
+fix build with gcc4.3
+
+--- lib/c_wrapper.cpp.orig 2006-11-18 10:52:33.000000000 +0000
++++ lib/c_wrapper.cpp
+@@ -25,4 +25,5 @@
+
+ ----------------------------------------------------------------------------*/
++#include <stdlib.h>
+ #include "tunepimp.h"
+ #include "mutex.h"
diff --git a/audio/libtunepimp/patches/patch-ai b/audio/libtunepimp/patches/patch-ai
new file mode 100644
index 00000000000..31f417db853
--- /dev/null
+++ b/audio/libtunepimp/patches/patch-ai
@@ -0,0 +1,14 @@
+$NetBSD: patch-ai,v 1.1 2011/01/29 21:15:11 markd Exp $
+
+fix build with gcc4.3
+
+--- lib/readmeta.cpp.orig 2006-11-18 10:52:33.000000000 +0000
++++ lib/readmeta.cpp
+@@ -31,6 +31,7 @@
+ #endif
+
+ #include <stdio.h>
++#include <stdlib.h>
+ #ifndef WIN32
+ #include <unistd.h>
+ #endif
diff --git a/audio/libtunepimp/patches/patch-aj b/audio/libtunepimp/patches/patch-aj
new file mode 100644
index 00000000000..ef079efbfc4
--- /dev/null
+++ b/audio/libtunepimp/patches/patch-aj
@@ -0,0 +1,25 @@
+$NetBSD: patch-aj,v 1.1 2011/01/29 21:15:11 markd Exp $
+
+fix build with gcc4.3
+
+--- lib/fileio.cpp.orig 2006-11-18 10:52:33.000000000 +0000
++++ lib/fileio.cpp
+@@ -27,6 +27,8 @@
+
+ #include <assert.h>
+ #include <errno.h>
++#include <stdlib.h>
++#include <string.h>
+ #include <string>
+ #ifndef WIN32
+ #include <unistd.h>
+@@ -122,7 +124,8 @@ int taccess(const char *pathname, int mo
+
+ void tmktempname(const char *path, char *newPath, int newPathLen)
+ {
+- char *ptr, *temp;
++ const char *ptr;
++ char *temp;
+
+ temp = (char *)malloc(strlen(path) + 32);
+ ptr = strrchr(path, dirSepChar);
diff --git a/audio/libtunepimp/patches/patch-ak b/audio/libtunepimp/patches/patch-ak
new file mode 100644
index 00000000000..bd1477189fb
--- /dev/null
+++ b/audio/libtunepimp/patches/patch-ak
@@ -0,0 +1,14 @@
+$NetBSD: patch-ak,v 1.1 2011/01/29 21:15:11 markd Exp $
+
+fix build with gcc4.3
+
+--- plugins/mp3/id3_meta.cpp.orig 2006-11-18 10:51:07.000000000 +0000
++++ plugins/mp3/id3_meta.cpp
+@@ -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/patches/patch-al b/audio/libtunepimp/patches/patch-al
new file mode 100644
index 00000000000..57b8b65048b
--- /dev/null
+++ b/audio/libtunepimp/patches/patch-al
@@ -0,0 +1,14 @@
+$NetBSD: patch-al,v 1.1 2011/01/29 21:15:11 markd Exp $
+
+fix build with gcc4.3
+
+--- plugins/mp3/id3_2_3_meta.cpp.orig 2006-11-18 10:51:07.000000000 +0000
++++ plugins/mp3/id3_2_3_meta.cpp
+@@ -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/patches/patch-am b/audio/libtunepimp/patches/patch-am
new file mode 100644
index 00000000000..b090ca66373
--- /dev/null
+++ b/audio/libtunepimp/patches/patch-am
@@ -0,0 +1,14 @@
+$NetBSD: patch-am,v 1.1 2011/01/29 21:15:11 markd Exp $
+
+fix build with gcc4.3
+
+--- plugins/wma/wma.cpp.orig 2006-11-18 10:51:28.000000000 +0000
++++ plugins/wma/wma.cpp
+@@ -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/patches/patch-an b/audio/libtunepimp/patches/patch-an
new file mode 100644
index 00000000000..b3b3b07de20
--- /dev/null
+++ b/audio/libtunepimp/patches/patch-an
@@ -0,0 +1,14 @@
+$NetBSD: patch-an,v 1.1 2011/01/29 21:15:11 markd Exp $
+
+fix build with gcc4.3
+
+--- plugins/wma/wmafile.cpp.orig 2006-11-18 10:51:28.000000000 +0000
++++ plugins/wma/wmafile.cpp
+@@ -19,6 +19,7 @@
+ * USA *
+ ***************************************************************************/
+
++#include <string.h>
+ #include <tstring.h>
+ #include <wmafile.h>
+ #include <wmatag.h>
diff --git a/audio/libtunepimp/patches/patch-ao b/audio/libtunepimp/patches/patch-ao
new file mode 100644
index 00000000000..1d9697d09ff
--- /dev/null
+++ b/audio/libtunepimp/patches/patch-ao
@@ -0,0 +1,14 @@
+$NetBSD: patch-ao,v 1.1 2011/01/29 21:15:11 markd Exp $
+
+fix build with gcc4.3
+
+--- include/tunepimp-0.5/metadata.h.orig 2006-11-18 10:52:08.000000000 +0000
++++ include/tunepimp-0.5/metadata.h
+@@ -27,6 +27,7 @@
+ #ifndef __METADATA_H__
+ #define __METADATA_H__
+
++#include <string.h>
+ #include <string>
+ #include <cstdio>
+
diff --git a/audio/libtunepimp/patches/patch-ap b/audio/libtunepimp/patches/patch-ap
new file mode 100644
index 00000000000..80632a0623f
--- /dev/null
+++ b/audio/libtunepimp/patches/patch-ap
@@ -0,0 +1,16 @@
+$NetBSD: patch-ap,v 1.1 2011/01/29 21:15:11 markd Exp $
+
+fix build with gcc4.3
+
+--- lib/tunepimp.cpp.orig 2006-11-18 10:52:33.000000000 +0000
++++ lib/tunepimp.cpp
+@@ -30,7 +30,9 @@
+ #endif
+ #endif
+
++#include <string.h>
+ #include <stdio.h>
++#include <stdlib.h>
+ #include <map>
+ using namespace std;
+