File: gcc14-autotools.patch

package info (click to toggle)
gmerlin 2.0.0~svn6298~dfsg0-7
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 14,176 kB
  • sloc: ansic: 174,036; javascript: 7,970; makefile: 1,802; sh: 702; xml: 72; sed: 16
file content (54 lines) | stat: -rw-r--r-- 1,208 bytes parent folder | download | duplicates (2)
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/issues/11
Last-Update: 2024-08-12
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- gmerlin.orig/m4/check_funcs.m4
+++ gmerlin/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;