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: Fix build with GCC-15
Author: Omar Zagonel El Laden <omarzladen@gmail.com>
Bug-Debian: https://bugs.debian.org/1096831
Reviewed-by: Daniel Lenharo de Souza <lenharo@debian.org>
Last-Update: 2025-10-30
--- ifile-1.3.9.orig/error.c
+++ ifile-1.3.9/error.c
@@ -158,7 +158,7 @@ ifile_error (const char *format, ...)
va_end (ap);
/* fprintf(stderr, "Error: %s\n\n", strerror(errno)); */
- ifile_close_log(INFO);
+ ifile_close_log();
exit (-1);
}
--- ifile-1.3.9.orig/stem.c
+++ ifile-1.3.9/stem.c
@@ -41,7 +41,7 @@ typedef struct
int old_offset; /* from end of word to start of suffix */
int new_offset; /* from beginning to end of new suffix */
int min_root_size; /* min root word size for replacement */
- int (*condition)(); /* the replacement test function */
+ int (*condition)(const char*); /* the replacement test function */
} rule_list;
/* Used when declaring rule_list's. */
|