aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/id3lib/15-fix-headers-of-main-functions.patch
diff options
context:
space:
mode:
Diffstat (limited to 'unmaintained/id3lib/15-fix-headers-of-main-functions.patch')
-rw-r--r--unmaintained/id3lib/15-fix-headers-of-main-functions.patch45
1 files changed, 45 insertions, 0 deletions
diff --git a/unmaintained/id3lib/15-fix-headers-of-main-functions.patch b/unmaintained/id3lib/15-fix-headers-of-main-functions.patch
new file mode 100644
index 0000000000..48e01d145f
--- /dev/null
+++ b/unmaintained/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();