diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-06-02 13:07:15 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-06-02 13:07:15 +0000 |
commit | 299815c5960457f3c4ec150f969f63ec4d019bde (patch) | |
tree | 868a41204b41f24efb7ab4ecb118f2d82268b14b /dev-ruby/ruby-rrd/files | |
parent | Stable on ppc64; bug #134194 (diff) | |
download | historical-299815c5960457f3c4ec150f969f63ec4d019bde.tar.gz historical-299815c5960457f3c4ec150f969f63ec4d019bde.tar.bz2 historical-299815c5960457f3c4ec150f969f63ec4d019bde.zip |
Add patch to build with rrdtool 1.2, thanks to Angelo Leto in bug #132570. Mark ~amd64.
Package-Manager: portage-2.1_rc3-r5
Diffstat (limited to 'dev-ruby/ruby-rrd/files')
-rw-r--r-- | dev-ruby/ruby-rrd/files/digest-ruby-rrd-1.1 | 2 | ||||
-rw-r--r-- | dev-ruby/ruby-rrd/files/ruby-rrd-rrdtool-1.2.patch | 20 |
2 files changed, 22 insertions, 0 deletions
diff --git a/dev-ruby/ruby-rrd/files/digest-ruby-rrd-1.1 b/dev-ruby/ruby-rrd/files/digest-ruby-rrd-1.1 index 8bfa1db7ae3a..ef259923700c 100644 --- a/dev-ruby/ruby-rrd/files/digest-ruby-rrd-1.1 +++ b/dev-ruby/ruby-rrd/files/digest-ruby-rrd-1.1 @@ -1 +1,3 @@ MD5 e88d7b4675c557ff70f89fb462d0de57 ruby-rrd-1.1.tar.gz 3026 +RMD160 baac8e21c20b90ced00e6c4c282af4d17f755375 ruby-rrd-1.1.tar.gz 3026 +SHA256 9f91a6e657c1849f430376902edad4c0cacbb911e67e6314d62f33ef4f226452 ruby-rrd-1.1.tar.gz 3026 diff --git a/dev-ruby/ruby-rrd/files/ruby-rrd-rrdtool-1.2.patch b/dev-ruby/ruby-rrd/files/ruby-rrd-rrdtool-1.2.patch new file mode 100644 index 000000000000..2e55ce8cf89a --- /dev/null +++ b/dev-ruby/ruby-rrd/files/ruby-rrd-rrdtool-1.2.patch @@ -0,0 +1,20 @@ +--- ruby-rrd-1.1/main.c 2002-10-22 20:10:30.000000000 +0200 ++++ main.c 2006-05-10 11:45:43.990351000 +0200 +@@ -143,10 +143,15 @@ + char **calcpr, **p; + VALUE result, print_results; + int i, xsize, ysize; +- ++ ++ double ymin,ymax; //needed by: ++ FILE *outstream; //rrd_graph (RRDtool 1.2.6) ++ + a = string_arr_new(args); + reset_rrd_state(); +- rrd_graph(a.len, a.strings, &calcpr, &xsize, &ysize); ++ rrd_graph(a.len, a.strings, &calcpr, &xsize, &ysize,outstream, ++ &ymin,&ymax); //(RRDtool 1.2.6) ++ //rrd_graph(a.len, a.strings, &calcpr, &xsize, &ysize); //(RRDtool 1.0.*) + string_arr_delete(a); + + RRD_CHECK_ERROR |