diff --git a/rrdtool-1.4.3-double.diff b/rrdtool-1.4.3-double.diff new file mode 100644 index 0000000..b63e224 --- /dev/null +++ b/rrdtool-1.4.3-double.diff @@ -0,0 +1,13 @@ +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; diff --git a/rrdtool-1.4.3.tar.bz2 b/rrdtool-1.4.3.tar.bz2 new file mode 100644 index 0000000..90b96f8 --- /dev/null +++ b/rrdtool-1.4.3.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e936ad51ff1c327caedd24ff65b441c100d70e129962af17c905ca1c1a572ad8 +size 1021895 diff --git a/rrdtool-1.4.4.tar.bz2 b/rrdtool-1.4.4.tar.bz2 deleted file mode 100644 index 8152d7d..0000000 --- a/rrdtool-1.4.4.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c73af303eefa96eee3eca02c263d420b03a34032517a23d181d3a5463e9f415b -size 988841 diff --git a/rrdtool.changes b/rrdtool.changes index cb4b75d..95125cd 100644 --- a/rrdtool.changes +++ b/rrdtool.changes @@ -1,15 +1,3 @@ -------------------------------------------------------------------- -Tue Jul 27 16:20:46 CEST 2010 - anicka@suse.cz - -- update to 1.4.4 - * legal: Relicense the RRDCacheD client interface under the MIT - license - * legal: Updted FLOSS Exception for latest PHP license - * rrd_cached: better help output - * bugfixes -- remove last patch, fixed in upstream -- disable calling autoreconf (needs too new gettext) - ------------------------------------------------------------------- Fri Apr 16 19:41:43 CEST 2010 - anicka@suse.cz diff --git a/rrdtool.spec b/rrdtool.spec index 27bd874..4b166ce 100644 --- a/rrdtool.spec +++ b/rrdtool.spec @@ -24,10 +24,11 @@ License: GPLv2+ Group: Productivity/Scientific/Math AutoReqProv: on Requires: perl = %{perl_version} -Version: 1.4.4 +Version: 1.4.3 Release: 2 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 @@ -41,6 +42,7 @@ definable time period. %prep %setup -q -a1 +%patch -p1 %build # first prepare cgilib @@ -54,8 +56,7 @@ cd .. # build rrdtool %{suse_update_config} if [ ! -d m4 ]; then mkdir m4; fi -# we need getext 0.18 -#autoreconf -i -f +autoreconf -i -f export LDFLAGS="-L`pwd`/lb/lib" CPPFLAGS="-I`pwd`/lb/include" \ %configure --disable-static --with-pic --enable-shared \ --with-tcllib=%{_libdir} \