[GRASS-SVN] r50221 - grass-addons/grass6/vector/v.vect.stats
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Jan 16 23:36:49 EST 2012
Author: hamish
Date: 2012-01-16 20:36:49 -0800 (Mon, 16 Jan 2012)
New Revision: 50221
Removed:
grass-addons/grass6/vector/v.vect.stats/grass65.patch
Modified:
grass-addons/grass6/vector/v.vect.stats/main.c
Log:
match new >=6.4.1 stats.h API
Deleted: grass-addons/grass6/vector/v.vect.stats/grass65.patch
===================================================================
--- grass-addons/grass6/vector/v.vect.stats/grass65.patch 2012-01-17 04:20:31 UTC (rev 50220)
+++ grass-addons/grass6/vector/v.vect.stats/grass65.patch 2012-01-17 04:36:49 UTC (rev 50221)
@@ -1,14 +0,0 @@
-Index: main.c
-===================================================================
---- main.c (revision 44581)
-+++ main.c (working copy)
-@@ -656,7 +656,8 @@
-
- if (Area_cat[i].count > 0 && method_opt->answer) {
- /* get stats */
-- statsvalue(&result, Area_cat[i].values, Area_cat[i].nvalues);
-+ statsvalue(&result, Area_cat[i].values, Area_cat[i].nvalues,
-+ NULL);
-
- if (half)
- result += 0.5;
Modified: grass-addons/grass6/vector/v.vect.stats/main.c
===================================================================
--- grass-addons/grass6/vector/v.vect.stats/main.c 2012-01-17 04:20:31 UTC (rev 50220)
+++ grass-addons/grass6/vector/v.vect.stats/main.c 2012-01-17 04:36:49 UTC (rev 50221)
@@ -656,7 +656,8 @@
if (Area_cat[i].count > 0 && method_opt->answer) {
/* get stats */
- statsvalue(&result, Area_cat[i].values, Area_cat[i].nvalues);
+ statsvalue(&result, Area_cat[i].values, Area_cat[i].nvalues,
+ NULL);
if (half)
result += 0.5;
More information about the grass-commit
mailing list