1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: package/*/mine/hotfix-clang.patch
3 # Copyright (C) 2023 The T2 SDE Project
5 # This Copyright note is generated by scripts/Create-CopyPatch,
6 # more information can be found in the files COPYING and README.
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 --- mine-0.23/cdb-0.75/seek_set.c.vanilla 2023-05-12 19:23:09.910071399 +0200
15 +++ mine-0.23/cdb-0.75/seek_set.c 2023-05-12 19:23:19.250072073 +0200
17 #include <sys/types.h>
21 #define SET 0 /* sigh */
22 --- mine-0.23/cdb-0.75/cdbget.c.vanilla 2023-05-12 19:22:21.255067886 +0200
23 +++ mine-0.23/cdb-0.75/cdbget.c 2023-05-12 19:22:38.410069124 +0200
28 -main(int argc,char **argv)
29 +int main(int argc,char **argv)
33 --- ./showfile.c.vanilla 2023-05-13 19:48:43.225572382 +0200
34 +++ ./showfile.c 2023-05-13 19:48:50.140572882 +0200
36 #include <sys/types.h>
43 --- ./libtar-1.2.11/libtar/libtar.c.vanilla 2023-05-13 19:47:59.570569230 +0200
44 +++ ./libtar-1.2.11/libtar/libtar.c 2023-05-13 19:48:13.325570223 +0200
53 --- ./libtar-1.2.11/lib/extract.c.vanilla 2023-05-13 19:47:28.362566977 +0200
54 +++ ./libtar-1.2.11/lib/extract.c 2023-05-13 19:47:35.429567487 +0200
63 --- mine-0.23/cdb-0.75/seek_cur.c.vanilla 2023-05-13 19:53:26.109592808 +0200
64 +++ mine-0.23/cdb-0.75/seek_cur.c 2023-05-13 19:53:39.400593767 +0200
66 #include <sys/types.h>
71 #define CUR 1 /* sigh */
72 --- mine-0.23/cdb-0.75/cdbdump.c.vanilla 2023-05-13 19:56:38.274606683 +0200
73 +++ mine-0.23/cdb-0.75/cdbdump.c 2023-05-13 19:56:41.869606943 +0200
79 --- mine-0.23/cdb-0.75/cdbmake.c.vanilla 2023-05-13 19:55:33.595602013 +0200
80 +++ mine-0.23/cdb-0.75/cdbmake.c 2023-05-13 19:56:17.525605185 +0200
89 static struct cdb_make c;
91 -main(int argc,char **argv)
92 +int main(int argc,char **argv)
96 --- mine-0.23/cdb-0.75/cdbdump.c.vanilla 2023-05-13 19:57:44.601611472 +0200
97 +++ mine-0.23/cdb-0.75/cdbdump.c 2023-05-13 19:57:49.852611851 +0200
100 char strnum[FMT_ULONG];
107 --- mine-0.23/cdb-0.75/cdbstats.c.vanilla 2023-05-13 19:58:35.688615161 +0200
108 +++ mine-0.23/cdb-0.75/cdbstats.c 2023-05-13 19:59:01.491617024 +0200
116 static unsigned long numrecords;
117 static unsigned long numd[11];
124 --- mine-0.23/cdb-0.75/cdbtest.c.vanilla 2023-05-13 20:02:17.141631151 +0200
125 +++ mine-0.23/cdb-0.75/cdbtest.c 2023-05-13 20:02:47.976633377 +0200
141 --- mine-0.23/cdb-0.75/testzero.c.vanilla 2023-05-13 20:04:37.634641295 +0200
142 +++ mine-0.23/cdb-0.75/testzero.c 2023-05-13 20:04:57.646642740 +0200
149 static char data[65536];
152 -main(int argc,char **argv)
153 +int main(int argc,char **argv)