SHA256
1
0
forked from pool/rrdtool

checked in (request 38070)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/rrdtool?expand=0&rev=7
This commit is contained in:
OBS User autobuild 2010-04-18 22:18:29 +00:00 committed by Git OBS Bridge
parent ed97ece39f
commit 41f43ed0e2
3 changed files with 1 additions and 21 deletions

View File

@ -1,13 +0,0 @@
Index: rrdtool-1.4.3/src/rrd_format.h
===================================================================
--- rrdtool-1.4.3.orig/src/rrd_format.h
+++ rrdtool-1.4.3/src/rrd_format.h
@@ -35,7 +35,7 @@
/* changed because microsecond precision requires another field */
#define RRD_VERSION "0004"
#define RRD_VERSION3 "0003"
-#define FLOAT_COOKIE 8.642135E130
+#define FLOAT_COOKIE ((double) 8.642135E130)
typedef union unival {
unsigned long u_cnt;

View File

@ -1,8 +1,3 @@
-------------------------------------------------------------------
Fri Apr 16 19:41:43 CEST 2010 - anicka@suse.cz
- fixed bnc#594981 (-double.diff)
-------------------------------------------------------------------
Tue Mar 30 18:16:24 CEST 2010 - anicka@suse.cz

View File

@ -28,7 +28,6 @@ Version: 1.4.3
Release: 1
Source: %{name}-%{version}.tar.bz2
Source1: cgilib-0.5.tar.bz2
Patch: %{name}-%{version}-double.diff
Url: http://oss.oetiker.ch/rrdtool/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Summary: A tool for data logging and analysis
@ -42,12 +41,11 @@ definable time period.
%prep
%setup -q -a1
%patch -p1
%build
# first prepare cgilib
cd cgilib*
make CC=gcc CFLAGS="$RPM_OPT_FLAGS -fPIC -I. -fexcess-precision=fast"
make CC=gcc CFLAGS="$RPM_OPT_FLAGS -fPIC -I."
mkdir -p ../lb/include
cp *.h ../lb/include
mkdir -p ../lb/lib