rclone: Switch tarballs to signed (fixes #2382)
[termux-packages] / ndk-patches / langinfo.h.patch
1 diff -N -a -u -r /home/fornwall/lib/android-ndk/sysroot/usr/include/langinfo.h ./usr/include/langinfo.h
2 --- /home/fornwall/lib/android-ndk/sysroot/usr/include/langinfo.h 2017-11-09 09:57:12.000000000 +0100
3 +++ ./usr/include/langinfo.h 1970-01-01 01:00:00.000000000 +0100
4 @@ -1,104 +0,0 @@
5 -/*
6 - * Copyright (C) 2016 The Android Open Source Project
7 - * All rights reserved.
8 - *
9 - * Redistribution and use in source and binary forms, with or without
10 - * modification, are permitted provided that the following conditions
11 - * are met:
12 - * * Redistributions of source code must retain the above copyright
13 - * notice, this list of conditions and the following disclaimer.
14 - * * Redistributions in binary form must reproduce the above copyright
15 - * notice, this list of conditions and the following disclaimer in
16 - * the documentation and/or other materials provided with the
17 - * distribution.
18 - *
19 - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
20 - * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
21 - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
22 - * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
23 - * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
24 - * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
25 - * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
26 - * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
27 - * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
28 - * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
29 - * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30 - * SUCH DAMAGE.
31 - */
32 -
33 -#ifndef _LANGINFO_H_
34 -#define _LANGINFO_H_
35 -
36 -#include <sys/cdefs.h>
37 -
38 -#include <nl_types.h>
39 -#include <xlocale.h>
40 -
41 -__BEGIN_DECLS
42 -
43 -#define CODESET 1
44 -#define D_T_FMT 2
45 -#define D_FMT 3
46 -#define T_FMT 4
47 -#define T_FMT_AMPM 5
48 -#define AM_STR 6
49 -#define PM_STR 7
50 -#define DAY_1 8
51 -#define DAY_2 9
52 -#define DAY_3 10
53 -#define DAY_4 11
54 -#define DAY_5 12
55 -#define DAY_6 13
56 -#define DAY_7 14
57 -#define ABDAY_1 15
58 -#define ABDAY_2 16
59 -#define ABDAY_3 17
60 -#define ABDAY_4 18
61 -#define ABDAY_5 19
62 -#define ABDAY_6 20
63 -#define ABDAY_7 21
64 -#define MON_1 22
65 -#define MON_2 23
66 -#define MON_3 24
67 -#define MON_4 25
68 -#define MON_5 26
69 -#define MON_6 27
70 -#define MON_7 28
71 -#define MON_8 29
72 -#define MON_9 30
73 -#define MON_10 31
74 -#define MON_11 32
75 -#define MON_12 33
76 -#define ABMON_1 34
77 -#define ABMON_2 35
78 -#define ABMON_3 36
79 -#define ABMON_4 37
80 -#define ABMON_5 38
81 -#define ABMON_6 39
82 -#define ABMON_7 40
83 -#define ABMON_8 41
84 -#define ABMON_9 42
85 -#define ABMON_10 43
86 -#define ABMON_11 44
87 -#define ABMON_12 45
88 -#define ERA 46
89 -#define ERA_D_FMT 47
90 -#define ERA_D_T_FMT 48
91 -#define ERA_T_FMT 49
92 -#define ALT_DIGITS 50
93 -#define RADIXCHAR 51
94 -#define THOUSEP 52
95 -#define YESEXPR 53
96 -#define NOEXPR 54
97 -#define CRNCYSTR 55
98 -
99 -
100 -#if __ANDROID_API__ >= 26
101 -char* nl_langinfo(nl_item __item) __INTRODUCED_IN(26);
102 -char* nl_langinfo_l(nl_item __item, locale_t __l) __INTRODUCED_IN(26);
103 -#endif /* __ANDROID_API__ >= 26 */
104 -
105 -
106 -__END_DECLS
107 -
108 -#endif