View | Details | Raw Unified | Return to bug 147639
Collapse All | Expand All

(-)/usr/ports/audio/libtunepimp/files/patch-include_tunepimp-0.5_metadata.h (+10 lines)
Line 0 Link Here
1
--- include/tunepimp-0.5/metadata.h.orig	2010-06-07 10:40:42.479449473 +0300
2
+++ include/tunepimp-0.5/metadata.h	2010-06-07 10:41:25.477086516 +0300
3
@@ -29,6 +29,7 @@
4
 
5
 #include <string>
6
 #include <cstdio>
7
+#include <cstring>
8
 
9
 #include "defs.h"
10
 #include "tp_c.h"
(-)/usr/ports/audio/libtunepimp/files/patch-lib-metadata.cpp (-3 / +11 lines)
Lines 1-6 Link Here
1
--- lib/metadata.cpp.orig	Wed Nov 10 17:37:26 2004
1
--- lib/metadata.cpp.orig	2006-11-18 12:52:33.000000000 +0200
2
+++ lib/metadata.cpp	Wed Sep 14 17:25:59 2005
2
+++ lib/metadata.cpp	2010-06-07 10:43:10.556325912 +0300
3
@@ -34,6 +34,14 @@
3
@@ -26,6 +26,7 @@
4
 ----------------------------------------------------------------------------*/
5
 #include <math.h>
6
 #include <stdio.h>
7
+#include <stdlib.h>
8
 #include "metadata.h"
9
 #include "../config.h"
10
 using namespace std;
11
@@ -35,6 +36,14 @@ extern "C"
4
    #include "astrcmp.h"
12
    #include "astrcmp.h"
5
 }
13
 }
6
 
14
 
(-)/usr/ports/audio/libtunepimp/files/patch-lib-utf8-utf8util.cpp (-4 / +12 lines)
Lines 1-6 Link Here
1
--- lib/utf8/utf8util.cpp.orig	Mon Jul 11 05:01:23 2005
1
--- lib/utf8/utf8util.cpp.orig	2006-11-18 12:52:26.000000000 +0200
2
+++ lib/utf8/utf8util.cpp	Wed Sep 14 17:19:42 2005
2
+++ lib/utf8/utf8util.cpp	2010-06-07 10:39:57.243921985 +0300
3
@@ -38,7 +38,7 @@
3
@@ -26,6 +26,7 @@
4
 ----------------------------------------------------------------------------*/
5
 
6
 #include <stdio.h>
7
+#include <stdlib.h>
8
 #include "utf8util.h"
9
 #include "utf8.h"
10
 #ifdef WIN32
11
@@ -38,7 +39,7 @@ string utf8Encode(const string &from)
4
     char *dest;
12
     char *dest;
5
     string to;
13
     string to;
6
 
14
 
Lines 9-15 Link Here
9
     ret = utf8_encode(from.c_str(), &dest);
17
     ret = utf8_encode(from.c_str(), &dest);
10
     if (ret >= 0)
18
     if (ret >= 0)
