[GRASS-SVN] r55355 - grass-addons/grass7/imagery/i.rotate
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Mar 13 04:13:31 PDT 2013
Author: neteler
Date: 2013-03-13 04:13:30 -0700 (Wed, 13 Mar 2013)
New Revision: 55355
Modified:
grass-addons/grass7/imagery/i.rotate/Makefile
grass-addons/grass7/imagery/i.rotate/main.c
Log:
incomplete attempt to fix compilation errors
Modified: grass-addons/grass7/imagery/i.rotate/Makefile
===================================================================
--- grass-addons/grass7/imagery/i.rotate/Makefile 2013-03-13 11:05:21 UTC (rev 55354)
+++ grass-addons/grass7/imagery/i.rotate/Makefile 2013-03-13 11:13:30 UTC (rev 55355)
@@ -2,10 +2,12 @@
PGM = i.rotate
-LIBES = $(RASTERLIB) $(GISLIB)
-DEPENDENCIES = $(RASTERDEP) $(GISDEP)
+EXTRA_CFLAGS= $(GDALCFLAGS)
+EXTRA_INC = $(PROJINC)
+LIBES = $(GPROJLIB) $(RASTERLIB) $(GISLIB)
+DEPENDENCIES = $(GPROJDEP) $(RASTERDEP) $(GISDEP)
+
include $(MODULE_TOPDIR)/include/Make/Module.make
-
default: cmd
Modified: grass-addons/grass7/imagery/i.rotate/main.c
===================================================================
--- grass-addons/grass7/imagery/i.rotate/main.c 2013-03-13 11:05:21 UTC (rev 55354)
+++ grass-addons/grass7/imagery/i.rotate/main.c 2013-03-13 11:13:30 UTC (rev 55355)
@@ -1,4 +1,3 @@
-
/****************************************************************************
*
* MODULE: i.rotate
@@ -6,23 +5,25 @@
* PURPOSE: Calculates an arbitrary rotation of the image from the
* center of the computing window
*
- * COPYRIGHT: (C) 2002-2012 by the GRASS Development Team
+ * COPYRIGHT: (C) 2012 by the GRASS Development Team
*
* This program is free software under the GNU General Public
* License (>=v2). Read the file COPYING that comes with GRASS
* for details.
*
*****************************************************************************/
-
+
+#include <grass/config.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <math.h>
+
#include <grass/gis.h>
#include <grass/raster.h>
#include <grass/gprojects.h>
#include <grass/glocale.h>
-#include <math.h>
double** ad2d(int X, int Y) {
More information about the grass-commit
mailing list