]> git.pld-linux.org Git - packages/php-rrdtool.git/commitdiff
- port to new rrdtool auto/ac/php4-rrdtool-1_0_50-4 auto/ac/php4-rrdtool-1_0_50-5 auto/ac/php4-rrdtool-1_0_50-6 auto/ac/php4-rrdtool-1_0_50-7
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Fri, 14 Oct 2005 20:07:59 +0000 (20:07 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    php-rrdtool-new.patch -> 1.1

php-rrdtool-new.patch [new file with mode: 0644]

diff --git a/php-rrdtool-new.patch b/php-rrdtool-new.patch
new file mode 100644 (file)
index 0000000..6312208
--- /dev/null
@@ -0,0 +1,20 @@
+diff -urN rrdtool-1.0.50.org/contrib/php4/rrdtool.c rrdtool-1.0.50/contrib/php4/rrdtool.c
+--- rrdtool-1.0.50.org/contrib/php4/rrdtool.c  2003-06-30 10:47:13.000000000 +0200
++++ rrdtool-1.0.50/contrib/php4/rrdtool.c      2005-10-14 22:06:35.000000000 +0200
+@@ -274,6 +274,7 @@
+       zval *p_calcpr;
+       HashTable *args_arr;
+       int i, xsize, ysize, argc;
++      double ymin, ymax;
+       char **argv, **calcpr;
+     
+@@ -321,7 +322,7 @@
+               }
+    
+               optind = 0; opterr = 0; 
+-              if ( rrd_graph(argc-1, &argv[1], &calcpr, &xsize, &ysize) != -1 )
++              if ( rrd_graph(argc-1, &argv[1], &calcpr, &xsize, &ysize, NULL, &ymin, &ymax) != -1 )
+               {
+                       array_init(return_value);
+                       add_assoc_long(return_value, "xsize", xsize);
This page took 0.070672 seconds and 4 git commands to generate.