summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Alfredsen <loki_val@gentoo.org>2009-02-15 21:56:30 +0000
committerPeter Alfredsen <loki_val@gentoo.org>2009-02-15 21:56:30 +0000
commit50cb163fffaab23a6ce57bc48716cb60b8863ca5 (patch)
tree9d17c7cc0ad963221e51e3fc080fa41038a00373 /sys-power/powersoftplus
parentFixing py bindings failure, patch by John Keeping, fixes #258652 (diff)
downloadgentoo-2-50cb163fffaab23a6ce57bc48716cb60b8863ca5.tar.gz
gentoo-2-50cb163fffaab23a6ce57bc48716cb60b8863ca5.tar.bz2
gentoo-2-50cb163fffaab23a6ce57bc48716cb60b8863ca5.zip
Adding gcc-4.3 patch per bug 251741. Thanks to Gene Seto <geneseto@hotmail.com> for the patch.
(Portage version: 2.2_rc23/cvs/Linux x86_64)
Diffstat (limited to 'sys-power/powersoftplus')
-rw-r--r--sys-power/powersoftplus/ChangeLog9
-rw-r--r--sys-power/powersoftplus/files/powersoftplus-0.1.8-gcc43.patch20
-rw-r--r--sys-power/powersoftplus/powersoftplus-0.1.8-r1.ebuild7
3 files changed, 31 insertions, 5 deletions
diff --git a/sys-power/powersoftplus/ChangeLog b/sys-power/powersoftplus/ChangeLog
index 91624c5364e2..a0d2c62df904 100644
--- a/sys-power/powersoftplus/ChangeLog
+++ b/sys-power/powersoftplus/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-power/powersoftplus
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-power/powersoftplus/ChangeLog,v 1.2 2007/09/02 19:12:49 jurek Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-power/powersoftplus/ChangeLog,v 1.3 2009/02/15 21:56:29 loki_val Exp $
+
+ 15 Feb 2009; Peter Alfredsen <loki_val@gentoo.org>
+ +files/powersoftplus-0.1.8-gcc43.patch, powersoftplus-0.1.8-r1.ebuild:
+ Adding gcc-4.3 patch per bug 251741. Thanks to Gene Seto
+ <geneseto@hotmail.com> for the patch.
*powersoftplus-0.1.8-r1 (02 Sep 2007)
diff --git a/sys-power/powersoftplus/files/powersoftplus-0.1.8-gcc43.patch b/sys-power/powersoftplus/files/powersoftplus-0.1.8-gcc43.patch
new file mode 100644
index 000000000000..ccd9eb3c735b
--- /dev/null
+++ b/sys-power/powersoftplus/files/powersoftplus-0.1.8-gcc43.patch
@@ -0,0 +1,20 @@
+--- powersoftplus-0.1.8b/src/cshmem.cpp 2009-01-19 18:16:12.000000000 -0400
++++ powersoftplus-0.1.8/src/cshmem.cpp 2009-01-19 18:19:37.000000000 -0400
+@@ -17,6 +17,7 @@
+ * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
+ ***************************************************************************/
+ #include "cshmem.h"
++#include <cstring>
+
+ CShMem::CShMem()
+ {
+--- powersoftplus-0.1.8b/src/glfunc.cpp 2009-01-19 18:16:12.000000000 -0400
++++ powersoftplus-0.1.8/src/glfunc.cpp 2009-01-19 18:19:57.000000000 -0400
+@@ -22,6 +22,7 @@
+ #endif
+ #include <iostream>
+ #include <cstdlib>
++#include <cstring>
+ #include <math.h>
+ #include "glfunc.h"
+ #include "strings_en.h"
diff --git a/sys-power/powersoftplus/powersoftplus-0.1.8-r1.ebuild b/sys-power/powersoftplus/powersoftplus-0.1.8-r1.ebuild
index 1e4b28bde240..7d6577d4c788 100644
--- a/sys-power/powersoftplus/powersoftplus-0.1.8-r1.ebuild
+++ b/sys-power/powersoftplus/powersoftplus-0.1.8-r1.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-power/powersoftplus/powersoftplus-0.1.8-r1.ebuild,v 1.1 2007/09/02 19:12:49 jurek Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-power/powersoftplus/powersoftplus-0.1.8-r1.ebuild,v 1.2 2009/02/15 21:56:29 loki_val Exp $
-inherit autotools
+inherit autotools eutils
DESCRIPTION="Ever UPS daemon"
HOMEPAGE="http://www.ever.com.pl"
@@ -49,6 +49,7 @@ src_unpack() {
eautoreconf
+ epatch ${FILESDIR}/${P}-gcc43.patch
epatch ${FILESDIR}/${P}-reduceverbosity.patch
}