rpms/libqalculate/devel libqalculate-gcc43.patch, NONE, 1.1 libqalculate.spec, 1.17, 1.18
Deji Akingunola (deji)
fedora-extras-commits at redhat.com
Mon Feb 11 04:09:46 UTC 2008
Author: deji
Update of /cvs/extras/rpms/libqalculate/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv11767
Modified Files:
libqalculate.spec
Added Files:
libqalculate-gcc43.patch
Log Message:
Patched to build with gcc43
libqalculate-gcc43.patch:
--- NEW FILE libqalculate-gcc43.patch ---
--- 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))
Index: libqalculate.spec
===================================================================
RCS file: /cvs/extras/rpms/libqalculate/devel/libqalculate.spec,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- libqalculate.spec 11 Feb 2008 03:28:47 -0000 1.17
+++ libqalculate.spec 11 Feb 2008 04:09:07 -0000 1.18
@@ -6,6 +6,7 @@
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 @@
%prep
%setup -q
+%patch0 -p0 -b .gcc43
%build
%configure --disable-static
More information about the fedora-extras-commits
mailing list