summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2010-10-14 08:47:33 +0200
committertnut <thierryn1 at hispeed dot ch>2010-10-14 08:47:33 +0200
commit0e72bb3b34b64499186680fdf3257f4643162b25 (patch)
tree5d167497506a86bb8d7ce9549c7c2f7ed047ba0a
parent68a220cd97d14d3f800821bdeed274021d9356d1 (diff)
downloadnutyx-pakxe-0e72bb3b34b64499186680fdf3257f4643162b25.tar.gz
nutyx-pakxe-0e72bb3b34b64499186680fdf3257f4643162b25.tar.bz2
nutyx-pakxe-0e72bb3b34b64499186680fdf3257f4643162b25.tar.xz
nutyx-pakxe-0e72bb3b34b64499186680fdf3257f4643162b25.zip
libmusicbrainz, port nettoyé
-rwxr-xr-xextra/libmusicbrainz/Pkgfile2
-rw-r--r--extra/libmusicbrainz/gcc4.patch57
2 files changed, 1 insertions, 58 deletions
diff --git a/extra/libmusicbrainz/Pkgfile b/extra/libmusicbrainz/Pkgfile
index b3c411be2..cac89d16c 100755
--- a/extra/libmusicbrainz/Pkgfile
+++ b/extra/libmusicbrainz/Pkgfile
@@ -8,7 +8,7 @@ name=libmusicbrainz
version=2.1.5
release=1
source=( ftp://ftp.musicbrainz.org/pub/musicbrainz/$name-$version.tar.gz\
- gcc4.patch)
+ http://nutyx.meticul.eu/files/patchs/$name/gcc4.patch)
build() {
diff --git a/extra/libmusicbrainz/gcc4.patch b/extra/libmusicbrainz/gcc4.patch
deleted file mode 100644
index efdf15355..000000000
--- a/extra/libmusicbrainz/gcc4.patch
+++ /dev/null
@@ -1,57 +0,0 @@
-diff -Naur libmusicbrainz-2.1.4-orig/lib/c_wrapper.cpp libmusicbrainz-2.1.4/lib/c_wrapper.cpp
---- libmusicbrainz-2.1.4-orig/lib/c_wrapper.cpp 2003-10-16 16:21:10.000000000 -0600
-+++ libmusicbrainz-2.1.4/lib/c_wrapper.cpp 2007-12-16 09:45:21.000000000 -0600
-@@ -24,6 +24,7 @@
- #include "musicbrainz.h"
- #include "trm.h"
- #include "mb_c.h"
-+#include <cstring>
-
- extern "C"
- {
-diff -Naur libmusicbrainz-2.1.4-orig/lib/comhttpsocket.cpp libmusicbrainz-2.1.4/lib/comhttpsocket.cpp
---- libmusicbrainz-2.1.4-orig/lib/comhttpsocket.cpp 2006-05-11 12:46:54.000000000 -0600
-+++ libmusicbrainz-2.1.4/lib/comhttpsocket.cpp 2007-12-16 09:46:28.000000000 -0600
-@@ -20,6 +20,7 @@
- #endif
- #include <stdlib.h>
- #include <assert.h>
-+#include <cstring>
-
- const char* g_strCOMVer = "libmusicbrainz/"VERSION;
-
-diff -Naur libmusicbrainz-2.1.4-orig/lib/comsocket.cpp libmusicbrainz-2.1.4/lib/comsocket.cpp
---- libmusicbrainz-2.1.4-orig/lib/comsocket.cpp 2006-05-11 12:46:54.000000000 -0600
-+++ libmusicbrainz-2.1.4/lib/comsocket.cpp 2007-12-16 09:46:08.000000000 -0600
-@@ -37,6 +37,7 @@
- #include <netinet/tcp.h>
- #include <errno.h>
- #include <stdio.h>
-+#include <cstring>
- #include <sys/time.h>
- #include <sys/types.h>
- #include <unistd.h>
-diff -Naur libmusicbrainz-2.1.4-orig/lib/http.cpp libmusicbrainz-2.1.4/lib/http.cpp
---- libmusicbrainz-2.1.4-orig/lib/http.cpp 2007-12-16 09:52:48.000000000 -0600
-+++ libmusicbrainz-2.1.4/lib/http.cpp 2007-12-16 09:52:36.000000000 -0600
-@@ -31,6 +31,8 @@
- #endif
- #include <fcntl.h>
- #include <errno.h>
-+#include <cstring>
-+#include <cstdlib>
-
- #ifdef WIN32
- #include <winsock.h>
-diff -Naur libmusicbrainz-2.1.4-orig/lib/sigclient.cpp libmusicbrainz-2.1.4/lib/sigclient.cpp
---- libmusicbrainz-2.1.4-orig/lib/sigclient.cpp 2006-05-11 12:46:54.000000000 -0600
-+++ libmusicbrainz-2.1.4/lib/sigclient.cpp 2007-12-16 09:54:48.000000000 -0600
-@@ -33,6 +33,8 @@
- #pragma warning(disable:4786)
- #endif
-
-+#include <cstring>
-+
- #include "sigclient.h"
- #include "comhttpsocket.h"
-