Termux alpine (#593)
[termux-packages] / disabled-packages / alpine / rm_extern.patch
1 --- ../cache/alpine-2.20/imap/src/dmail/dmail.c 2015-01-12 05:12:25.501178422 +0000
2 +++ ./imap/src/dmail/dmail.c 2016-12-11 02:21:38.600238679 +0000
3 @@ -27,7 +27,6 @@
4 #include <stdio.h>
5 #include <pwd.h>
6 #include <errno.h>
7 -extern int errno; /* just in case */
8 #include <sysexits.h>
9 #include <sys/file.h>
10 #include <sys/stat.h>
11 --- dummy.c.orig 2016-12-10 03:38:32.503722427 +0000
12 +++ ./imap/src/osdep/unix/dummy.c 2016-12-10 03:38:49.147899050 +0000
13 @@ -27,7 +27,6 @@
14 #include <stdio.h>
15 #include <ctype.h>
16 #include <errno.h>
17 -extern int errno; /* just in case */
18 #include "mail.h"
19 #include "osdep.h"
20 #include <pwd.h>
21 --- ../fdstring.c 2016-12-10 08:02:12.555352750 +0000
22 +++ ./imap/src/osdep/unix/fdstring.c 2016-12-10 08:24:29.096929788 +0000
23 @@ -25,7 +25,7 @@
24 * Date: 15 April 1997
25 * Last Edited: 4 April 2007
26 */
27 -
28 +#define L_SET SEEK_SET
29 #include "mail.h"
30 #include "osdep.h"
31 #include "misc.h"
32 --- ../cache/alpine-2.20/imap/src/imapd/imapd.c 2015-01-12 05:12:25.519178508 +0000
33 +++ ./imap/src/imapd/imapd.c 2016-12-10 23:37:39.038425114 +0000
34 @@ -28,7 +28,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 <setjmp.h>
41 #include <time.h>
42 --- ../cache/alpine-2.20/imap/src/ipopd/ipop2d.c 2015-01-12 05:12:25.502178427 +0000
43 +++ ./imap/src/ipopd/ipop2d.c 2016-12-10 23:30:12.213739029 +0000
44 @@ -30,7 +30,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/ipopd/ipop3d.c 2015-01-12 05:12:25.502178427 +0000
53 +++ ./imap/src/ipopd/ipop3d.c 2016-12-10 23:31:07.350317290 +0000
54 @@ -29,7 +29,6 @@
55 #include <stdio.h>
56 #include <ctype.h>
57 #include <errno.h>
58 -extern int errno; /* just in case */
59 #include <signal.h>
60 #include <time.h>
61 #include "c-client.h"
62 --- ../cache/alpine-2.20/imap/src/mailutil/mailutil.c 2015-01-12 05:12:25.518178504 +0000
63 +++ ./imap/src/mailutil/mailutil.c 2016-12-10 23:41:39.036944641 +0000
64 @@ -26,7 +26,6 @@
65
66 #include <stdio.h>
67 #include <errno.h>
68 -extern int errno; /* just in case */
69 #include "c-client.h"
70 #ifdef SYSCONFIG /* defined in env_unix.h */
71 #include <pwd.h>
72 --- mbx.c.orig 2016-12-10 03:59:23.316906511 +0000
73 +++ ./imap/src/osdep/unix/mbx.c 2016-12-10 03:59:37.913060423 +0000
74 @@ -37,7 +37,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 --- mh.c 2016-12-10 04:12:37.861288117 +0000
83 +++ ./imap/src/osdep/unix/mh.c 2016-12-10 04:12:46.749381991 +0000
84 @@ -27,7 +27,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 --- mix.c 2016-12-10 04:15:28.235087404 +0000
93 +++ ./imap/src/osdep/unix/mix.c 2016-12-10 04:15:39.583207240 +0000
94 @@ -26,7 +26,6 @@
95 #include <stdio.h>
96 #include <ctype.h>
97 #include <errno.h>
98 -extern int errno; /* just in case */
99 #include "mail.h"
100 #include "osdep.h"
101 #include <pwd.h>
102 --- mmdf.c.orig 2016-12-10 04:02:48.267067498 +0000
103 +++ ./imap/src/osdep/unix/mmdf.c 2016-12-10 04:02:58.423174574 +0000
104 @@ -28,7 +28,6 @@
105 #include <stdio.h>
106 #include <ctype.h>
107 #include <errno.h>
108 -extern int errno; /* just in case */
109 #include <signal.h>
110 #include "mail.h"
111 #include "osdep.h"
112 --- mtx.c 2016-12-10 04:07:22.129954642 +0000
113 +++ ./imap/src/osdep/unix/mtx.c 2016-12-10 04:07:29.710034547 +0000
114 @@ -37,7 +37,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 --- mx.c 2016-12-10 04:14:08.566246077 +0000
123 +++ ./imap/src/osdep/unix/mx.c 2016-12-10 04:14:14.882312779 +0000
124 @@ -30,7 +30,6 @@
125 #include <stdio.h>
126 #include <ctype.h>
127 #include <errno.h>
128 -extern int errno; /* just in case */
129 #include "mail.h"
130 #include "osdep.h"
131 #include <pwd.h>
132 --- netmsg.c.orig 2016-12-10 03:41:25.481557722 +0000
133 +++ ./imap/src/c-client/netmsg.c 2016-12-10 03:41:43.933753459 +0000
134 @@ -29,7 +29,6 @@
135
136 #include <stdio.h>
137 #include <errno.h>
138 -extern int errno; /* just in case */
139 #include "c-client.h"
140 #include "netmsg.h"
141 #include "flstring.h"
142 --- news.c 2016-12-10 04:09:10.395096657 +0000
143 +++ ./imap/src/osdep/unix/news.c 2016-12-10 04:09:20.143199638 +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 "mail.h"
150 #include "osdep.h"
151 #include <sys/stat.h>
152 --- phile.c 2016-12-10 04:11:04.612303192 +0000
153 +++ ./imap/src/osdep/unix/phile.c 2016-12-10 04:11:13.568397795 +0000
154 @@ -30,7 +30,6 @@
155 #include <stdio.h>
156 #include <ctype.h>
157 #include <errno.h>
158 -extern int errno; /* just in case */
159 #include <signal.h>
160 #include "mail.h"
161 #include "osdep.h"
162 --- tenex.c.orig 2016-12-10 04:04:06.319890406 +0000
163 +++ ./imap/src/osdep/unix/tenex.c 2016-12-10 04:04:19.476029107 +0000
164 @@ -42,7 +42,6 @@
165 #include <stdio.h>
166 #include <ctype.h>
167 #include <errno.h>
168 -extern int errno; /* just in case */
169 #include "mail.h"
170 #include "osdep.h"
171 #include <sys/stat.h>
172 --- ../cache/alpine-2.20/imap/src/tmail/tmail.c 2015-01-12 05:12:25.519178508 +0000
173 +++ ./imap/src/tmail/tmail.c 2016-12-11 02:27:17.811652040 +0000
174 @@ -26,7 +26,6 @@
175 #include <stdio.h>
176 #include <pwd.h>
177 #include <errno.h>
178 -extern int errno; /* just in case */
179 #include <sysexits.h>
180 #include <sys/file.h>
181 #include <sys/stat.h>
182 --- ../unix.c 2016-12-10 08:51:46.873743032 +0000
183 +++ ./imap/src/osdep/unix/unix.c 2016-12-10 08:52:08.905971091 +0000
184 @@ -40,7 +40,6 @@
185 #include <stdio.h>
186 #include <ctype.h>
187 #include <errno.h>
188 -extern int errno; /* just in case */
189 #include <signal.h>
190 #include "mail.h"
191 #include "osdep.h"