Patched to build with gcc43

epel9
Deji Akingunola 17 years ago
parent c0e51ae31c
commit afafe46187

@ -0,0 +1,10 @@
--- libqalculate/Number.cc 2007-05-18 04:03:22.000000000 -0400
+++ libqalculate/Number.cc.new 2008-02-10 22:56:51.000000000 -0500
@@ -15,6 +15,7 @@
#include "Calculator.h"
#include <sstream>
+#include <limits.h>
#include "util.h"
#define REAL_PRECISION_FLOAT_RE(x) cln::cl_float(cln::realpart(x), cln::float_format(PRECISION + 1))

@ -6,6 +6,7 @@ License: GPLv2+
Group: System Environment/Libraries
URL: http://qalculate.sourceforge.net/
Source0: http://dl.sf.net/sourceforge/qalculate/%{name}-%{version}.tar.gz
Patch0: libqalculate-gcc43.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: glib2-devel, cln-devel
BuildRequires: libxml2-devel
@ -41,6 +42,7 @@ frontends are provided by qalculate-gtk and qalculate-kde packages resp.
%prep
%setup -q
%patch0 -p0 -b .gcc43
%build
%configure --disable-static

Loading…
Cancel
Save