1 |
commit: 3f161266557c6d49226102e8df0725789639f993 |
2 |
Author: Mario Haustein <mario.haustein <AT> hrz <DOT> tu-chemnitz <DOT> de> |
3 |
AuthorDate: Sat Apr 30 17:02:06 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed May 11 02:11:00 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f161266 |
7 |
|
8 |
dev-libs/capstone: fix version statement in pkg-config file |
9 |
|
10 |
Bug: https://bugs.gentoo.org/841716 |
11 |
Package-Manager: Portage-3.0.30, Repoman-3.0.3 |
12 |
Signed-off-by: Mario Haustein <mario.haustein <AT> hrz.tu-chemnitz.de> |
13 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
14 |
|
15 |
.../{capstone-5.0_rc2.ebuild => capstone-5.0_rc2-r1.ebuild} | 4 ++++ |
16 |
dev-libs/capstone/files/capstone-5.0_rc2-pkgconfig.patch | 13 +++++++++++++ |
17 |
2 files changed, 17 insertions(+) |
18 |
|
19 |
diff --git a/dev-libs/capstone/capstone-5.0_rc2.ebuild b/dev-libs/capstone/capstone-5.0_rc2-r1.ebuild |
20 |
similarity index 96% |
21 |
rename from dev-libs/capstone/capstone-5.0_rc2.ebuild |
22 |
rename to dev-libs/capstone/capstone-5.0_rc2-r1.ebuild |
23 |
index f54ab3111868..6127c611b7d2 100644 |
24 |
--- a/dev-libs/capstone/capstone-5.0_rc2.ebuild |
25 |
+++ b/dev-libs/capstone/capstone-5.0_rc2-r1.ebuild |
26 |
@@ -27,6 +27,10 @@ distutils_enable_tests setup.py |
27 |
|
28 |
S=${WORKDIR}/${P/_rc/-rc} |
29 |
|
30 |
+PATCHES=( |
31 |
+ "${FILESDIR}"/${P}-pkgconfig.patch |
32 |
+) |
33 |
+ |
34 |
wrap_python() { |
35 |
local phase=$1 |
36 |
shift |
37 |
|
38 |
diff --git a/dev-libs/capstone/files/capstone-5.0_rc2-pkgconfig.patch b/dev-libs/capstone/files/capstone-5.0_rc2-pkgconfig.patch |
39 |
new file mode 100644 |
40 |
index 000000000000..015220a138e8 |
41 |
--- /dev/null |
42 |
+++ b/dev-libs/capstone/files/capstone-5.0_rc2-pkgconfig.patch |
43 |
@@ -0,0 +1,13 @@ |
44 |
+diff --git a/capstone.pc.in b/capstone.pc.in |
45 |
+index 1b559eac..1ffcd354 100644 |
46 |
+--- a/capstone.pc.in |
47 |
++++ b/capstone.pc.in |
48 |
+@@ -5,7 +5,7 @@ includedir=${prefix}/include |
49 |
+ |
50 |
+ Name: capstone |
51 |
+ Description: Capstone disassembly engine |
52 |
+-Version: @VERSION_MAJOR@.@VERSION_MINOR@.@VERSION_PATCH@ |
53 |
++Version: @PROJECT_VERSION_MAJOR@.@PROJECT_VERSION_MINOR@.@PROJECT_VERSION_PATCH@ |
54 |
+ URL: http://www.capstone-engine.org |
55 |
+ archive=${libdir}/libcapstone.a |
56 |
+ Libs: -L${libdir} -lcapstone |