From nobody Tue Jun 25 20:20:59 2024 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4W7x6g46xnz5Px75; Tue, 25 Jun 2024 20:20:59 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4W7x6g2xnVz4RJb; Tue, 25 Jun 2024 20:20:59 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1719346859; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=jRqCN1Kh8xTQbGkn4OIVbFHW7dLaTeaVKDk6pE2eAt0=; b=NMS1FU/rbTM1aG0PwA5lBChTlPTJhAw1tPhmUrgOCNNKXfncqGw4qLBhRyvZM7waJPRZfx GsFjShxqpy74tc1iAeHCRobKL6GYjI4thNSLJjIO6oNeaN+sP3QNVoyCWe/5glDcTIUOnL bQ4V1DgN3tMZRpHtIXIQNWU+ogz4oWVwYaOMOtbEIgvCjFs51i3jlNFRWD2TL7/rfQb3xq T04HfY4JD8YKT0z0SK2Voz04GwqyVfxLk6B6PufHYW8eO8Ie87bS2YGps124Yzpt1ltYWV +VOuHEMaTCgYGjLlX8W/+feOTfSgy7j/KDqdF1+n4KTpInYjyyoKBLvqhxnUXQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1719346859; a=rsa-sha256; cv=none; b=euGlDd5cedSPBpOYjbu9MuwYFsZUvzdsKH4Z9yBEQtfTUUfvjRdSU0xn/m250652r3D5C9 S1Q5kidm09a47HTNy+wJs+39qInJv2Eseq4p11iWS4/bkP+K9VA6JdssNnT7snoy8YJGOX xXfNIo8jdSyYp+1bXSVZ8xMDUNpy0AnZ91XDPlMuJbG/3tKdQKCSZXvoc5ALclSSWaNM9T ZM8+Bm8tYJUo33sPCnSjOyb4+Dq9xKhRZWi0fH+8Uih7JJrg/3DPHCnDa8nT608UTMHeOJ /6PSP6h4UOKlMZ1t+8ztBXSN5fX3V/Hb95znRp+Dj6yoKVQnoMne5TWfzEDGYA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1719346859; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=jRqCN1Kh8xTQbGkn4OIVbFHW7dLaTeaVKDk6pE2eAt0=; b=BzxzEgpbge3FHHIvwd9QocvqAcRmwKIBJ6ZMe30SePlrYnJRmGrYCoICpnmLUxwevZVc2u A3x2YiOr3THMosGjp2YKA0laP6CNi3TNXJmAeimt+4/bJZklFtETcWV0ylptXXbSCn3tQ5 89zwjfB0JauWX7jZwS80sSkWubqfgHS5DVk6WKUGrTel9U4/V5NLUqUAo0hZm+AUWstWxR u+FKTky1TVD6fhVYSxFNmrbfvr/tXC3DYmqUP1Kd6FADLvBYb7cfGfrfRPyaxr2kXSRupo 6LFCRv1fxl3QIqtIcmz8/9VaxDZcXUHFayAJwogdzwVKcX/Z5eCRwqAj7TRXMA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4W7x6g2YnLzGX7; Tue, 25 Jun 2024 20:20:59 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 45PKKxd5003402; Tue, 25 Jun 2024 20:20:59 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 45PKKxp4003398; Tue, 25 Jun 2024 20:20:59 GMT (envelope-from git) Date: Tue, 25 Jun 2024 20:20:59 GMT Message-Id: <202406252020.45PKKxp4003398@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Dmitry Marakasov Subject: git: 12f258128338 - main - devel/py-lxml: fix build with libxml 2.13 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: amdmi3 X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 12f25812833887fbdfdc82c3747f9f8b0e808ae3 Auto-Submitted: auto-generated The branch main has been updated by amdmi3: URL: https://cgit.FreeBSD.org/ports/commit/?id=12f25812833887fbdfdc82c3747f9f8b0e808ae3 commit 12f25812833887fbdfdc82c3747f9f8b0e808ae3 Author: Dmitry Marakasov AuthorDate: 2024-06-25 16:38:23 +0000 Commit: Dmitry Marakasov CommitDate: 2024-06-25 19:13:58 +0000 devel/py-lxml: fix build with libxml 2.13 PR: 279798 Reported by: diizzy --- devel/py-lxml/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/devel/py-lxml/Makefile b/devel/py-lxml/Makefile index ca21958269f5..0f756bd2fcfb 100644 --- a/devel/py-lxml/Makefile +++ b/devel/py-lxml/Makefile @@ -31,6 +31,12 @@ PYDISTUTILS_BUILDARGS= --inplace post-extract: @${FIND} ${WRKSRC} -name "*.c" -delete +pre-configure: # remove with update to 5.x + @if ! xml2-config --version | ${GREP} -q ^2\.11; then \ + ${REINPLACE_CMD} -e 's|, xmlerror.xmlError\*|, const xmlerror.xmlError*|' \ + ${WRKSRC}/src/lxml/*.pxi; \ + fi + post-install: @${FIND} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} \ -name '*.so' -exec ${STRIP_CMD} {} +