1 |
commit: 7aa54c300dea240135ddb44ee1c53f20311ebab5 |
2 |
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Oct 16 11:00:45 2018 +0000 |
4 |
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Oct 16 11:00:59 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7aa54c30 |
7 |
|
8 |
dev-libs/libmspack: remove workaround for parallel make issue |
9 |
|
10 |
With this commit, a patch was added to fix the parallel make issue. |
11 |
|
12 |
Package-Manager: Portage-2.3.51, Repoman-2.3.11 |
13 |
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org> |
14 |
|
15 |
.../libmspack-0.7.1_alpha-fix-parallel-build.patch | 20 ++++++++++++++++++++ |
16 |
dev-libs/libmspack/libmspack-0.7.1_alpha.ebuild | 9 +++++---- |
17 |
2 files changed, 25 insertions(+), 4 deletions(-) |
18 |
|
19 |
diff --git a/dev-libs/libmspack/files/libmspack-0.7.1_alpha-fix-parallel-build.patch b/dev-libs/libmspack/files/libmspack-0.7.1_alpha-fix-parallel-build.patch |
20 |
new file mode 100644 |
21 |
index 00000000000..38935a8d26f |
22 |
--- /dev/null |
23 |
+++ b/dev-libs/libmspack/files/libmspack-0.7.1_alpha-fix-parallel-build.patch |
24 |
@@ -0,0 +1,20 @@ |
25 |
+From 43099fb1bba26792fe98b4157c950db9c333134d Mon Sep 17 00:00:00 2001 |
26 |
+From: Stuart Caie <kyzer@××××××××××××××.uk> |
27 |
+Date: Tue, 16 Oct 2018 11:25:24 +0100 |
28 |
+Subject: [PATCH] Fix parallel builds by adding adding libmschmd.la explicitly |
29 |
+ to test_chmd_test_DEPENDENCIES |
30 |
+ |
31 |
+--- |
32 |
+diff --git a/libmspack/Makefile.am b/libmspack/Makefile.am |
33 |
+index ba19535..6130bc2 100644 |
34 |
+--- a/Makefile.am |
35 |
++++ b/Makefile.am |
36 |
+@@ -89,7 +89,7 @@ test_chmd_order_SOURCES = test/chmd_order.c test/md5.c test/md5.h \ |
37 |
+ test_chmd_order_LDADD = libmschmd.la |
38 |
+ test_chmd_test_SOURCES = test/chmd_test.c libmschmd.la |
39 |
+ test_chmd_test_LDADD = libmschmd.la |
40 |
+-test_chmd_test_DEPENDENCIES = test/test_files/chmd/cve-2015-4467-reset-interval-zero.chm |
41 |
++test_chmd_test_DEPENDENCIES = libmschmd.la test/test_files/chmd/cve-2015-4467-reset-interval-zero.chm |
42 |
+ test_chminfo_SOURCES = test/chminfo.c libmschmd.la |
43 |
+ test_chminfo_LDADD = libmschmd.la |
44 |
+ test_kwajd_test_SOURCES = test/kwajd_test.c libmspack.la |
45 |
|
46 |
diff --git a/dev-libs/libmspack/libmspack-0.7.1_alpha.ebuild b/dev-libs/libmspack/libmspack-0.7.1_alpha.ebuild |
47 |
index 115ef509e1a..4a10f210590 100644 |
48 |
--- a/dev-libs/libmspack/libmspack-0.7.1_alpha.ebuild |
49 |
+++ b/dev-libs/libmspack/libmspack-0.7.1_alpha.ebuild |
50 |
@@ -3,7 +3,7 @@ |
51 |
|
52 |
EAPI="7" |
53 |
|
54 |
-inherit eutils multilib-minimal |
55 |
+inherit autotools multilib-minimal |
56 |
|
57 |
MY_PV="${PV/_alpha/alpha}" |
58 |
MY_P="${PN}-${MY_PV}" |
59 |
@@ -22,18 +22,19 @@ RDEPEND=" |
60 |
utils? ( !app-arch/mscompress ) |
61 |
" |
62 |
|
63 |
+PATCHES=( "${FILESDIR}"/${P}-fix-parallel-build.patch ) |
64 |
+ |
65 |
S="${WORKDIR}/${MY_P}" |
66 |
|
67 |
src_prepare() { |
68 |
default |
69 |
|
70 |
+ eautoreconf |
71 |
+ |
72 |
multilib_copy_sources |
73 |
} |
74 |
|
75 |
multilib_src_configure() { |
76 |
- # https://github.com/kyz/libmspack/issues/19 |
77 |
- export MAKEOPTS=-j1 |
78 |
- |
79 |
ECONF_SOURCE="${S}" econf \ |
80 |
$(use_enable debug) \ |
81 |
$(use_enable static-libs static) |