1 |
commit: 74d8e36357519c25110254efd7f74d93c665b6d8 |
2 |
Author: Vadim Misbakh-Soloviov <mva <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jan 24 18:17:29 2020 +0000 |
4 |
Commit: Vadim Misbakh-Soloviov <mva <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jan 24 18:17:29 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74d8e363 |
7 |
|
8 |
ipmiutil: fix for lanplus module |
9 |
|
10 |
Package-Manager: Portage-2.3.82, Repoman-2.3.20 |
11 |
Signed-off-by: Vadim Misbakh-Soloviov <mva <AT> gentoo.org> |
12 |
|
13 |
.../ipmiutil/files/ipmiutil-3.1.4-fix_lanplus_build.patch | 11 +++++++++++ |
14 |
sys-apps/ipmiutil/ipmiutil-3.1.4.ebuild | 5 +++-- |
15 |
2 files changed, 14 insertions(+), 2 deletions(-) |
16 |
|
17 |
diff --git a/sys-apps/ipmiutil/files/ipmiutil-3.1.4-fix_lanplus_build.patch b/sys-apps/ipmiutil/files/ipmiutil-3.1.4-fix_lanplus_build.patch |
18 |
new file mode 100644 |
19 |
index 00000000000..3f1331412d8 |
20 |
--- /dev/null |
21 |
+++ b/sys-apps/ipmiutil/files/ipmiutil-3.1.4-fix_lanplus_build.patch |
22 |
@@ -0,0 +1,11 @@ |
23 |
+--- a/configure.ac 2020-01-24 23:32:53.768314546 +0700 |
24 |
++++ b/configure.ac 2020-01-24 23:32:13.971662393 +0700 |
25 |
+@@ -94,7 +94,7 @@ AC_ARG_ENABLE([landesk], |
26 |
+ |
27 |
+ dnl Configure ipmiutil for lanplus (libipmi_lanplus.a) or not (default yes) |
28 |
+ AC_ARG_ENABLE([lanplus], |
29 |
+- [ --enable-lanplus enable lanplus support (default=yes)],[default=yes], |
30 |
++ [ --enable-lanplus enable lanplus support (default=yes)], |
31 |
+ [if test "x$enableval" = "xno"; then |
32 |
+ drv_lanplus="" |
33 |
+ LANPLUS_CFLAGS="" |
34 |
|
35 |
diff --git a/sys-apps/ipmiutil/ipmiutil-3.1.4.ebuild b/sys-apps/ipmiutil/ipmiutil-3.1.4.ebuild |
36 |
index a8fbfd6eff8..9f6c5ecdfef 100644 |
37 |
--- a/sys-apps/ipmiutil/ipmiutil-3.1.4.ebuild |
38 |
+++ b/sys-apps/ipmiutil/ipmiutil-3.1.4.ebuild |
39 |
@@ -1,4 +1,4 @@ |
40 |
-# Copyright 1999-2019 Gentoo Authors |
41 |
+# Copyright 1999-2020 Gentoo Authors |
42 |
# Distributed under the terms of the GNU General Public License v2 |
43 |
|
44 |
EAPI=7 |
45 |
@@ -20,6 +20,7 @@ DEPEND="${RDEPEND} |
46 |
PATCHES=( |
47 |
"${FILESDIR}"/${PN}-2.9.8-flags.patch |
48 |
"${FILESDIR}"/${PN}-2.9.9-lib_symlink.patch |
49 |
+ "${FILESDIR}"/${PN}-3.1.4-fix_lanplus_build.patch |
50 |
) |
51 |
|
52 |
src_prepare() { |
53 |
@@ -35,7 +36,7 @@ src_prepare() { |
54 |
} |
55 |
|
56 |
src_configure() { |
57 |
- econf --disable-systemd --enable-sha256 |
58 |
+ econf --disable-systemd --enable-sha256 --enable-lanplus |
59 |
} |
60 |
|
61 |
src_compile() { |