summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Volkov <pva@gentoo.org>2013-03-24 07:38:57 +0000
committerPeter Volkov <pva@gentoo.org>2013-03-24 07:38:57 +0000
commitee701dfc0a3631f78d5a5c9c4c779d339b84c096 (patch)
treefdc0d8fcc33b6963ed0f318735f08df5b546194e /sys-libs/freeipmi
parentminor typo inside comment, pointed out by Nikoli (diff)
downloadgentoo-2-ee701dfc0a3631f78d5a5c9c4c779d339b84c096.tar.gz
gentoo-2-ee701dfc0a3631f78d5a5c9c4c779d339b84c096.tar.bz2
gentoo-2-ee701dfc0a3631f78d5a5c9c4c779d339b84c096.zip
Fix out of sources build issue, bug #462844
(Portage version: 2.1.11.55/cvs/Linux x86_64, signed Manifest commit with key F1989B07)
Diffstat (limited to 'sys-libs/freeipmi')
-rw-r--r--sys-libs/freeipmi/ChangeLog6
-rw-r--r--sys-libs/freeipmi/files/freeipmi-1.2.5-out-of-source-build.patch26
-rw-r--r--sys-libs/freeipmi/freeipmi-1.2.5.ebuild5
3 files changed, 34 insertions, 3 deletions
diff --git a/sys-libs/freeipmi/ChangeLog b/sys-libs/freeipmi/ChangeLog
index 8b4571a3e0eb..4b36a0a0a24d 100644
--- a/sys-libs/freeipmi/ChangeLog
+++ b/sys-libs/freeipmi/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-libs/freeipmi
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/freeipmi/ChangeLog,v 1.67 2013/02/28 19:51:26 idl0r Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/freeipmi/ChangeLog,v 1.68 2013/03/24 07:38:57 pva Exp $
+
+ 24 Mar 2013; Peter Volkov <pva@gentoo.org>
+ +files/freeipmi-1.2.5-out-of-source-build.patch, freeipmi-1.2.5.ebuild:
+ Fix out of sources build issue, bug #462844
28 Feb 2013; Christian Ruppert <idl0r@gentoo.org> freeipmi-1.2.2.ebuild:
amd64 stable, bug 441536
diff --git a/sys-libs/freeipmi/files/freeipmi-1.2.5-out-of-source-build.patch b/sys-libs/freeipmi/files/freeipmi-1.2.5-out-of-source-build.patch
new file mode 100644
index 000000000000..1387af1d4fb0
--- /dev/null
+++ b/sys-libs/freeipmi/files/freeipmi-1.2.5-out-of-source-build.patch
@@ -0,0 +1,26 @@
+Index: common/toolcommon/Makefile.am
+===================================================================
+--- common/toolcommon/Makefile.am (revision 9592)
++++ common/toolcommon/Makefile.am (working copy)
+@@ -8,7 +8,7 @@
+ -I$(top_srcdir)/common/miscutil \
+ -I$(top_srcdir)/common/parsecommon \
+ -I$(top_srcdir)/common/portability \
+- -I$(top_srcdir)/libipmidetect \
++ -I$(top_builddir)/libipmidetect \
+ -I$(top_builddir)/libfreeipmi/include \
+ -I$(top_srcdir)/libfreeipmi/include \
+ -D_GNU_SOURCE \
+Index: ipmipower/Makefile.am
+===================================================================
+--- ipmipower/Makefile.am (revision 9592)
++++ ipmipower/Makefile.am (working copy)
+@@ -6,7 +6,7 @@
+ -I$(top_srcdir)/common/miscutil \
+ -I$(top_srcdir)/common/parsecommon \
+ -I$(top_srcdir)/common/portability \
+- -I$(top_srcdir)/libipmidetect \
++ -I$(top_builddir)/libipmidetect \
+ -I$(top_builddir)/libfreeipmi/include \
+ -I$(top_srcdir)/libfreeipmi/include \
+ -DWITH_LSD_FATAL_ERROR_FUNC=1 \
diff --git a/sys-libs/freeipmi/freeipmi-1.2.5.ebuild b/sys-libs/freeipmi/freeipmi-1.2.5.ebuild
index 88f620ba015a..ccc2532dee73 100644
--- a/sys-libs/freeipmi/freeipmi-1.2.5.ebuild
+++ b/sys-libs/freeipmi/freeipmi-1.2.5.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/freeipmi/freeipmi-1.2.5.ebuild,v 1.2 2013/02/28 12:09:25 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/freeipmi/freeipmi-1.2.5.ebuild,v 1.3 2013/03/24 07:38:57 pva Exp $
EAPI=5
@@ -31,7 +31,8 @@ RDEPEND="${RDEPEND}
src_prepare() {
epatch \
- "${FILESDIR}"/${PN}-1.1.1-strictaliasing.patch
+ "${FILESDIR}"/${PN}-1.1.1-strictaliasing.patch \
+ "${FILESDIR}"/${P}-out-of-source-build.patch
AT_M4DIR="config" eautoreconf
}