Update LICENSE.md
[termux-packages] / disabled-packages / alpine / rm_extern.patch
1 --- dummy.c.orig 2016-12-10 03:38:32.503722427 +0000
2 +++ ./imap/src/osdep/unix/dummy.c 2016-12-10 03:38:49.147899050 +0000
3 @@ -27,7 +27,6 @@
4 #include <stdio.h>
5 #include <ctype.h>
6 #include <errno.h>
7 -extern int errno; /* just in case */
8 #include "mail.h"
9 #include "osdep.h"
10 #include <pwd.h>
11 --- ../fdstring.c 2016-12-10 08:02:12.555352750 +0000
12 +++ ./imap/src/osdep/unix/fdstring.c 2016-12-10 08:24:29.096929788 +0000
13 @@ -25,7 +25,7 @@
14 * Date: 15 April 1997
15 * Last Edited: 4 April 2007
16 */
17 -
18 +#define L_SET SEEK_SET
19 #include "mail.h"
20 #include "osdep.h"
21 #include "misc.h"
22 --- ../cache/alpine-2.20/imap/src/imapd/imapd.c 2015-01-12 05:12:25.519178508 +0000
23 +++ ./imap/src/imapd/imapd.c 2016-12-10 23:37:39.038425114 +0000
24 @@ -28,7 +28,6 @@
25 #include <stdio.h>
26 #include <ctype.h>
27 #include <errno.h>
28 -extern int errno; /* just in case */
29 #include <signal.h>
30 #include <setjmp.h>
31 #include <time.h>
32 --- ../cache/alpine-2.20/imap/src/ipopd/ipop2d.c 2015-01-12 05:12:25.502178427 +0000
33 +++ ./imap/src/ipopd/ipop2d.c 2016-12-10 23:30:12.213739029 +0000
34 @@ -30,7 +30,6 @@
35 #include <stdio.h>
36 #include <ctype.h>
37 #include <errno.h>
38 -extern int errno; /* just in case */
39 #include <signal.h>
40 #include <time.h>
41 #include "c-client.h"
42 --- ../cache/alpine-2.20/imap/src/ipopd/ipop3d.c 2015-01-12 05:12:25.502178427 +0000
43 +++ ./imap/src/ipopd/ipop3d.c 2016-12-10 23:31:07.350317290 +0000
44 @@ -29,7 +29,6 @@
45 #include <stdio.h>
46 #include <ctype.h>
47 #include <errno.h>
48 -extern int errno; /* just in case */
49 #include <signal.h>
50 #include <time.h>
51 #include "c-client.h"
52 --- ../cache/alpine-2.20/imap/src/mailutil/mailutil.c 2015-01-12 05:12:25.518178504 +0000
53 +++ ./imap/src/mailutil/mailutil.c 2016-12-10 23:41:39.036944641 +0000
54 @@ -26,7 +26,6 @@
55
56 #include <stdio.h>
57 #include <errno.h>
58 -extern int errno; /* just in case */
59 #include "c-client.h"
60 #ifdef SYSCONFIG /* defined in env_unix.h */
61 #include <pwd.h>
62 --- mbx.c.orig 2016-12-10 03:59:23.316906511 +0000
63 +++ ./imap/src/osdep/unix/mbx.c 2016-12-10 03:59:37.913060423 +0000
64 @@ -37,7 +37,6 @@
65 #include <stdio.h>
66 #include <ctype.h>
67 #include <errno.h>
68 -extern int errno; /* just in case */
69 #include "mail.h"
70 #include "osdep.h"
71 #include <pwd.h>
72 --- mh.c 2016-12-10 04:12:37.861288117 +0000
73 +++ ./imap/src/osdep/unix/mh.c 2016-12-10 04:12:46.749381991 +0000
74 @@ -27,7 +27,6 @@
75 #include <stdio.h>
76 #include <ctype.h>
77 #include <errno.h>
78 -extern int errno; /* just in case */
79 #include "mail.h"
80 #include "osdep.h"
81 #include <pwd.h>
82 --- mix.c 2016-12-10 04:15:28.235087404 +0000
83 +++ ./imap/src/osdep/unix/mix.c 2016-12-10 04:15:39.583207240 +0000
84 @@ -26,7 +26,6 @@
85 #include <stdio.h>
86 #include <ctype.h>
87 #include <errno.h>
88 -extern int errno; /* just in case */
89 #include "mail.h"
90 #include "osdep.h"
91 #include <pwd.h>
92 --- mmdf.c.orig 2016-12-10 04:02:48.267067498 +0000
93 +++ ./imap/src/osdep/unix/mmdf.c 2016-12-10 04:02:58.423174574 +0000
94 @@ -28,7 +28,6 @@
95 #include <stdio.h>
96 #include <ctype.h>
97 #include <errno.h>
98 -extern int errno; /* just in case */
99 #include <signal.h>
100 #include "mail.h"
101 #include "osdep.h"
102 --- mtx.c 2016-12-10 04:07:22.129954642 +0000
103 +++ ./imap/src/osdep/unix/mtx.c 2016-12-10 04:07:29.710034547 +0000
104 @@ -37,7 +37,6 @@
105 #include <stdio.h>
106 #include <ctype.h>
107 #include <errno.h>
108 -extern int errno; /* just in case */
109 #include "mail.h"
110 #include "osdep.h"
111 #include <pwd.h>
112 --- mx.c 2016-12-10 04:14:08.566246077 +0000
113 +++ ./imap/src/osdep/unix/mx.c 2016-12-10 04:14:14.882312779 +0000
114 @@ -30,7 +30,6 @@
115 #include <stdio.h>
116 #include <ctype.h>
117 #include <errno.h>
118 -extern int errno; /* just in case */
119 #include "mail.h"
120 #include "osdep.h"
121 #include <pwd.h>
122 --- netmsg.c.orig 2016-12-10 03:41:25.481557722 +0000
123 +++ ./imap/src/c-client/netmsg.c 2016-12-10 03:41:43.933753459 +0000
124 @@ -29,7 +29,6 @@
125
126 #include <stdio.h>
127 #include <errno.h>
128 -extern int errno; /* just in case */
129 #include "c-client.h"
130 #include "netmsg.h"
131 #include "flstring.h"
132 --- news.c 2016-12-10 04:09:10.395096657 +0000
133 +++ ./imap/src/osdep/unix/news.c 2016-12-10 04:09:20.143199638 +0000
134 @@ -30,7 +30,6 @@
135 #include <stdio.h>
136 #include <ctype.h>
137 #include <errno.h>
138 -extern int errno; /* just in case */
139 #include "mail.h"
140 #include "osdep.h"
141 #include <sys/stat.h>
142 --- phile.c 2016-12-10 04:11:04.612303192 +0000
143 +++ ./imap/src/osdep/unix/phile.c 2016-12-10 04:11:13.568397795 +0000
144 @@ -30,7 +30,6 @@
145 #include <stdio.h>
146 #include <ctype.h>
147 #include <errno.h>
148 -extern int errno; /* just in case */
149 #include <signal.h>
150 #include "mail.h"
151 #include "osdep.h"
152 --- tenex.c.orig 2016-12-10 04:04:06.319890406 +0000
153 +++ ./imap/src/osdep/unix/tenex.c 2016-12-10 04:04:19.476029107 +0000
154 @@ -42,7 +42,6 @@
155 #include <stdio.h>
156 #include <ctype.h>
157 #include <errno.h>
158 -extern int errno; /* just in case */
159 #include "mail.h"
160 #include "osdep.h"
161 #include <sys/stat.h>
162 --- ../unix.c 2016-12-10 08:51:46.873743032 +0000
163 +++ ./imap/src/osdep/unix/unix.c 2016-12-10 08:52:08.905971091 +0000
164 @@ -40,7 +40,6 @@
165 #include <stdio.h>
166 #include <ctype.h>
167 #include <errno.h>
168 -extern int errno; /* just in case */
169 #include <signal.h>
170 #include "mail.h"
171 #include "osdep.h"
172 --- ../cache/alpine-2.21/imap/src/dmail/dmail.c 2017-02-06 00:06:22.499218141 +0000
173 +++ ./imap/src/dmail/dmail.c 2017-04-25 11:09:01.144317637 +0000
174 @@ -28,7 +28,6 @@
175 #include <pwd.h>
176 #include <errno.h>
177 #include <ctype.h>
178 -extern int errno; /* just in case */
179 #include <sysexits.h>
180 #include <sys/file.h>
181 #include <sys/stat.h>
182 --- ../cache/alpine-2.21/imap/src/tmail/tmail.c 2017-02-06 00:06:22.515218494 +0000
183 +++ ./imap/src/tmail/tmail.c 2017-04-25 11:08:37.468048959 +0000
184 @@ -27,7 +27,6 @@
185 #include <pwd.h>
186 #include <errno.h>
187 #include <ctype.h>
188 -extern int errno; /* just in case */
189 #include <sysexits.h>
190 #include <sys/file.h>
191 #include <sys/stat.h>
192 --- ../cache/alpine-2.20/pico/osdep/filesys.c 2015-01-12 05:12:25.272177331 +0000
193 +++ ./pico/osdep/filesys.c 2016-12-11 00:14:46.945596542 +0000
194 @@ -777,7 +777,6 @@
195 char *cb;
196 struct stat tsb, fsb;
197 EML eml;
198 - extern int errno;
199
200 if(our_stat(a, &fsb) < 0){ /* get source file info */
201 eml.s = errstr(errno);