]> git.pld-linux.org Git - packages/php.git/blame - icu69.patch
Rel 14; use tls instead of ssl for fsockopen etc by default (backported from upstream...
[packages/php.git] / icu69.patch
CommitLineData
eab2b2d9
JR
1--- php-7.2.34/ext/intl/collator/collator_sort.c~ 2020-09-30 07:15:54.000000000 +0200
2+++ php-7.2.34/ext/intl/collator/collator_sort.c 2021-08-27 22:44:44.636032116 +0200
3@@ -30,6 +30,11 @@
4 typedef long ptrdiff_t;
5 #endif
6
7+#if !defined(FALSE)
8+#define FALSE 0
9+#define TRUE 1
10+#endif
11+
12 /**
13 * Declare 'index' which will point to sort key in sort key
14 * buffer.
15--- php-7.2.34/ext/intl/normalizer/normalizer_normalize.c~ 2020-09-30 07:15:54.000000000 +0200
16+++ php-7.2.34/ext/intl/normalizer/normalizer_normalize.c 2021-08-27 22:50:28.139941746 +0200
17@@ -25,6 +25,11 @@
18 #include "normalizer_normalize.h"
19 #include "intl_convert.h"
20
21+#if !defined(FALSE)
22+#define FALSE 0
23+#define TRUE 1
24+#endif
25+
26 /* {{{ proto string Normalizer::normalize( string $input [, string $form = FORM_C] )
27 * Normalize a string. }}} */
28 /* {{{ proto string normalizer_normalize( string $input [, string $form = FORM_C] )
29--- php-7.2.34/ext/intl/dateformat/dateformat_attr.c~ 2020-09-30 07:15:54.000000000 +0200
30+++ php-7.2.34/ext/intl/dateformat/dateformat_attr.c 2021-08-27 22:52:05.242621694 +0200
31@@ -26,6 +26,11 @@
32 #include <unicode/ustring.h>
33 #include <unicode/udat.h>
34
35+#if !defined(FALSE)
36+#define FALSE 0
37+#define TRUE 1
38+#endif
39+
40 /* {{{ proto unicode IntlDateFormatter::getDateType( )
41 * Get formatter datetype. }}} */
42 /* {{{ proto string datefmt_get_datetype( IntlDateFormatter $mf )
43--- php-7.2.34/ext/intl/timezone/timezone_class.cpp~ 2020-09-30 07:15:54.000000000 +0200
44+++ php-7.2.34/ext/intl/timezone/timezone_class.cpp 2021-08-27 22:52:48.582342940 +0200
45@@ -37,6 +37,11 @@
46 #include <ext/date/php_date.h>
47 }
48
49+#if !defined(FALSE)
50+#define FALSE 0
51+#define TRUE 1
52+#endif
53+
54 using icu::Calendar;
55
56 /* {{{ Global variables */
57--- php-7.2.34/ext/intl/timezone/timezone_methods.cpp~ 2020-09-30 07:15:54.000000000 +0200
58+++ php-7.2.34/ext/intl/timezone/timezone_methods.cpp 2021-08-27 22:53:23.048792982 +0200
59@@ -37,6 +37,11 @@
60 }
61 #include "common/common_enum.h"
62
63+#if !defined(FALSE)
64+#define FALSE 0
65+#define TRUE 1
66+#endif
67+
68 using icu::Locale;
69 using icu::Calendar;
70
71--- php-7.2.34/ext/intl/breakiterator/codepointiterator_internal.cpp~ 2020-09-30 07:15:54.000000000 +0200
72+++ php-7.2.34/ext/intl/breakiterator/codepointiterator_internal.cpp 2021-08-27 22:54:10.761833238 +0200
73@@ -20,6 +20,11 @@
74 #include <unicode/uchriter.h>
75 #include <typeinfo>
76
77+#if !defined(FALSE)
78+#define FALSE 0
79+#define TRUE 1
80+#endif
81+
82 //copied from cmemory.h, which is not public
83 typedef union {
84 long t1;
85--- php-5.6.40/ext/intl/collator/collator_compare.c~ 2019-01-09 10:54:13.000000000 +0100
86+++ php-5.6.40/ext/intl/collator/collator_compare.c 2021-08-27 23:22:52.663489553 +0200
87@@ -24,6 +24,11 @@
88 #include "collator_compare.h"
89 #include "intl_convert.h"
90
91+#if !defined(FALSE)
92+#define FALSE 0
93+#define TRUE 1
94+#endif
95+
96 /* {{{ proto int Collator::compare( string $str1, string $str2 )
97 * Compare two strings. }}} */
98 /* {{{ proto int collator_compare( Collator $coll, string $str1, string $str2 )
99--- php-5.6.40/ext/intl/collator/collator_convert.c~ 2019-01-09 10:54:13.000000000 +0100
100+++ php-5.6.40/ext/intl/collator/collator_convert.c 2021-08-27 23:23:18.900123085 +0200
101@@ -28,6 +28,11 @@
102 #include <unicode/ustring.h>
103 #include <php.h>
104
105+#if !defined(FALSE)
106+#define FALSE 0
107+#define TRUE 1
108+#endif
109+
110 #if (PHP_MAJOR_VERSION == 5 && PHP_MINOR_VERSION <= 1)
111 #define CAST_OBJECT_SHOULD_FREE ,0
112 #else
113--- php-5.6.40/ext/intl/collator/collator_locale.c~ 2019-01-09 10:54:13.000000000 +0100
114+++ php-5.6.40/ext/intl/collator/collator_locale.c 2021-08-27 23:23:58.503409685 +0200
115@@ -26,6 +26,11 @@
116
117 #include <zend_API.h>
118
119+#if !defined(FALSE)
120+#define FALSE 0
121+#define TRUE 1
122+#endif
123+
124 /* {{{ proto string Collator::getLocale( int $type )
125 * Gets the locale name of the collator. }}} */
126 /* {{{ proto string collator_get_locale( Collator $coll, int $type )
127--- php-5.6.40/ext/intl/collator/collator_error.c~ 2019-01-09 10:54:13.000000000 +0100
128+++ php-5.6.40/ext/intl/collator/collator_error.c 2021-08-27 23:25:04.760005650 +0200
129@@ -23,6 +23,11 @@
130 #include "collator_class.h"
131 #include "collator_error.h"
132
133+#if !defined(FALSE)
134+#define FALSE 0
135+#define TRUE 1
136+#endif
137+
138 /* {{{ proto int Collator::getErrorCode( Collator $coll )
139 * Get collator's last error code. }}} */
140 /* {{{ proto int collator_get_error_code( Collator $coll )
141--- php-5.6.40/ext/intl/common/common_error.c~ 2019-01-09 10:54:13.000000000 +0100
142+++ php-5.6.40/ext/intl/common/common_error.c 2021-08-27 23:26:12.666607596 +0200
143@@ -23,6 +23,11 @@
144 #include "intl_error.h"
145 #include "common_error.h"
146
147+#if !defined(FALSE)
148+#define FALSE 0
149+#define TRUE 1
150+#endif
151+
152 /* {{{ proto int intl_get_error_code()
153 * Get code of the last occurred error.
154 */
155--- php-5.6.40/ext/intl/locale/locale_methods.c~ 2019-01-09 10:54:13.000000000 +0100
156+++ php-5.6.40/ext/intl/locale/locale_methods.c 2021-08-27 23:27:01.749897995 +0200
157@@ -38,6 +38,11 @@
158 #include "main/php_ini.h"
159 #include "ext/standard/php_smart_str.h"
160
161+#if !defined(FALSE)
162+#define FALSE 0
163+#define TRUE 1
164+#endif
165+
166 ZEND_EXTERN_MODULE_GLOBALS( intl )
167
168 /* Sizes required for the strings "variant15" , "extlang11", "private12" etc. */
This page took 0.03777 seconds and 4 git commands to generate.