From 5c88efbcfa0310c9b492af2f9144efd76ad5fdf0 Mon Sep 17 00:00:00 2001 From: Xisco Fauli Date: Wed, 11 Sep 2024 21:30:04 +0200 Subject: [PATCH] external: remove a couple of gcc9 patches Baseline uses GCC 12 now Change-Id: Id9a0f79aa801aa342fd943cebeb0f528f4964d84 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173235 Reviewed-by: Xisco Fauli Tested-by: Jenkins --- external/icu/UnpackedTarball_icu.mk | 1 - external/icu/gcc9.patch | 26 ------------------ external/liborcus/UnpackedTarball_liborcus.mk | 1 - external/liborcus/gcc9.patch.0 | 27 ------------------- 4 files changed, 55 deletions(-) delete mode 100644 external/icu/gcc9.patch delete mode 100644 external/liborcus/gcc9.patch.0 diff --git a/external/icu/UnpackedTarball_icu.mk b/external/icu/UnpackedTarball_icu.mk index 019bec6546ce..a5f87d47fdd2 100644 --- a/external/icu/UnpackedTarball_icu.mk +++ b/external/icu/UnpackedTarball_icu.mk @@ -31,7 +31,6 @@ $(eval $(call gb_UnpackedTarball_add_patches,icu,\ external/icu/icu4c-scriptrun.patch.1 \ external/icu/icu4c-rtti.patch.1 \ external/icu/icu4c-clang-cl.patch.1 \ - external/icu/gcc9.patch \ external/icu/c++20-comparison.patch.1 \ external/icu/Wdeprecated-copy-dtor.patch \ external/icu/icu4c-windows-cygwin-cross.patch.1 \ diff --git a/external/icu/gcc9.patch b/external/icu/gcc9.patch deleted file mode 100644 index 5c9808f8c3a3..000000000000 --- a/external/icu/gcc9.patch +++ /dev/null @@ -1,26 +0,0 @@ ---- source/i18n/unicode/format.h -+++ source/i18n/unicode/format.h -@@ -22,6 +22,13 @@ - - #ifndef FORMAT_H - #define FORMAT_H -+ -+#ifdef __GNUC__ -+#pragma GCC diagnostic push -+#pragma GCC diagnostic ignored "-Wpragmas" // for old GCC -+#pragma GCC diagnostic ignored "-Wunknown-warning-option" // for Clang -+#pragma GCC diagnostic ignored "-Wdeprecated-copy" -+#endif - - - #include "unicode/utypes.h" -@@ -314,5 +314,9 @@ - - #endif /* U_SHOW_CPLUSPLUS_API */ - -+#ifdef __GNUC__ -+#pragma GCC diagnostic pop -+#endif -+ - #endif // _FORMAT - //eof diff --git a/external/liborcus/UnpackedTarball_liborcus.mk b/external/liborcus/UnpackedTarball_liborcus.mk index 3de24f0135d7..bb399826c358 100644 --- a/external/liborcus/UnpackedTarball_liborcus.mk +++ b/external/liborcus/UnpackedTarball_liborcus.mk @@ -17,7 +17,6 @@ $(eval $(call gb_UnpackedTarball_update_autoconf_configs,liborcus)) $(eval $(call gb_UnpackedTarball_add_patches,liborcus,\ external/liborcus/rpath.patch.0 \ - external/liborcus/gcc9.patch.0 \ external/liborcus/libtool.patch.0 \ )) diff --git a/external/liborcus/gcc9.patch.0 b/external/liborcus/gcc9.patch.0 deleted file mode 100644 index da404038e68e..000000000000 --- a/external/liborcus/gcc9.patch.0 +++ /dev/null @@ -1,27 +0,0 @@ ---- include/orcus/types.hpp -+++ include/orcus/types.hpp -@@ -8,6 +8,14 @@ - #ifndef INCLUDED_ORCUS_TYPES_HPP - #define INCLUDED_ORCUS_TYPES_HPP - -+#ifdef __GNUC__ -+#pragma GCC diagnostic push -+#pragma GCC diagnostic ignored "-Wpragmas" // for old GCC -+#pragma GCC diagnostic ignored "-Wunknown-warning-option" // for Clang -+#pragma GCC diagnostic ignored "-Wdeprecated-copy" -+#pragma GCC diagnostic ignored "-Wshadow" -+#endif -+ - #include - #include - #include -@@ -629,5 +637,9 @@ ORCUS_PSR_DLLPUBLIC extern const xml_token_t XML_UNKNOWN_TOKEN; - - } - -+#ifdef __GNUC__ -+#pragma GCC diagnostic pop -+#endif -+ - #endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */