From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 437C0158020 for ; Sun, 30 Oct 2022 09:43:22 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 771A6E0917; Sun, 30 Oct 2022 09:43:21 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 332B5E0917 for ; Sun, 30 Oct 2022 09:43:21 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 764B2340EFA for ; Sun, 30 Oct 2022 09:43:20 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 156F6629 for ; Sun, 30 Oct 2022 09:43:19 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1667122840.f1d0273dc3070fd511e8f65017ea87481934d0b2.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-libs/libseccomp/, sys-libs/libseccomp/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-libs/libseccomp/files/libseccomp-2.6.0-python-shared.patch sys-libs/libseccomp/libseccomp-9999.ebuild X-VCS-Directories: sys-libs/libseccomp/files/ sys-libs/libseccomp/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: f1d0273dc3070fd511e8f65017ea87481934d0b2 X-VCS-Branch: master Date: Sun, 30 Oct 2022 09:43:19 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 1c6b6c88-cb43-4fa5-8540-816e00845cbd X-Archives-Hash: 5d3e3a111bed4efdba594d1203611e90 commit: f1d0273dc3070fd511e8f65017ea87481934d0b2 Author: Michal Privoznik gmail com> AuthorDate: Tue Oct 25 12:43:59 2022 +0000 Commit: Sam James gentoo org> CommitDate: Sun Oct 30 09:40:40 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1d0273d sys-libs/libseccomp: Rebase libseccomp-python-shared.patch The libseccomp-python-shared.patch that makes python module depend on libseccomp.so instead of linking it statically in does no longer apply cleanly. Rebase it. Signed-off-by: Michal Privoznik gmail.com> Closes: https://github.com/gentoo/gentoo/pull/27943 Signed-off-by: Sam James gentoo.org> .../files/libseccomp-2.6.0-python-shared.patch | 25 ++++++++++++++++++++++ sys-libs/libseccomp/libseccomp-9999.ebuild | 2 +- 2 files changed, 26 insertions(+), 1 deletion(-) diff --git a/sys-libs/libseccomp/files/libseccomp-2.6.0-python-shared.patch b/sys-libs/libseccomp/files/libseccomp-2.6.0-python-shared.patch new file mode 100644 index 000000000000..34b12db22112 --- /dev/null +++ b/sys-libs/libseccomp/files/libseccomp-2.6.0-python-shared.patch @@ -0,0 +1,25 @@ +From 594fecb16833c693ac0cff8f857aec0edd097077 Mon Sep 17 00:00:00 2001 +Message-Id: <594fecb16833c693ac0cff8f857aec0edd097077.1666701554.git.mprivozn@redhat.com> +From: Michal Privoznik +Date: Tue, 25 Oct 2022 14:39:07 +0200 +Subject: [PATCH] Link python module against shared library + +--- + src/python/setup.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/python/setup.py b/src/python/setup.py +index 46f9a73..85deb03 100755 +--- a/src/python/setup.py ++++ b/src/python/setup.py +@@ -40,6 +40,6 @@ setup( + ext_modules = cythonize([ + Extension("seccomp", ["seccomp.pyx"], + # unable to handle libtool libraries directly +- extra_objects=["../.libs/libseccomp.a"]), ++ extra_objects=["../.libs/libseccomp.so"]), + ]) + ) +-- +2.37.4 + diff --git a/sys-libs/libseccomp/libseccomp-9999.ebuild b/sys-libs/libseccomp/libseccomp-9999.ebuild index fed0b3c8f425..e97b661f1bb0 100644 --- a/sys-libs/libseccomp/libseccomp-9999.ebuild +++ b/sys-libs/libseccomp/libseccomp-9999.ebuild @@ -37,7 +37,7 @@ BDEPEND="${DEPEND} python? ( dev-python/cython[${PYTHON_USEDEP}] )" PATCHES=( - "${FILESDIR}"/libseccomp-python-shared.patch + "${FILESDIR}"/libseccomp-2.6.0-python-shared.patch "${FILESDIR}"/libseccomp-2.5.3-skip-valgrind.patch )