Debian Codegraph @

debian/patches/fix-upstream-migration_to_C23.patch

raw symbols SCIP
1 Description: fix uptream: migration to C23
2 Origin: debian
3 Forwarded: https://github.com/ge-ne/bibtool/pull/91
4 Author: Michael Tautschnig <[email protected]>
5 Author: Jerome Benoit <[email protected]>
6 Last-Update: 2025-04-13
7
8 --- a/include/bibtool/pxfile.h
9 +++ b/include/bibtool/pxfile.h
10 @@ -42,7 +42,7 @@
11 char * mode,
12 char **pattern,
13 char **path,
14 - int (*show)()
15 + int (*show)(char *)
16 #endif
17 );
18
19 --- a/include/bibtool/tex_read.h
20 +++ b/include/bibtool/tex_read.h
21 @@ -38,7 +38,7 @@
22 #else
23 #define _ARG(A) ()
24 #endif
25 - int TeX_read _ARG((String cp, String *sp)); /* tex-read.c */
26 + bool TeX_read _ARG((String cp, String *sp)); /* tex-read.c */
27 void TeX_active _ARG((int c,int arity, String s));/* tex_read.c */
28 void TeX_close _ARG((void)); /* tex_read.c */
29 void TeX_def _ARG((String s)); /* tex_read.c */
30 --- a/main.c
31 +++ b/main.c
32 @@ -414,7 +414,7 @@
33 /* this database. */
34 int i; /* */
35 bool need_rsc = true; /* */
36 - int (*fct)(); /* Function pointer */
37 + int (*fct)(struct rECORD *, struct rECORD *); /* Function pointer */
38 int c_len; /* */
39 int *c = NULL; /* */
40 /* */
41 --- a/configure.ac
42 +++ b/configure.ac
43 @@ -80,6 +80,9 @@
44 AC_CHECK_FUNCS(strrchr)
45
46 dnl ---------------------------------------------------------------------------
47 +AX_APPEND_COMPILE_FLAGS(-Wno-old-style-definition)
48 +
49 +dnl ---------------------------------------------------------------------------
50 AC_ARG_WITH(kpathsea,Use the KPATHSEA library.,,with_kpathsea=yes)
51
52 if test $with_kpathsea = no; then