From 5129b36573cb07d8bcbac493506c46e26d7239eb Mon Sep 17 00:00:00 2001 From: Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> Date: Sun, 7 Mar 2021 23:03:38 +0200 Subject: [PATCH 1/2] build: Clean remnants of QTBUG-34748 fix A fix for QTBUG-34748 was introduced in #5915 (v0.11.0, Qt 5.2.1). QTBUG-34748 was fixed in version 5.3.0. The separated patch file, provided by #5915, was dropped in #12971 while bumping Qt to 5.9.4 (5.9.6). But libxcb.mk remained unchanged. This change reverts #5915 for libxcb.mk. --- depends/packages/libxcb.mk | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/depends/packages/libxcb.mk b/depends/packages/libxcb.mk index 2204b381958b8..ba08b7e951118 100644 --- a/depends/packages/libxcb.mk +++ b/depends/packages/libxcb.mk @@ -27,13 +27,8 @@ define $(package)_preprocess_cmds sed "s/pthread-stubs//" -i configure endef -# Don't install xcb headers to the default path in order to work around a qt -# build issue: https://bugreports.qt.io/browse/QTBUG-34748 -# When using qt's internal libxcb, it may end up finding the real headers in -# depends staging. Use a non-default path to avoid that. - define $(package)_config_cmds - $($(package)_autoconf) --includedir=$(host_prefix)/include/xcb-shared + $($(package)_autoconf) endef define $(package)_build_cmds From 173ef8980d921c9c0e46257747ab1165965e3ced Mon Sep 17 00:00:00 2001 From: Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> Date: Sun, 7 Mar 2021 23:17:28 +0200 Subject: [PATCH 2/2] build: Small libxcb.mk improvements --- depends/packages/libxcb.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/depends/packages/libxcb.mk b/depends/packages/libxcb.mk index ba08b7e951118..14abde9b0aed2 100644 --- a/depends/packages/libxcb.mk +++ b/depends/packages/libxcb.mk @@ -23,7 +23,7 @@ $(package)_config_opts += --disable-xv --disable-xvmc endef define $(package)_preprocess_cmds - cp -f $(BASEDIR)/config.guess $(BASEDIR)/config.sub build-aux &&\ + cp -f $(BASEDIR)/config.guess $(BASEDIR)/config.sub build-aux && \ sed "s/pthread-stubs//" -i configure endef @@ -40,5 +40,5 @@ define $(package)_stage_cmds endef define $(package)_postprocess_cmds - rm -rf share/man share/doc lib/*.la + rm -rf share lib/*.la endef