File: gcc14.patch

package info (click to toggle)
pyferret 7.6.5-10
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 138,136 kB
  • sloc: fortran: 240,609; ansic: 25,235; python: 24,026; sh: 1,618; makefile: 1,123; pascal: 569; csh: 307; awk: 18
file content (29 lines) | stat: -rw-r--r-- 1,298 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
Author: Alastair McKinstry <mckinstry@debian.org>
Description: Changes needed for gcc14: declaration warnings
Bug-Origin: https://bugs.debian.org/1058888
Last-Updated: 2024-08-07
Forwarded: no

--- a/fmt/cmn/fmtprotos.h
+++ b/fmt/cmn/fmtprotos.h
@@ -84,6 +84,9 @@
                                int line_modulo[], double line_modulo_len[], int line_regular[]);
 int  FORTRAN(url_encode)(char *str, char *outstr, int *outlen);
 
+/* defined in tm_nullify_lm.c		       */ 
+			void FORTRAN(tm_store_nul_lm_ptr) (int *, double *);
+			
 /* defined in NCF_Util.c */
 int  FORTRAN(ncf_inq_ds)(int *, int *, int *, int *, int *);
 int  FORTRAN(ncf_inq_ds_dims)(int *, int *, char *, int *, int *);
--- a/fer/cferbind/cferbind.h
+++ b/fer/cferbind/cferbind.h
@@ -89,7 +89,7 @@
      grdelBool (*drawText)(struct CFerBind_struct *self, const char *text, int textlen,
                            double startx, double starty, grdelType font, grdelType color,
                            double rotation);
-     grdelBool (*setWaterMark)(struct CFerBind_struct *self, char *filename, int len_filename,
+     grdelBool (*setWaterMark)(struct CFerBind_struct *self,const char *filename, int len_filename,
                                float xloc, float yloc, float scalefrac, float opacity);
 } CFerBind;