commit: e348405bae4e6094dc35832ecf58ff7c4c9d0485 Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org> AuthorDate: Mon Oct 9 22:54:52 2023 +0000 Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org> CommitDate: Mon Oct 9 23:02:40 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e348405b
dev-qt/qtgui: fix build with >=libxkbcommon-1.6.0 Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org> dev-qt/qtgui/files/qtgui-5.15.11-xkbcommon160.patch | 14 ++++++++++++++ dev-qt/qtgui/qtgui-5.15.11.ebuild | 4 ++++ 2 files changed, 18 insertions(+) diff --git a/dev-qt/qtgui/files/qtgui-5.15.11-xkbcommon160.patch b/dev-qt/qtgui/files/qtgui-5.15.11-xkbcommon160.patch new file mode 100644 index 000000000000..d0da76580df2 --- /dev/null +++ b/dev-qt/qtgui/files/qtgui-5.15.11-xkbcommon160.patch @@ -0,0 +1,14 @@ +These were removed in libxkbcommon-1.6.0[1] and were apparently +unnecesary. Usage results in build failure. + +Just a quick fix while waiting for what [2] comes up with. + +[1] https://gitlab.freedesktop.org/xorg/proto/xorgproto/-/merge_requests/70 +[2] https://bugreports.qt.io/browse/QTBUG-117950 +--- a/src/platformsupport/input/xkbcommon/qxkbcommon.cpp ++++ b/src/platformsupport/input/xkbcommon/qxkbcommon.cpp +@@ -276,4 +275,0 @@ +- Xkb2Qt<XKB_KEY_dead_lowline, Qt::Key_Dead_Lowline>, +- Xkb2Qt<XKB_KEY_dead_aboveverticalline, Qt::Key_Dead_Aboveverticalline>, +- Xkb2Qt<XKB_KEY_dead_belowverticalline, Qt::Key_Dead_Belowverticalline>, +- Xkb2Qt<XKB_KEY_dead_longsolidusoverlay, Qt::Key_Dead_Longsolidusoverlay>, diff --git a/dev-qt/qtgui/qtgui-5.15.11.ebuild b/dev-qt/qtgui/qtgui-5.15.11.ebuild index cf55be1bdcd7..e8ef3f8a6ff9 100644 --- a/dev-qt/qtgui/qtgui-5.15.11.ebuild +++ b/dev-qt/qtgui/qtgui-5.15.11.ebuild @@ -127,6 +127,10 @@ QT5_GENTOO_PRIVATE_CONFIG=( :gui ) +PATCHES=( + "${FILESDIR}"/${PN}-5.15.11-xkbcommon160.patch +) + src_prepare() { # don't add -O3 to CXXFLAGS, bug 549140 sed -i -e '/CONFIG\s*+=/s/optimize_full//' src/gui/gui.pro || die