11
     {
19
     {
12
@@ -54,7 +54,7 @@
20
@@ -54,7 +55,7 @@ string utf8Decode(const string &from)
13
     char *dest;
21
     char *dest;
14
     string to;
22
     string to;
15
 
23
 
(-)/usr/ports/audio/libtunepimp/files/patch-lib_c_wrapper.cpp (+10 lines)
Line 0 Link Here
1
--- lib/c_wrapper.cpp.orig	2010-06-07 10:43:52.147054247 +0300
2
+++ lib/c_wrapper.cpp	2010-06-07 10:44:16.392713467 +0300
3
@@ -42,6 +42,7 @@
4
 #define TR_OBJ_CHECKV(o) Track *obj = (Track *)t; \
5
                          if (obj == NULL) return;
6
 
7
+#include <stdlib.h>
8
 #include <deque>
9
 
10
 class NotifyData
(-)/usr/ports/audio/libtunepimp/files/patch-lib_protocol.cpp (+10 lines)
Line 0 Link Here
1
--- lib/protocol.cpp.orig	2010-06-07 10:47:20.653619576 +0300
2
+++ lib/protocol.cpp	2010-06-07 10:47:55.249722982 +0300
3
@@ -8,6 +8,7 @@
4
 -------------------------------------------------------------------*/
5
 #include <stdio.h>
6
 #include <stdlib.h>
7
+#include <string.h>
8
 #include <string>
9
 #include <map>
10
 #include <expat.h>
(-)/usr/ports/audio/libtunepimp/files/patch-lib_readmeta.cpp (+10 lines)
Line 0 Link Here
1
--- lib/readmeta.cpp.orig	2010-06-07 10:45:38.729200377 +0300
2
+++ lib/readmeta.cpp	2010-06-07 10:46:01.634953724 +0300
3
@@ -31,6 +31,7 @@
4
 #endif
5
 
6
 #include <stdio.h>
7
+#include <stdlib.h>
8
 #ifndef WIN32
9
 #include <unistd.h>
10
 #endif
(-)/usr/ports/audio/libtunepimp/files/patch-lib_tunepimp.cpp (+10 lines)
Line 0 Link Here
1
--- lib/tunepimp.cpp.orig	2010-06-07 10:42:02.279074189 +0300
2
+++ lib/tunepimp.cpp	2010-06-07 10:42:26.892724626 +0300
3
@@ -31,6 +31,7 @@
4
 #endif
5
 
6
 #include <stdio.h>
7
+#include <stdlib.h>
8
 #include <map>
9
 using namespace std;
10
 
(-)/usr/ports/audio/libtunepimp/files/patch-plugins-mp4-mp4.cpp (-4 / +4 lines)
Lines 1-6 Link Here
1
--- plugins/mp4/mp4.cpp.orig	2006-11-18 02:51:08.000000000 -0800
1
--- plugins/mp4/mp4.cpp.orig	2006-11-18 12:51:08.000000000 +0200
2
+++ plugins/mp4/mp4.cpp	2007-10-02 16:24:06.000000000 -0700
2
+++ plugins/mp4/mp4.cpp	2010-06-07 10:36:19.151889361 +0300
3
@@ -231,9 +231,7 @@
3
@@ -231,9 +231,7 @@ mp4ReadMetadata(metadata_t *mdata, const
4
   
4
   
5
   strcpy(mdata->fileFormat, fileName + strlen(fileName) - 3); 
5
   strcpy(mdata->fileFormat, fileName + strlen(fileName) - 3); 
6
   
6
   
Lines 11-17 Link Here
11
   return 1;
11
   return 1;
12
 }
12
 }
13
 
13
 
14
@@ -315,8 +313,7 @@
14
@@ -315,8 +313,7 @@ mp4WriteMetadata(const metadata_t *mdata
15
   sprintf(temp, "%d", mdata->nonAlbum);  
15
   sprintf(temp, "%d", mdata->nonAlbum);  
16
   MP4SetMetadataFreeForm(mp4file, "MusicBrainz Non-Album", (u_int8_t *)temp, strlen(temp) + 1);
16
   MP4SetMetadataFreeForm(mp4file, "MusicBrainz Non-Album", (u_int8_t *)temp, strlen(temp) + 1);
17
   
17
   
(-)/usr/ports/audio/libtunepimp/files/patch-plugins-wav-wav.cpp (-3 / +3 lines)
Lines 1-5 Link Here
1
--- plugins/wav/wav.cpp.orig	Wed Jun 15 06:15:18 2005
1
--- plugins/wav/wav.cpp.orig	2006-11-18 12:51:46.000000000 +0200
2
+++ plugins/wav/wav.cpp	Wed Sep 14 17:30:30 2005
2
+++ plugins/wav/wav.cpp	2010-06-07 10:36:19.157879953 +0300
3
@@ -34,7 +34,10 @@
3
@@ -34,7 +34,10 @@
4
 #ifdef WIN32
4
 #ifdef WIN32
5
 #include <winsock.h>
5
 #include <winsock.h>
Lines 10-13 Link Here
10
+#include <arpa/inet.h>
10
+#include <arpa/inet.h>
11
 #include <sys/param.h>
11
 #include <sys/param.h>
12
 #endif
12
 #endif
13
 
13
 
(-)/usr/ports/audio/libtunepimp/files/patch-plugins_mp3_id3_2_3_meta.cpp (+10 lines)
Line 0 Link Here
1
--- plugins/mp3/id3_2_3_meta.cpp.orig	2010-06-07 10:50:49.216186011 +0300
2
+++ plugins/mp3/id3_2_3_meta.cpp	2010-06-07 10:51:05.523284779 +0300
3
@@ -26,6 +26,7 @@
4
 ----------------------------------------------------------------------------*/
5
 
6
 #include <stdio.h>
7
+#include <stdlib.h>
8
 #include <assert.h>
9
 #include <ctype.h>
10
 #include <musicbrainz/mb_c.h>
(-)/usr/ports/audio/libtunepimp/files/patch-plugins_mp3_id3_meta.cpp (+10 lines)
Line 0 Link Here
1
--- plugins/mp3/id3_meta.cpp.orig	2010-06-07 10:50:19.617800314 +0300
2
+++ plugins/mp3/id3_meta.cpp	2010-06-07 10:50:31.369156541 +0300
3
@@ -26,6 +26,7 @@
4
 ----------------------------------------------------------------------------*/
5
 
6
 #include <stdio.h>
7
+#include <stdlib.h>
8
 #include <time.h>
9
 #include <ctype.h>
10
 #include <musicbrainz/mb_c.h>
(-)/usr/ports/audio/libtunepimp/files/patch-plugins_wma_wma.cpp (+10 lines)
Line 0 Link Here
1
--- plugins/wma/wma.cpp.orig	2010-06-07 10:48:29.988820849 +0300
2
+++ plugins/wma/wma.cpp	2010-06-07 10:48:44.871996634 +0300
3
@@ -27,6 +27,7 @@
4
 
5
 #include <string.h>
6
 #include <stdio.h>
7
+#include <stdlib.h>
8
 #include <wmafile.h>
9
 #include "metadata.h"
10
 #include "plugin.h"
(-)/usr/ports/audio/libtunepimp/files/patch-plugins_wma_wmafile.cpp (+10 lines)
Line 0 Link Here
1
--- plugins/wma/wmafile.cpp.orig	2010-06-07 10:49:09.287654896 +0300
2
+++ plugins/wma/wmafile.cpp	2010-06-07 10:49:27.385665056 +0300
3
@@ -19,6 +19,7 @@
4
  *   USA                                                                   *
5
  ***************************************************************************/
6
 
7
+#include <string.h>
8
 #include <tstring.h>
9
 #include <wmafile.h>
10
 #include <wmatag.h>

Return to bug 147639