summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Dittrich <markusle@gentoo.org>2008-04-01 15:19:33 +0000
committerMarkus Dittrich <markusle@gentoo.org>2008-04-01 15:19:33 +0000
commite6c5ca0c156d7641dc03c2203fa6711220fa150d (patch)
treec1f8ef861050ddd0e6ac3d0358823a207baed468 /sci-libs/libqalculate
parentremove duplicate desktop entry - bug #208806 thanks to Stefan Briesenick (diff)
downloadgentoo-2-e6c5ca0c156d7641dc03c2203fa6711220fa150d.tar.gz
gentoo-2-e6c5ca0c156d7641dc03c2203fa6711220fa150d.tar.bz2
gentoo-2-e6c5ca0c156d7641dc03c2203fa6711220fa150d.zip
Fixed compile issues with gcc-4.3 (see bug #215572).
(Portage version: 2.1.4.4)
Diffstat (limited to 'sci-libs/libqalculate')
-rw-r--r--sci-libs/libqalculate/ChangeLog7
-rw-r--r--sci-libs/libqalculate/files/libqalculate-0.9.6-gcc4.3.patch11
-rw-r--r--sci-libs/libqalculate/libqalculate-0.9.6-r1.ebuild3
3 files changed, 19 insertions, 2 deletions
diff --git a/sci-libs/libqalculate/ChangeLog b/sci-libs/libqalculate/ChangeLog
index 5440976450ce..d38de4223f8c 100644
--- a/sci-libs/libqalculate/ChangeLog
+++ b/sci-libs/libqalculate/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sci-libs/libqalculate
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/libqalculate/ChangeLog,v 1.25 2008/02/04 11:51:34 markusle Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/libqalculate/ChangeLog,v 1.26 2008/04/01 15:19:33 markusle Exp $
+
+ 01 Apr 2008; Markus Dittrich <markusle@gentoo.org>
+ +files/libqalculate-0.9.6-gcc4.3.patch, libqalculate-0.9.6-r1.ebuild:
+ Fixed compile issues with gcc-4.3 (see bug #215572). Thanks much to
+ <spasswolf@web.de> for his patch.
*libqalculate-0.9.6-r1 (02 Feb 2008)
diff --git a/sci-libs/libqalculate/files/libqalculate-0.9.6-gcc4.3.patch b/sci-libs/libqalculate/files/libqalculate-0.9.6-gcc4.3.patch
new file mode 100644
index 000000000000..66339480370c
--- /dev/null
+++ b/sci-libs/libqalculate/files/libqalculate-0.9.6-gcc4.3.patch
@@ -0,0 +1,11 @@
+diff -Naur libqalculate-0.9.6/libqalculate/Number.cc libqalculate-0.9.6.new/libqalculate/Number.cc
+--- libqalculate-0.9.6/libqalculate/Number.cc 2007-05-18 04:03:22.000000000 -0400
++++ libqalculate-0.9.6.new/libqalculate/Number.cc 2008-04-01 10:46:53.000000000 -0400
+@@ -15,6 +15,7 @@
+ #include "Calculator.h"
+
+ #include <sstream>
++#include <climits>
+ #include "util.h"
+
+ #define REAL_PRECISION_FLOAT_RE(x) cln::cl_float(cln::realpart(x), cln::float_format(PRECISION + 1))
diff --git a/sci-libs/libqalculate/libqalculate-0.9.6-r1.ebuild b/sci-libs/libqalculate/libqalculate-0.9.6-r1.ebuild
index a966a21b8880..536240599cad 100644
--- a/sci-libs/libqalculate/libqalculate-0.9.6-r1.ebuild
+++ b/sci-libs/libqalculate/libqalculate-0.9.6-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/libqalculate/libqalculate-0.9.6-r1.ebuild,v 1.1 2008/02/04 11:51:34 markusle Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/libqalculate/libqalculate-0.9.6-r1.ebuild,v 1.2 2008/04/01 15:19:33 markusle Exp $
inherit eutils autotools
@@ -34,6 +34,7 @@ src_unpack() {
epatch "${FILESDIR}"/${P}-check-fix.patch
epatch "${FILESDIR}"/${P}-cl_abort.patch
epatch "${FILESDIR}"/${P}-cln-config.patch
+ epatch "${FILESDIR}"/${P}-gcc4.3.patch
eautoconf
}