File: gcc-14.patch

package info (click to toggle)
gimp-plugin-registry 9.20240808
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 52,536 kB
  • sloc: ansic: 27,119; lisp: 20,560; python: 14,721; cpp: 2,528; sh: 2,220; makefile: 635; xml: 21
file content (28 lines) | stat: -rw-r--r-- 1,044 bytes parent folder | 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
Description: Port to gcc-14
Bug-Debian: http://bugs.debian.org/1075000
Author: Ying-Chun Liu (PaulLiu) <paulliu@debian.org>
Index: gimp-plugin-registry/gimp-mask/gimpmask.c
===================================================================
--- gimp-plugin-registry.orig/gimp-mask/gimpmask.c
+++ gimp-plugin-registry/gimp-mask/gimpmask.c
@@ -274,7 +274,7 @@ pixels_invert ( pixel_t *pixel )
  ******************************************************************************/
 
 static void query ( void );
-static void run ( gchar *, gint, GimpParam *, gint *, GimpParam ** );
+static void run ( const gchar *, gint, const GimpParam *, gint *, GimpParam ** );
 static void mask ( GimpDrawable * );
 
 GimpPlugInInfo PLUG_IN_INFO = {
@@ -325,9 +325,9 @@ query ( void )
  ******************************************************************************/
 
 static void
-run ( gchar   *name,
+run ( const gchar   *name,
       gint     nargs,
-      GimpParam  *args,
+      const GimpParam  *args,
       gint    *nrets,
       GimpParam **rets )
 {