* mark python sqlite DEP opt and update .cache
[t2sde.git] / package / network / tcp_wrappers / hotfix-gcc14.patch
blob48ae70ca5f3197c52c0929b4abf2cc33d5db4f50
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: package/*/tcp_wrappers/hotfix-gcc14.patch
3 # Copyright (C) 2024 The T2 SDE Project
4 #
5 # This Copyright note is generated by scripts/Create-CopyPatch,
6 # more information can be found in the files COPYING and README.
7 #
8 # This patch file is dual-licensed. It is available under the license the
9 # patched project is licensed under, as long as it is an OpenSource license
10 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
11 # of the GNU General Public License version 2 as used by the T2 SDE.
12 # --- T2-COPYRIGHT-NOTE-END ---
14 --- tcp_wrappers_7.6/setenv.c.vanilla 2024-03-25 15:48:25.604000000 +0000
15 +++ tcp_wrappers_7.6/setenv.c 2024-03-25 15:52:45.339000000 +0000
16 @@ -10,6 +10,10 @@
17 * Author: Wietse Venema, Eindhoven University of Technology, The Netherlands.
20 +#include <stdlib.h>
21 +#include <string.h>
22 +#include <stdio.h>
24 #ifndef lint
25 static char sccsid[] = "@(#) setenv.c 1.1 93/03/07 22:47:58";
26 #endif
27 @@ -17,11 +21,11 @@
28 /* setenv - update or insert environment (name,value) pair */
30 int setenv(name, value, clobber)
31 -char *name;
32 -char *value;
33 +const char *name;
34 +const char *value;
35 int clobber;
37 - char *malloc();
38 + void *malloc();
39 char *getenv();
40 char *cp;
42 --- tcp_wrappers_7.6/tcpdmatch.c.vanilla 2024-03-25 15:59:43.842000000 +0000
43 +++ tcp_wrappers_7.6/tcpdmatch.c 2024-03-25 16:00:14.073000000 +0000
44 @@ -30,6 +30,7 @@
45 #include <syslog.h>
46 #include <setjmp.h>
47 #include <string.h>
48 +#include <stdlib.h>
50 extern void exit();
51 extern int optind;