diff options
author | Michael Nottebrock <lofi@FreeBSD.org> | 2005-09-14 16:50:07 +0000 |
---|---|---|
committer | Michael Nottebrock <lofi@FreeBSD.org> | 2005-09-14 16:50:07 +0000 |
commit | 1a717e00ad1909de1af21d2151a00ec13c531b75 (patch) | |
tree | 6fffee0099316dd62a9d755afdc4e0d816d09f85 /audio/libtunepimp | |
parent | 43b151ac9ec90bd2019f8e7880571e392affe70d (diff) | |
download | ports-1a717e00ad1909de1af21d2151a00ec13c531b75.tar.gz ports-1a717e00ad1909de1af21d2151a00ec13c531b75.zip |
Notes
Diffstat (limited to 'audio/libtunepimp')
-rw-r--r-- | audio/libtunepimp/files/patch-lib-metadata.cpp | 17 | ||||
-rw-r--r-- | audio/libtunepimp/files/patch-lib-utf8-utf8util.cpp | 20 | ||||
-rw-r--r-- | audio/libtunepimp/files/patch-plugins-flac-flac.cpp | 13 | ||||
-rw-r--r-- | audio/libtunepimp/files/patch-plugins-mp3-mp3.cpp | 13 | ||||
-rw-r--r-- | audio/libtunepimp/files/patch-plugins-vorbis-vorbis.cpp | 13 | ||||
-rw-r--r-- | audio/libtunepimp/files/patch-plugins-wav-wav.cpp | 13 |
6 files changed, 89 insertions, 0 deletions
diff --git a/audio/libtunepimp/files/patch-lib-metadata.cpp b/audio/libtunepimp/files/patch-lib-metadata.cpp new file mode 100644 index 000000000000..018363898587 --- /dev/null +++ b/audio/libtunepimp/files/patch-lib-metadata.cpp @@ -0,0 +1,17 @@ +--- 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 @@ + #include "astrcmp.h" + } + ++#ifndef min ++#define min(a,b) ((a) < (b) ? (a) : (b)) ++#endif ++ ++#ifndef max ++#define max(a,b) ((a) > (b) ? (a) : (b)) ++#endif ++ + const int numAlbumTypeStrings = 11; + const char *albumTypeStrings[] = + { diff --git a/audio/libtunepimp/files/patch-lib-utf8-utf8util.cpp b/audio/libtunepimp/files/patch-lib-utf8-utf8util.cpp new file mode 100644 index 000000000000..a3a5cabb78e8 --- /dev/null +++ b/audio/libtunepimp/files/patch-lib-utf8-utf8util.cpp @@ -0,0 +1,20 @@ +--- 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 @@ + char *dest; + string to; + +- to.clear(); ++ to = ""; + ret = utf8_encode(from.c_str(), &dest); + if (ret >= 0) + { +@@ -54,7 +54,7 @@ + char *dest; + string to; + +- to.clear(); ++ to = ""; + ret = utf8_decode(from.c_str(), &dest); + if (ret >= 0) + { diff --git a/audio/libtunepimp/files/patch-plugins-flac-flac.cpp b/audio/libtunepimp/files/patch-plugins-flac-flac.cpp new file mode 100644 index 000000000000..5d590d59034b --- /dev/null +++ b/audio/libtunepimp/files/patch-plugins-flac-flac.cpp @@ -0,0 +1,13 @@ +--- plugins/flac/flac.cpp.orig Tue Jun 28 13:03:06 2005 ++++ plugins/flac/flac.cpp Wed Sep 14 17:35:23 2005 +@@ -33,7 +33,10 @@ + #ifdef WIN32 + #include <winsock.h> + #else ++#include <sys/types.h> ++#include <sys/socket.h> + #include <netinet/in.h> ++#include <arpa/inet.h> + #include <sys/param.h> + #endif + diff --git a/audio/libtunepimp/files/patch-plugins-mp3-mp3.cpp b/audio/libtunepimp/files/patch-plugins-mp3-mp3.cpp new file mode 100644 index 000000000000..8b8e8fd87acd --- /dev/null +++ b/audio/libtunepimp/files/patch-plugins-mp3-mp3.cpp @@ -0,0 +1,13 @@ +--- plugins/mp3/mp3.cpp.orig Tue Jul 12 06:44:06 2005 ++++ plugins/mp3/mp3.cpp Wed Sep 14 17:32:42 2005 +@@ -33,7 +33,10 @@ + #ifdef WIN32 + #include <winsock.h> + #else ++#include <sys/types.h> ++#include <sys/socket.h> + #include <netinet/in.h> ++#include <arpa/inet.h> + #include <sys/param.h> + #endif + diff --git a/audio/libtunepimp/files/patch-plugins-vorbis-vorbis.cpp b/audio/libtunepimp/files/patch-plugins-vorbis-vorbis.cpp new file mode 100644 index 000000000000..2ab8c472b45e --- /dev/null +++ b/audio/libtunepimp/files/patch-plugins-vorbis-vorbis.cpp @@ -0,0 +1,13 @@ +--- plugins/vorbis/vorbis.cpp.orig Tue Jun 28 13:03:06 2005 ++++ plugins/vorbis/vorbis.cpp Wed Sep 14 17:34:12 2005 +@@ -33,7 +33,10 @@ + #ifdef WIN32 + #include <winsock.h> + #else ++#include <sys/types.h> ++#include <sys/socket.h> + #include <netinet/in.h> ++#include <arpa/inet.h> + #include <sys/param.h> + #endif + diff --git a/audio/libtunepimp/files/patch-plugins-wav-wav.cpp b/audio/libtunepimp/files/patch-plugins-wav-wav.cpp new file mode 100644 index 000000000000..34bf7b46d4c3 --- /dev/null +++ b/audio/libtunepimp/files/patch-plugins-wav-wav.cpp @@ -0,0 +1,13 @@ +--- plugins/wav/wav.cpp.orig Wed Jun 15 06:15:18 2005 ++++ plugins/wav/wav.cpp Wed Sep 14 17:30:30 2005 +@@ -34,7 +34,10 @@ + #ifdef WIN32 + #include <winsock.h> + #else ++#include <sys/types.h> ++#include <sys/socket.h> + #include <netinet/in.h> ++#include <arpa/inet.h> + #include <sys/param.h> + #endif +
\ No newline at end of file |