summaryrefslogtreecommitdiffstats
path: root/meta/recipes-multimedia/musicbrainz/libmusicbrainz-3.0.3
diff options
context:
space:
mode:
authorDongxiao Xu <dongxiao.xu@intel.com>2010-11-16 14:41:16 +0800
committerSaul Wold <Saul.Wold@intel.com>2010-11-18 13:30:24 -0800
commitd4cebfa3457a597b906eb7aa66aa93fd13bf4b95 (patch)
treec31f16fe8e1f919369d374bb06df44e5603519fc /meta/recipes-multimedia/musicbrainz/libmusicbrainz-3.0.3
parent21f7117ad012599a3cbf451af2f7ab3803234799 (diff)
downloadpoky-d4cebfa3457a597b906eb7aa66aa93fd13bf4b95.tar.gz
libmusicbrainz: Upgraded to version 3.0.3
Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Diffstat (limited to 'meta/recipes-multimedia/musicbrainz/libmusicbrainz-3.0.3')
-rw-r--r--meta/recipes-multimedia/musicbrainz/libmusicbrainz-3.0.3/fix_build_issue_for_gcc_4.5.0.patch37
1 files changed, 37 insertions, 0 deletions
diff --git a/meta/recipes-multimedia/musicbrainz/libmusicbrainz-3.0.3/fix_build_issue_for_gcc_4.5.0.patch b/meta/recipes-multimedia/musicbrainz/libmusicbrainz-3.0.3/fix_build_issue_for_gcc_4.5.0.patch
new file mode 100644
index 0000000000..80d4d8bf2f
--- /dev/null
+++ b/meta/recipes-multimedia/musicbrainz/libmusicbrainz-3.0.3/fix_build_issue_for_gcc_4.5.0.patch
@@ -0,0 +1,37 @@
1GCC 4.4 cleaned up some more C++ headers. You always have to #include
2headers directly and cannot rely for things to be included indirectly.
3
4Otherwise you get errors like this:
5
6| /home/nitin/build/build0/tmp/work/i586-poky-linux/libmusicbrainz-3.0.2-r0/libmusicbrainz-3.0.2/src/utils_private.cpp: In function 'std::string MusicBrainz::intToString(int)':
7| /home/nitin/build/build0/tmp/work/i586-poky-linux/libmusicbrainz-3.0.2-r0/libmusicbrainz-3.0.2/src/utils_private.cpp:38:23: error: 'sprintf' was not declared in this scope
8| /home/nitin/build/build0/tmp/work/i586-poky-linux/libmusicbrainz-3.0.2-r0/libmusicbrainz-3.0.2/src/utils_private.cpp: In function 'void MusicBrainz::debug(const char*, ...)':
9| /home/nitin/build/build0/tmp/work/i586-poky-linux/libmusicbrainz-3.0.2-r0/libmusicbrainz-3.0.2/src/utils_private.cpp:80:10: error: 'stderr' was not declared in this scope
10| /home/nitin/build/build0/tmp/work/i586-poky-linux/libmusicbrainz-3.0.2-r0/libmusicbrainz-3.0.2/src/utils_private.cpp:80:33: error: 'fprintf' was not declared in this scope
11| /home/nitin/build/build0/tmp/work/i586-poky-linux/libmusicbrainz-3.0.2-r0/libmusicbrainz-3.0.2/src/utils_private.cpp:81:26: error: 'vfprintf' was not declared in this scope
12| make[2]: *** [src/CMakeFiles/musicbrainz3.dir/utils_private.o] Error 1
13| make[2]: *** Waiting for unfinished jobs....
14| /home/nitin/build/build0/tmp/work/i586-poky-linux/libmusicbrainz-3.0.2-r0/libmusicbrainz-3.0.2/src/xmlParser/xmlParser.cpp:116:1: warning: 'typedef' was ignored in this declaration
15| make[1]: *** [src/CMakeFiles/musicbrainz3.dir/all] Error 2
16| make: *** [all] Error 2
17| FATAL: oe_runmake failed
18NOTE: package libmusicbrainz-3.0.2-r0: task do_compile: Failed
19
20Found the solution here:
21http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=504895
22
23Date: 2010/07/28
24Nitin A Kamble <nitin.a.kamble@intel.com>
25
26Index: libmusicbrainz-3.0.2/src/utils_private.cpp
27===================================================================
28--- libmusicbrainz-3.0.2.orig/src/utils_private.cpp
29+++ libmusicbrainz-3.0.2/src/utils_private.cpp
30@@ -20,6 +20,7 @@
31 * $Id: utils_private.cpp 9934 2008-07-02 06:57:10Z luks $
32 */
33
34+#include <cstdio>
35 #include <cstdlib>
36 #include <cstring>
37 #include <cstdarg>