File: g%2B%2B14.patch

package info (click to toggle)
libgctp 2.0.0-12
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 39,772 kB
  • sloc: ansic: 7,922; sh: 4,387; makefile: 89; fortran: 29
file content (39 lines) | stat: -rw-r--r-- 796 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
Description: Fix FTBFS from undefined declarations with gcc-14
Author: Alastair McKinstry <mckinstry@debian.org>
Bug-Origin: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1075168
Last-Updated: 2024-08-05
Forwarded: no

--- a/source/cproj.c
+++ b/source/cproj.c
@@ -342,7 +342,7 @@
 
 /* Function to return the sign of an argument
   ------------------------------------------*/
-sign(x)
+int sign(x)
 double x;
 {
 if (x < 0.0)
--- a/source/br_gctp.c
+++ b/source/br_gctp.c
@@ -21,6 +21,8 @@
 double *outparm;
 long *outunit;
 long *outspheroid;
+char *fn27;
+char *fn83;
 long *iflg;
 
 {
--- a/test/test_proj/testproj.c
+++ b/test/test_proj/testproj.c
@@ -40,7 +40,7 @@
 
 #define CMLEN	256
 
-main(int argc, char *argv[])
+int main(int argc, char *argv[])
 {
 long k;
 char file27[CMLEN];