summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2011-07-01 07:31:26 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2011-07-01 07:31:26 +0000
commit222eb41d16a41c7be1ac3baa3cf0a65221a331e5 (patch)
tree59e2b24f2a5fc2f8b53aec7b16a3bd0bd2b74b43 /sys-libs
parentCorrection for pkg-config file (diff)
downloadgentoo-2-222eb41d16a41c7be1ac3baa3cf0a65221a331e5.tar.gz
gentoo-2-222eb41d16a41c7be1ac3baa3cf0a65221a331e5.tar.bz2
gentoo-2-222eb41d16a41c7be1ac3baa3cf0a65221a331e5.zip
Version bump; add patch to disable strict aliasing for the low-level drivers.
(Portage version: 2.2.0_alpha42/cvs/Linux x86_64)
Diffstat (limited to 'sys-libs')
-rw-r--r--sys-libs/freeipmi/ChangeLog8
-rw-r--r--sys-libs/freeipmi/files/freeipmi-1.0.5-strictaliasing.patch14
-rw-r--r--sys-libs/freeipmi/freeipmi-1.0.5.ebuild (renamed from sys-libs/freeipmi/freeipmi-1.0.3.ebuild)10
3 files changed, 27 insertions, 5 deletions
diff --git a/sys-libs/freeipmi/ChangeLog b/sys-libs/freeipmi/ChangeLog
index fa2e2e9b898a..b9a56ec402b0 100644
--- a/sys-libs/freeipmi/ChangeLog
+++ b/sys-libs/freeipmi/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-libs/freeipmi
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/freeipmi/ChangeLog,v 1.34 2011/04/22 14:03:49 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/freeipmi/ChangeLog,v 1.35 2011/07/01 07:31:26 flameeyes Exp $
+
+*freeipmi-1.0.5 (01 Jul 2011)
+
+ 01 Jul 2011; Diego E. Pettenò <flameeyes@gentoo.org> -freeipmi-1.0.3.ebuild,
+ +freeipmi-1.0.5.ebuild, +files/freeipmi-1.0.5-strictaliasing.patch:
+ Version bump; add patch to disable strict aliasing for the low-level drivers.
*freeipmi-1.0.4 (22 Apr 2011)
diff --git a/sys-libs/freeipmi/files/freeipmi-1.0.5-strictaliasing.patch b/sys-libs/freeipmi/files/freeipmi-1.0.5-strictaliasing.patch
new file mode 100644
index 000000000000..f126261dfbef
--- /dev/null
+++ b/sys-libs/freeipmi/files/freeipmi-1.0.5-strictaliasing.patch
@@ -0,0 +1,14 @@
+Index: freeipmi-1.0.5/libfreeipmi/src/driver/Makefile.am
+===================================================================
+--- freeipmi-1.0.5.orig/libfreeipmi/src/driver/Makefile.am
++++ freeipmi-1.0.5/libfreeipmi/src/driver/Makefile.am
+@@ -17,7 +17,8 @@ libdriver_la_CPPFLAGS = \
+ -DIPMI_IPCKEY=\"$(localstatedir)/lib/$(PACKAGE_NAME)/ipckey\" \
+ -DIPMI_DEBUG_IPCKEY=\"$(top_builddir)/libfreeipmi/src/ipmi-semaphores.h\" \
+ -D_GNU_SOURCE \
+- -D_REENTRANT
++ -D_REENTRANT \
++ -fno-strict-aliasing
+
+ libdriver_la_SOURCES = \
+ ipmi-semaphores.c \
diff --git a/sys-libs/freeipmi/freeipmi-1.0.3.ebuild b/sys-libs/freeipmi/freeipmi-1.0.5.ebuild
index 094aa042d56d..188e1f9f6032 100644
--- a/sys-libs/freeipmi/freeipmi-1.0.3.ebuild
+++ b/sys-libs/freeipmi/freeipmi-1.0.5.ebuild
@@ -1,10 +1,10 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/freeipmi/freeipmi-1.0.3.ebuild,v 1.1 2011/03/30 02:40:44 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/freeipmi/freeipmi-1.0.5.ebuild,v 1.1 2011/07/01 07:31:26 flameeyes Exp $
-EAPI=2
+EAPI=4
-inherit autotools
+inherit autotools eutils
DESCRIPTION="Provides Remote-Console and System Management Software as per IPMI v1.5/2.0"
HOMEPAGE="http://www.gnu.org/software/freeipmi/"
@@ -23,6 +23,8 @@ src_prepare() {
# Fix build mistake, only causes warnings but at least stop it.
sed -i -e '/-module/d' "${S}"/libfreeipmi/src/Makefile.am || die
+ epatch "${FILESDIR}"/${P}-strictaliasing.patch
+
AT_M4DIR="config" eautoreconf
}
@@ -58,7 +60,7 @@ src_install() {
dosym ${file} /usr/bin/${file/ipmi/ipmi-}
done
- dodoc AUTHORS ChangeLog* DISCLAIMER* NEWS README* TODO doc/*.txt || die
+ dodoc AUTHORS ChangeLog* DISCLAIMER* NEWS README* TODO doc/*.txt
keepdir \
/var/cache/ipmimonitoringsdrcache \