From 61a69c9b203732ef6a77436b32513d8c55e31e53 Mon Sep 17 00:00:00 2001 From: sbwml <984419930@qq.com> Date: Wed, 29 Jun 2022 19:06:30 +0800 Subject: [PATCH] qtbase: refresh patch --- qtbase/patches/001-fix_build_for_openwrt.patch | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/qtbase/patches/001-fix_build_for_openwrt.patch b/qtbase/patches/001-fix_build_for_openwrt.patch index b6ae3a6..ecfc9c4 100644 --- a/qtbase/patches/001-fix_build_for_openwrt.patch +++ b/qtbase/patches/001-fix_build_for_openwrt.patch @@ -1,15 +1,12 @@ ---- qtbase-everywhere-src-6.3.0.orig/src/corelib/plugin/qelfparser_p.cpp -+++ qtbase-everywhere-src-6.3.0/src/corelib/plugin/qelfparser_p.cpp -@@ -408,8 +408,12 @@ Q_DECL_UNUSED Q_DECL_COLD_FUNCTION stati +--- a/src/corelib/plugin/qelfparser_p.cpp ++++ b/src/corelib/plugin/qelfparser_p.cpp +@@ -408,7 +408,9 @@ Q_DECL_UNUSED Q_DECL_COLD_FUNCTION static QDebug &operator<<(QDebug &d, ElfHeade // list definitely not exhaustive! case EM_NONE: d << ", no machine"; break; case EM_ARM: d << ", ARM"; break; +#ifdef EM_AARCH64 case EM_AARCH64: d << ", AArch64"; break; +#endif -+#ifdef EM_BLACKFIN + #ifdef EM_BLACKFIN case EM_BLACKFIN: d << ", Blackfin"; break; -+#endif - case EM_IA_64: d << ", IA-64"; break; - case EM_MIPS: d << ", MIPS"; break; - case EM_PPC: d << ", PowerPC"; break; + #endif