archrelease: copy trunk to extra-x86_64
[arch-packages.git] / id3lib / trunk / 60-fix_make_check.patch
blobe2bb1b0518fe8bb5b835ef4428e3cc3e12599999
1 This patch fixes some function headers and imports in order for 'make check'
2 to work.
4 It was first introduced in version 3.8.3-9
5 diff -Naur id3lib-3.8.3.orig/examples/findeng.cpp id3lib-3.8.3/examples/findeng.cpp
6 --- id3lib-3.8.3.orig/examples/findeng.cpp 2003-03-02 01:23:00.000000000 +0100
7 +++ id3lib-3.8.3/examples/findeng.cpp 2009-12-10 00:58:12.173795997 +0100
8 @@ -9,7 +9,7 @@
9 using std::cout;
10 using std::endl;
12 -int main(unsigned argc, char* argv[])
13 +int main(int argc, char* argv[])
15 ID3D_INIT_DOUT();
16 ID3D_INIT_WARNING();
17 diff -Naur id3lib-3.8.3.orig/examples/findstr.cpp id3lib-3.8.3/examples/findstr.cpp
18 --- id3lib-3.8.3.orig/examples/findstr.cpp 2003-03-02 01:23:00.000000000 +0100
19 +++ id3lib-3.8.3/examples/findstr.cpp 2009-12-10 00:57:48.036819825 +0100
20 @@ -9,7 +9,7 @@
21 using std::cout;
22 using std::endl;
24 -int main(unsigned argc, char* argv[])
25 +int main(int argc, char* argv[])
27 ID3D_INIT_DOUT();
28 ID3D_INIT_WARNING();
29 diff -Naur id3lib-3.8.3.orig/examples/test_io.cpp id3lib-3.8.3/examples/test_io.cpp
30 --- id3lib-3.8.3.orig/examples/test_io.cpp 2003-03-02 01:23:00.000000000 +0100
31 +++ id3lib-3.8.3/examples/test_io.cpp 2009-12-10 00:57:03.612111640 +0100
32 @@ -11,6 +11,9 @@
33 #include <id3/io_strings.h>
34 #include <id3/utils.h>
36 +using std::cin;
37 +using std::hex;
38 +using std::dec;
39 using std::cout;
40 using std::endl;
41 using std::cerr;
42 @@ -18,7 +21,7 @@
43 using namespace dami;
45 int
46 -main(size_t argc, const char** argv)
47 +main(int argc, const char** argv)
49 ID3D_INIT_DOUT();
50 ID3D_INIT_WARNING();