summaryrefslogtreecommitdiffstats
path: root/testing/id3lib/15-fix-headers-of-main-functions.patch
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2014-10-14 22:21:38 +0200
committerCarlo Landmeter <clandmeter@gmail.com>2014-10-14 22:22:13 +0200
commitac29cc338be46b86e61922f69d928645d71d5a9b (patch)
tree6790b0f01deb91375a32c5770d645db5be330872 /testing/id3lib/15-fix-headers-of-main-functions.patch
parent8d50d846c0d0fe2ccb11f4a40feaac9c76f866ad (diff)
downloadaports-ac29cc338be46b86e61922f69d928645d71d5a9b.tar.bz2
aports-ac29cc338be46b86e61922f69d928645d71d5a9b.tar.xz
testing/id3lib: new aport
Diffstat (limited to 'testing/id3lib/15-fix-headers-of-main-functions.patch')
-rw-r--r--testing/id3lib/15-fix-headers-of-main-functions.patch45
1 files changed, 45 insertions, 0 deletions
diff --git a/testing/id3lib/15-fix-headers-of-main-functions.patch b/testing/id3lib/15-fix-headers-of-main-functions.patch
new file mode 100644
index 000000000..48e01d145
--- /dev/null
+++ b/testing/id3lib/15-fix-headers-of-main-functions.patch
@@ -0,0 +1,45 @@
+This patch fixes some function headers in demo code used during 'make check'
+--- a/examples/demo_info.cpp
++++ b/examples/demo_info.cpp
+@@ -309,7 +309,7 @@
+
+ #define DEBUG
+
+-int main( unsigned int argc, char * const argv[])
++int main(int argc, char * const argv[])
+ {
+ ID3D_INIT_DOUT();
+
+--- a/examples/demo_convert.cpp
++++ b/examples/demo_convert.cpp
+@@ -84,7 +84,7 @@
+ }
+ }
+
+-int main( unsigned int argc, char * const argv[])
++int main(int argc, char * const argv[])
+ {
+ flags_t ulFlag = ID3TT_ALL;
+ gengetopt_args_info args;
+--- a/examples/demo_copy.cpp
++++ b/examples/demo_copy.cpp
+@@ -81,7 +81,7 @@
+ }
+ }
+
+-int main( unsigned int argc, char * const argv[])
++int main(int argc, char * const argv[])
+ {
+ int ulFlag = ID3TT_ID3;
+ ID3D_INIT_DOUT();
+--- a/examples/demo_tag.cpp
++++ b/examples/demo_tag.cpp
+@@ -46,7 +46,7 @@
+ os << "v2";
+ }
+
+-int main( unsigned int argc, char * const argv[])
++int main(int argc, char * const argv[])
+ {
+ int ulFlag = ID3TT_ID3;
+ ID3D_INIT_DOUT();