mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-06-07 13:18:43 +02:00
depends: drop qtbase-moc-ignore-gcc-macro.patch qt patch
Looks like this was fixed in 6.5 or 6.6, via https://codereview.qt-project.org/c/qt/qtbase/+/492580.
This commit is contained in:
@@ -6,7 +6,6 @@ $(package)_file_name=$(qt_details_qtbase_file_name)
|
|||||||
$(package)_sha256_hash=$(qt_details_qtbase_sha256_hash)
|
$(package)_sha256_hash=$(qt_details_qtbase_sha256_hash)
|
||||||
$(package)_patches_path := $(qt_details_patches_path)
|
$(package)_patches_path := $(qt_details_patches_path)
|
||||||
$(package)_patches := dont_hardcode_pwd.patch
|
$(package)_patches := dont_hardcode_pwd.patch
|
||||||
$(package)_patches += qtbase-moc-ignore-gcc-macro.patch
|
|
||||||
$(package)_patches += qtbase_skip_tools.patch
|
$(package)_patches += qtbase_skip_tools.patch
|
||||||
$(package)_patches += rcc_hardcode_timestamp.patch
|
$(package)_patches += rcc_hardcode_timestamp.patch
|
||||||
$(package)_patches += qttools_skip_dependencies.patch
|
$(package)_patches += qttools_skip_dependencies.patch
|
||||||
@@ -131,7 +130,6 @@ endef
|
|||||||
|
|
||||||
define $(package)_preprocess_cmds
|
define $(package)_preprocess_cmds
|
||||||
patch -p1 -i $($(package)_patch_dir)/dont_hardcode_pwd.patch && \
|
patch -p1 -i $($(package)_patch_dir)/dont_hardcode_pwd.patch && \
|
||||||
patch -p1 -i $($(package)_patch_dir)/qtbase-moc-ignore-gcc-macro.patch && \
|
|
||||||
patch -p1 -i $($(package)_patch_dir)/qtbase_skip_tools.patch && \
|
patch -p1 -i $($(package)_patch_dir)/qtbase_skip_tools.patch && \
|
||||||
patch -p1 -i $($(package)_patch_dir)/rcc_hardcode_timestamp.patch && \
|
patch -p1 -i $($(package)_patch_dir)/rcc_hardcode_timestamp.patch && \
|
||||||
patch -p1 -i $($(package)_patch_dir)/qttools_skip_dependencies.patch
|
patch -p1 -i $($(package)_patch_dir)/qttools_skip_dependencies.patch
|
||||||
|
|||||||
@@ -11,7 +11,6 @@ $(package)_linux_dependencies := freetype fontconfig libxcb libxkbcommon libxcb_
|
|||||||
$(package)_freebsd_dependencies := $($(package)_linux_dependencies)
|
$(package)_freebsd_dependencies := $($(package)_linux_dependencies)
|
||||||
$(package)_patches_path := $(qt_details_patches_path)
|
$(package)_patches_path := $(qt_details_patches_path)
|
||||||
$(package)_patches := dont_hardcode_pwd.patch
|
$(package)_patches := dont_hardcode_pwd.patch
|
||||||
$(package)_patches += qtbase-moc-ignore-gcc-macro.patch
|
|
||||||
$(package)_patches += qtbase_avoid_qmain.patch
|
$(package)_patches += qtbase_avoid_qmain.patch
|
||||||
$(package)_patches += qtbase_platformsupport.patch
|
$(package)_patches += qtbase_platformsupport.patch
|
||||||
$(package)_patches += qtbase_plugins_cocoa.patch
|
$(package)_patches += qtbase_plugins_cocoa.patch
|
||||||
@@ -255,7 +254,6 @@ endif
|
|||||||
|
|
||||||
define $(package)_preprocess_cmds
|
define $(package)_preprocess_cmds
|
||||||
patch -p1 -i $($(package)_patch_dir)/dont_hardcode_pwd.patch && \
|
patch -p1 -i $($(package)_patch_dir)/dont_hardcode_pwd.patch && \
|
||||||
patch -p1 -i $($(package)_patch_dir)/qtbase-moc-ignore-gcc-macro.patch && \
|
|
||||||
patch -p1 -i $($(package)_patch_dir)/qtbase_avoid_qmain.patch && \
|
patch -p1 -i $($(package)_patch_dir)/qtbase_avoid_qmain.patch && \
|
||||||
patch -p1 -i $($(package)_patch_dir)/qtbase_platformsupport.patch && \
|
patch -p1 -i $($(package)_patch_dir)/qtbase_platformsupport.patch && \
|
||||||
patch -p1 -i $($(package)_patch_dir)/qtbase_plugins_cocoa.patch && \
|
patch -p1 -i $($(package)_patch_dir)/qtbase_plugins_cocoa.patch && \
|
||||||
|
|||||||
@@ -1,17 +0,0 @@
|
|||||||
The moc executable loops through headers on CPLUS_INCLUDE_PATH and stumbles
|
|
||||||
on the GCC internal _GLIBCXX_VISIBILITY macro. Tell it to ignore it as it is
|
|
||||||
not supposed to be looking there to begin with.
|
|
||||||
|
|
||||||
Upstream report: https://bugreports.qt.io/browse/QTBUG-83160
|
|
||||||
|
|
||||||
diff --git a/qtbase/src/tools/moc/main.cpp b/qtbase/src/tools/moc/main.cpp
|
|
||||||
--- a/qtbase/src/tools/moc/main.cpp
|
|
||||||
+++ b/qtbase/src/tools/moc/main.cpp
|
|
||||||
@@ -186,6 +186,7 @@ int runMoc(int argc, char **argv)
|
|
||||||
dummyVariadicFunctionMacro.arguments += Symbol(0, PP_IDENTIFIER, "__VA_ARGS__");
|
|
||||||
pp.macros["__attribute__"] = dummyVariadicFunctionMacro;
|
|
||||||
pp.macros["__declspec"] = dummyVariadicFunctionMacro;
|
|
||||||
+ pp.macros["_GLIBCXX_VISIBILITY"] = dummyVariadicFunctionMacro;
|
|
||||||
|
|
||||||
QString filename;
|
|
||||||
QString output;
|
|
||||||
Reference in New Issue
Block a user