[GRASS-SVN] r50222 - grass-addons/grass6/vector/v.vect.stats
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Jan 16 23:42:04 EST 2012
Author: hamish
Date: 2012-01-16 20:42:04 -0800 (Mon, 16 Jan 2012)
New Revision: 50222
Added:
grass-addons/grass6/vector/v.vect.stats/grass640.patch
Log:
patch for <= 6.4.0 stats.h API
Added: grass-addons/grass6/vector/v.vect.stats/grass640.patch
===================================================================
--- grass-addons/grass6/vector/v.vect.stats/grass640.patch (rev 0)
+++ grass-addons/grass6/vector/v.vect.stats/grass640.patch 2012-01-17 04:42:04 UTC (rev 50222)
@@ -0,0 +1,14 @@
+Index: main.c
+===================================================================
+--- main.c (revision 50221)
++++ main.c (working copy)
+@@ -656,8 +656,7 @@
+
+ if (Area_cat[i].count > 0 && method_opt->answer) {
+ /* get stats */
+- statsvalue(&result, Area_cat[i].values, Area_cat[i].nvalues,
+- NULL);
++ statsvalue(&result, Area_cat[i].values, Area_cat[i].nvalues);
+
+ if (half)
+ result += 0.5;
Property changes on: grass-addons/grass6/vector/v.vect.stats/grass640.patch
___________________________________________________________________
Added: svn:mime-type
+ text/x-diff
Added: svn:eol-style
+ native
More information about the grass-commit
mailing list