diff options
author | Mario Haustein <mario.haustein@hrz.tu-chemnitz.de> | 2022-04-30 19:02:06 +0200 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-05-11 02:11:00 +0000 |
commit | 3f161266557c6d49226102e8df0725789639f993 (patch) | |
tree | 455caf6bf84b2a4955a294fdecb84a74b7023c60 /dev-libs/capstone | |
parent | dev-util/rizin: restrict to Capstone 4 (diff) | |
download | gentoo-3f161266557c6d49226102e8df0725789639f993.tar.gz gentoo-3f161266557c6d49226102e8df0725789639f993.tar.bz2 gentoo-3f161266557c6d49226102e8df0725789639f993.zip |
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 <mario.haustein@hrz.tu-chemnitz.de>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-libs/capstone')
-rw-r--r-- | dev-libs/capstone/capstone-5.0_rc2-r1.ebuild (renamed from dev-libs/capstone/capstone-5.0_rc2.ebuild) | 4 | ||||
-rw-r--r-- | dev-libs/capstone/files/capstone-5.0_rc2-pkgconfig.patch | 13 |
2 files changed, 17 insertions, 0 deletions
diff --git a/dev-libs/capstone/capstone-5.0_rc2.ebuild b/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 |