aboutsummaryrefslogtreecommitdiff
path: root/audio/libtunepimp-old/files
diff options
context:
space:
mode:
authorMichael Nottebrock <lofi@FreeBSD.org>2006-04-10 10:08:48 +0000
committerMichael Nottebrock <lofi@FreeBSD.org>2006-04-10 10:08:48 +0000
commitcc600c1ce2f2857584f7311eea0fed40c7df3c0e (patch)
tree2e2f0c83ff5b1251f58e0582159638125d94aa99 /audio/libtunepimp-old/files
parentc072378d70300b7bc26b88c19f6f9091722630ac (diff)
- Fix build on 4.x
- Add dependencies on taglib, mpeg4ip-libmp4v2 - Makefile cosmetics
Notes
Notes: svn path=/head/; revision=159255
Diffstat (limited to 'audio/libtunepimp-old/files')
-rw-r--r--audio/libtunepimp-old/files/patch-configure11
-rw-r--r--audio/libtunepimp-old/files/patch-lib-metadata.cpp17
-rw-r--r--audio/libtunepimp-old/files/patch-lib-utf8-utf8util.cpp20
-rw-r--r--audio/libtunepimp-old/files/patch-plugins-flac-flac.cpp13
-rw-r--r--audio/libtunepimp-old/files/patch-plugins-mp3-mp3.cpp13
-rw-r--r--audio/libtunepimp-old/files/patch-plugins-vorbis-vorbis.cpp13
-rw-r--r--audio/libtunepimp-old/files/patch-plugins-wav-wav.cpp13
7 files changed, 100 insertions, 0 deletions
diff --git a/audio/libtunepimp-old/files/patch-configure b/audio/libtunepimp-old/files/patch-configure
new file mode 100644
index 000000000000..babac2c52ba0
--- /dev/null
+++ b/audio/libtunepimp-old/files/patch-configure
@@ -0,0 +1,11 @@
+--- configure.orig Mon Apr 10 10:52:03 2006
++++ configure Mon Apr 10 10:54:14 2006
+@@ -20506,7 +20506,7 @@
+ TAGLIB_VERSION=`$TAGLIB_CONFIG --version`
+ echo "$as_me:$LINENO: checking for taglib >= 1.4.0" >&5
+ echo $ECHO_N "checking for taglib >= 1.4.0... $ECHO_C" >&6
+- VERSION_CHECK=`expr $TAGLIB_VERSION \>\= 1.4.0`
++ VERSION_CHECK=`expr $TAGLIB_VERSION \>\= 1.4`
+ if test "$VERSION_CHECK" = "1" ; then
+ echo "$as_me:$LINENO: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
diff --git a/audio/libtunepimp-old/files/patch-lib-metadata.cpp b/audio/libtunepimp-old/files/patch-lib-metadata.cpp
new file mode 100644
index 000000000000..018363898587
--- /dev/null
+++ b/audio/libtunepimp-old/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-old/files/patch-lib-utf8-utf8util.cpp b/audio/libtunepimp-old/files/patch-lib-utf8-utf8util.cpp
new file mode 100644
index 000000000000..a3a5cabb78e8
--- /dev/null
+++ b/audio/libtunepimp-old/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-old/files/patch-plugins-flac-flac.cpp b/audio/libtunepimp-old/files/patch-plugins-flac-flac.cpp
new file mode 100644
index 000000000000..5d590d59034b
--- /dev/null
+++ b/audio/libtunepimp-old/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-old/files/patch-plugins-mp3-mp3.cpp b/audio/libtunepimp-old/files/patch-plugins-mp3-mp3.cpp
new file mode 100644
index 000000000000..8b8e8fd87acd
--- /dev/null
+++ b/audio/libtunepimp-old/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-old/files/patch-plugins-vorbis-vorbis.cpp b/audio/libtunepimp-old/files/patch-plugins-vorbis-vorbis.cpp
new file mode 100644
index 000000000000..2ab8c472b45e
--- /dev/null
+++ b/audio/libtunepimp-old/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-old/files/patch-plugins-wav-wav.cpp b/audio/libtunepimp-old/files/patch-plugins-wav-wav.cpp
new file mode 100644
index 000000000000..34bf7b46d4c3
--- /dev/null
+++ b/audio/libtunepimp-old/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