summaryrefslogtreecommitdiff
path: root/databases/grass-i18n/files/patch-src-raster-wildfire-src-r.ros-spot_dist.c
diff options
context:
space:
mode:
authorMax Khon <fjoe@FreeBSD.org>2004-07-11 11:20:40 +0000
committerMax Khon <fjoe@FreeBSD.org>2004-07-11 11:20:40 +0000
commit2f18811c6db43860973444b16d0ca59a44b1388a (patch)
treeec0d2f25135ae2e65318dd452d84c3b1524a68ce /databases/grass-i18n/files/patch-src-raster-wildfire-src-r.ros-spot_dist.c
parentlibpng row buffer overflow (diff)
- Fix build on 5.x (fix compiling with gcc 3.x). This fixes pkg-plist on 5.x.
- Provide really working fix for odbc driver. - Remove locks/%%HOSTNAME%% from pkg-plist -- it is cleaned up in pkg-deinstall. - Bump PORTREVISION.
Diffstat (limited to 'databases/grass-i18n/files/patch-src-raster-wildfire-src-r.ros-spot_dist.c')
-rw-r--r--databases/grass-i18n/files/patch-src-raster-wildfire-src-r.ros-spot_dist.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/databases/grass-i18n/files/patch-src-raster-wildfire-src-r.ros-spot_dist.c b/databases/grass-i18n/files/patch-src-raster-wildfire-src-r.ros-spot_dist.c
new file mode 100644
index 000000000000..1ba8d7477e78
--- /dev/null
+++ b/databases/grass-i18n/files/patch-src-raster-wildfire-src-r.ros-spot_dist.c
@@ -0,0 +1,11 @@
+--- src/raster/wildfire/src/r.ros/spot_dist.c.orig Sun Jul 11 17:41:42 2004
++++ src/raster/wildfire/src/r.ros/spot_dist.c Sun Jul 11 17:42:04 2004
+@@ -119,7 +119,7 @@
+
+ if (DATA(map_elev,row,col) > z) {
+ #ifdef DEBUG
+-printf ("\nA return: m%d U=%d(m/h) h0=%d(m) e0(%d,%d)=%d z=%d(m) e(%d,%d)=%d
++printf ("\nA return: m%d U=%d(m/h) h0=%d(m) e0(%d,%d)=%d z=%d(m) e(%d,%d)=%d\
+ s=%d(m)", (int)fuel, (int)U, (int)h0, row0,col0,DATA(map_elev,row0,col0),
+ (int)z, row,col,DATA(map_elev,row,col), S);
+ #endif