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 47F97158090 for ; Wed, 11 May 2022 02:11:16 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F0F6BE09A1; Wed, 11 May 2022 02:11:12 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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 D7836E099F for ; Wed, 11 May 2022 02:11:12 +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 D866734127A for ; Wed, 11 May 2022 02:11:10 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 90D2D483 for ; Wed, 11 May 2022 02:11:07 +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: <1652235060.3f161266557c6d49226102e8df0725789639f993.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/capstone/files/, dev-libs/capstone/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/capstone/capstone-5.0_rc2-r1.ebuild dev-libs/capstone/capstone-5.0_rc2.ebuild dev-libs/capstone/files/capstone-5.0_rc2-pkgconfig.patch X-VCS-Directories: dev-libs/capstone/ dev-libs/capstone/files/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 3f161266557c6d49226102e8df0725789639f993 X-VCS-Branch: master Date: Wed, 11 May 2022 02:11:07 +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: 8fca2773-feb8-486c-9303-16170bfef272 X-Archives-Hash: 0a30026c19976c8e390b55bb0ce4af8e commit: 3f161266557c6d49226102e8df0725789639f993 Author: Mario Haustein hrz tu-chemnitz de> AuthorDate: Sat Apr 30 17:02:06 2022 +0000 Commit: Sam James gentoo org> CommitDate: Wed May 11 02:11:00 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f161266 dev-libs/capstone: fix version statement in pkg-config file Bug: https://bugs.gentoo.org/841716 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Mario Haustein hrz.tu-chemnitz.de> Signed-off-by: Sam James gentoo.org> .../{capstone-5.0_rc2.ebuild => capstone-5.0_rc2-r1.ebuild} | 4 ++++ dev-libs/capstone/files/capstone-5.0_rc2-pkgconfig.patch | 13 +++++++++++++ 2 files changed, 17 insertions(+) diff --git a/dev-libs/capstone/capstone-5.0_rc2.ebuild b/dev-libs/capstone/capstone-5.0_rc2-r1.ebuild similarity index 96% rename from dev-libs/capstone/capstone-5.0_rc2.ebuild rename to dev-libs/capstone/capstone-5.0_rc2-r1.ebuild index f54ab3111868..6127c611b7d2 100644 --- a/dev-libs/capstone/capstone-5.0_rc2.ebuild +++ b/dev-libs/capstone/capstone-5.0_rc2-r1.ebuild @@ -27,6 +27,10 @@ distutils_enable_tests setup.py S=${WORKDIR}/${P/_rc/-rc} +PATCHES=( + "${FILESDIR}"/${P}-pkgconfig.patch +) + wrap_python() { local phase=$1 shift diff --git a/dev-libs/capstone/files/capstone-5.0_rc2-pkgconfig.patch b/dev-libs/capstone/files/capstone-5.0_rc2-pkgconfig.patch new file mode 100644 index 000000000000..015220a138e8 --- /dev/null +++ b/dev-libs/capstone/files/capstone-5.0_rc2-pkgconfig.patch @@ -0,0 +1,13 @@ +diff --git a/capstone.pc.in b/capstone.pc.in +index 1b559eac..1ffcd354 100644 +--- a/capstone.pc.in ++++ b/capstone.pc.in +@@ -5,7 +5,7 @@ includedir=${prefix}/include + + Name: capstone + Description: Capstone disassembly engine +-Version: @VERSION_MAJOR@.@VERSION_MINOR@.@VERSION_PATCH@ ++Version: @PROJECT_VERSION_MAJOR@.@PROJECT_VERSION_MINOR@.@PROJECT_VERSION_PATCH@ + URL: http://www.capstone-engine.org + archive=${libdir}/libcapstone.a + Libs: -L${libdir} -lcapstone