Debian Codegraph @

debian/patches/Remove-workaround-for-old-libstdc-problem-which-now-cause.patch

raw
1 From: Mike Hommey <[email protected]>
2 Date: Mon, 15 Aug 2022 14:49:40 +0900
3 Subject: Remove workaround for old libstdc++ problem,
4 which now causes problems with GCC 12 on arm
5
6 Bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1786621
7 ---
8 intl/icu/source/common/unicode/std_string.h | 5 -----
9 intl/icu/source/common/utypeinfo.h | 3 ---
10 intl/icu/source/io/unicode/ustream.h | 4 ----
11 3 files changed, 12 deletions(-)
12
13 diff --git a/intl/icu/source/common/unicode/std_string.h b/intl/icu/source/common/unicode/std_string.h
14 index bf87230..c8388ef 100644
15 --- a/intl/icu/source/common/unicode/std_string.h
16 +++ b/intl/icu/source/common/unicode/std_string.h
17 @@ -29,11 +29,6 @@
18
19 #if U_SHOW_CPLUSPLUS_API
20
21 -// Workaround for a libstdc++ bug before libstdc++4.6 (2011).
22 -// https://bugs.llvm.org/show_bug.cgi?id=13364
23 -#if defined(__GLIBCXX__)
24 -namespace std { class type_info; }
25 -#endif
26 #include <string>
27
28 #endif /* U_SHOW_CPLUSPLUS_API */
29 diff --git a/intl/icu/source/common/utypeinfo.h b/intl/icu/source/common/utypeinfo.h
30 index c666373..5d97240 100644
31 --- a/intl/icu/source/common/utypeinfo.h
32 +++ b/intl/icu/source/common/utypeinfo.h
33 @@ -24,9 +24,6 @@
34 #include <exception>
35 using std::exception;
36 #endif
37 -#if defined(__GLIBCXX__)
38 -namespace std { class type_info; } // WORKAROUND: http://llvm.org/bugs/show_bug.cgi?id=13364
39 -#endif
40 #include <typeinfo> // for 'typeid' to work
41
42 #endif
43 diff --git a/intl/icu/source/io/unicode/ustream.h b/intl/icu/source/io/unicode/ustream.h
44 index 927342c..93ef51c 100644
45 --- a/intl/icu/source/io/unicode/ustream.h
46 +++ b/intl/icu/source/io/unicode/ustream.h
47 @@ -34,10 +34,6 @@
48 * C++ I/O stream API.
49 */
50
51 -#if defined(__GLIBCXX__)
52 -namespace std { class type_info; } // WORKAROUND: http://llvm.org/bugs/show_bug.cgi?id=13364
53 -#endif
54 -
55 #include <iostream>
56
57 U_NAMESPACE_BEGIN