Package: gmerlin-avdecoder / 2.0.0~svn6298~dfsg0-5

m4_c99.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
Description: Make m4 tests compliant with C99
Author: IOhannes m zmölnig
Origin: Debian
Bug: https://github.com/bplaum/gmerlin-avdecoder/issues/14
Last-Update: 2024-08-13
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- gmerlin-avdecoder.orig/m4/check_funcs.m4
+++ gmerlin-avdecoder/m4/check_funcs.m4
@@ -882,7 +882,7 @@
   AC_TRY_RUN([
     #include <FLAC/stream_decoder.h>
     #include <stdio.h>
-    main()
+    int  main()
     {
     FILE * version_file;
     int version_major;
@@ -1041,7 +1041,7 @@
   AC_TRY_RUN([
     #include "mad.h"
     #include <stdio.h>
-    main()
+    int main()
     {
     struct mad_stream stream;
     int version_major = MAD_VERSION_MAJOR;
@@ -1356,7 +1356,7 @@
   AC_TRY_RUN([
     #include <lame/lame.h>
     #include <stdio.h>
-    main()
+    int main()
     {
     int version_major;
     int version_minor;
@@ -1437,7 +1437,7 @@
 AC_TRY_RUN([
     #include <inttypes.h>
     #include <faac.h>
-    main()
+    int main()
     {
     int samplerate = 44100, num_channels = 2;
     unsigned long input_samples, output_bytes;
@@ -1712,7 +1712,7 @@
     #include <semaphore.h>
 	  
     #include <stdio.h>
-    main()
+    int main()
     {
     int result;
     sem_t s;