ffmpeg-6: fix COMPONENT_REVISION
[oi-userland.git] / components / mail / thunderbird / patches / btoa.patch
blob302ef94013586528316e88b030a4e38c76f695fc
1 From Thunderbird 78 there are more NSS tools built and they require to
2 remove some old workarounds.
4 To be investigated and sent to NSS upstream.
6 --- thunderbird-78.0/security/nss/cmd/btoa/btoa.c
7 +++ thunderbird-78.0/security/nss/cmd/btoa/btoa.c
8 @@ -7,13 +7,11 @@
9 #include "nssb64.h"
10 #include <errno.h>
12 -#if defined(XP_WIN) || (defined(__sun) && !defined(SVR4))
13 -#if !defined(WIN32)
14 +#if defined(XP_WIN) && !defined(WIN32)
15 extern int fread(char *, size_t, size_t, FILE *);
16 extern int fwrite(char *, size_t, size_t, FILE *);
17 extern int fprintf(FILE *, char *, ...);
18 #endif
19 -#endif
21 #if defined(WIN32)
22 #include "fcntl.h"
23 --- thunderbird-78.0/security/nss/cmd/atob/atob.c
24 +++ thunderbird-78.0/security/nss/cmd/atob/atob.c
25 @@ -7,13 +7,11 @@
26 #include "nssb64.h"
27 #include <errno.h>
29 -#if defined(XP_WIN) || (defined(__sun) && !defined(SVR4))
30 -#if !defined(WIN32)
31 +#if defined(XP_WIN) && !defined(WIN32)
32 extern int fread(char *, size_t, size_t, FILE *);
33 extern int fwrite(char *, size_t, size_t, FILE *);
34 extern int fprintf(FILE *, char *, ...);
35 #endif
36 -#endif
38 #if defined(WIN32)
39 #include "fcntl.h"