x11-libs/libxcb: fix unquoted make var

Closes: https://bugs.gentoo.org/979126
Signed-off-by: David Seifert <soap@gentoo.org>
This commit is contained in:
Jimmy Kloss
2026-07-15 00:29:27 +02:00
committed by David Seifert
parent 424563b0f5
commit ab28660540
2 changed files with 28 additions and 2 deletions

View File

@@ -0,0 +1,24 @@
https://bugs.gentoo.org/979126
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -270,7 +270,7 @@
$(EXTSOURCES): c_client.py $(XCBPROTO_XCBINCLUDEDIR)/$(@:.c=.xml)
$(AM_V_GEN)$(PYTHON) $(srcdir)/c_client.py -c "$(PACKAGE_STRING)" -l "$(XORG_MAN_PAGE)" \
- -s "$(LIB_MAN_SUFFIX)" -p $(XCBPROTO_XCBPYTHONDIR) \
+ -s "$(LIB_MAN_SUFFIX)" -p "$(XCBPROTO_XCBPYTHONDIR)" \
$(C_CLIENT_PY_EXTRA_ARGS) \
$(XCBPROTO_XCBINCLUDEDIR)/$(@:.c=.xml)
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -1423,7 +1423,7 @@
$(EXTSOURCES): c_client.py $(XCBPROTO_XCBINCLUDEDIR)/$(@:.c=.xml)
$(AM_V_GEN)$(PYTHON) $(srcdir)/c_client.py -c "$(PACKAGE_STRING)" -l "$(XORG_MAN_PAGE)" \
- -s "$(LIB_MAN_SUFFIX)" -p $(XCBPROTO_XCBPYTHONDIR) \
+ -s "$(LIB_MAN_SUFFIX)" -p "$(XCBPROTO_XCBPYTHONDIR)" \
$(C_CLIENT_PY_EXTRA_ARGS) \
$(XCBPROTO_XCBINCLUDEDIR)/$(@:.c=.xml)

View File

@@ -1,9 +1,9 @@
# Copyright 1999-2025 Gentoo Authors
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{10..14} )
PYTHON_COMPAT=( python3_{12..14} )
PYTHON_REQ_USE="xml(+)"
XORG_MULTILIB=yes
@@ -37,6 +37,8 @@ BDEPEND="${PYTHON_DEPS}
test? ( dev-libs/libxslt )
"
PATCHES=( "${FILESDIR}"/${PN}-1.17.0-unquoted-var.patch )
python_check_deps() {
python_has_version "${XCB_PROTO_DEP}[${PYTHON_USEDEP}]"
}