[GRASS-SVN] r50203 - grass-addons/grass6/vector/v.in.redwg

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Jan 15 01:12:50 EST 2012


Author: hamish
Date: 2012-01-14 22:12:50 -0800 (Sat, 14 Jan 2012)
New Revision: 50203

Modified:
   grass-addons/grass6/vector/v.in.redwg/Makefile
   grass-addons/grass6/vector/v.in.redwg/entity.c
   grass-addons/grass6/vector/v.in.redwg/main.c
Log:
minor tweaks to get it to run with grass6

Modified: grass-addons/grass6/vector/v.in.redwg/Makefile
===================================================================
--- grass-addons/grass6/vector/v.in.redwg/Makefile	2012-01-15 04:29:50 UTC (rev 50202)
+++ grass-addons/grass6/vector/v.in.redwg/Makefile	2012-01-15 06:12:50 UTC (rev 50203)
@@ -4,8 +4,8 @@
 
 ## hard coded
 LIBREDWGLIB=-lredwg
-#LIBREDWGLIBPATH=/usr/local/lib
-#LIBREDWGINCPATH=/usr/local/include/dwg.h
+#LIBREDWGLIBPATH=-L/usr/local/lib
+#LIBREDWGINCPATH=-I/usr/local/include
 
 DEPENDENCIES = $(VECTDEP) $(DBMIDEP) $(GISDEP)
 LIBES     = $(VECTLIB) $(DBMILIB) $(GISLIB) $(LIBREDWGLIBPATH) $(LIBREDWGLIB)

Modified: grass-addons/grass6/vector/v.in.redwg/entity.c
===================================================================
--- grass-addons/grass6/vector/v.in.redwg/entity.c	2012-01-15 04:29:50 UTC (rev 50202)
+++ grass-addons/grass6/vector/v.in.redwg/entity.c	2012-01-15 06:12:50 UTC (rev 50203)
@@ -316,7 +316,6 @@
       long unsigned int *ent_counter, int level)
 {
     double x, y, z, ang;
-    int i;
 
     /* DWG entity pointers */
     Dwg_Entity_LINE *line;

Modified: grass-addons/grass6/vector/v.in.redwg/main.c
===================================================================
--- grass-addons/grass6/vector/v.in.redwg/main.c	2012-01-15 04:29:50 UTC (rev 50202)
+++ grass-addons/grass6/vector/v.in.redwg/main.c	2012-01-15 06:12:50 UTC (rev 50203)
@@ -65,8 +65,7 @@
     G_gisinit(argv[0]);
 
     module = G_define_module();
-    G_add_keyword(_("vector"));
-    G_add_keyword(_("import"));
+    module->keywords = _("vector, import, DWG");
     module->description = _("Converts DWG to GRASS vector map");
 
     in_opt = G_define_standard_option(G_OPT_F_INPUT);



More information about the grass-commit mailing list