]> git.pld-linux.org Git - packages/php.git/blob - icu69.patch
Update obsoletes list to include php 8.2
[packages/php.git] / icu69.patch
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 zend_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  /* {{{ Global variables */
55  U_CDECL_BEGIN
56  zend_class_entry *TimeZone_ce_ptr = NULL;
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  U_CFUNC PHP_METHOD(IntlTimeZone, __construct)
69  {
70         zend_throw_exception( NULL,
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  
75  #include "php.h"
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      zend_long    t1;
This page took 0.048868 seconds and 3 git commands to generate.