mirror of
https://github.com/openwrt/packages.git
synced 2025-12-26 11:16:31 +04:00
rrdtool1: import from packages, add myself as maintainer
While we're at it, relocate from libs/ to utils/ as it provides executables and change the directory name from rrdtool-1.0.x to rrdtool1 to make it match the source package name. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
This commit is contained in:
13
utils/rrdtool1/patches/020-x86-float-cast.patch
Normal file
13
utils/rrdtool1/patches/020-x86-float-cast.patch
Normal file
@@ -0,0 +1,13 @@
|
||||
Index: rrdtool-1.0.50/src/rrd_format.h
|
||||
===================================================================
|
||||
--- rrdtool-1.0.50.orig/src/rrd_format.h
|
||||
+++ rrdtool-1.0.50/src/rrd_format.h
|
||||
@@ -20,7 +20,7 @@
|
||||
|
||||
#define RRD_COOKIE "RRD"
|
||||
#define RRD_VERSION "0001"
|
||||
-#define FLOAT_COOKIE 8.642135E130
|
||||
+#define FLOAT_COOKIE ((double)8.642135E130)
|
||||
|
||||
#if defined(WIN32)
|
||||
#define DNAN ((double)fmod(0.0,0.0))
|
||||
Reference in New Issue
Block a user