Fix a crash in the kml converter. Tested on amd64, i386, sparc64 and zaurus.
A similar fix was applied to gpsbabel cvs.
This commit is contained in:
parent
a7d0d66412
commit
11a4d01f8a
@ -1,11 +1,11 @@
|
||||
# $OpenBSD: Makefile,v 1.4 2006/11/23 19:49:23 ckuethe Exp $
|
||||
# $OpenBSD: Makefile,v 1.5 2006/11/25 00:39:41 ckuethe Exp $
|
||||
|
||||
COMMENT-main= "GPS waypoint, track, and route conversion tool"
|
||||
COMMENT-gui= "Tk front-end to gpsbabel"
|
||||
|
||||
VERSION= 1.3.2
|
||||
DISTNAME= gpsbabel-${VERSION}
|
||||
PKGNAME-main= gpsbabel-${VERSION}p0
|
||||
PKGNAME-main= gpsbabel-${VERSION}p1
|
||||
PKGNAME-gui= gpsbabel-gui-${VERSION}p0
|
||||
CATEGORIES= geo
|
||||
|
||||
|
11
geo/gpsbabel/patches/patch-util_c
Normal file
11
geo/gpsbabel/patches/patch-util_c
Normal file
@ -0,0 +1,11 @@
|
||||
--- util.c.orig Thu Nov 23 15:37:47 2006
|
||||
+++ util.c Thu Nov 23 15:36:11 2006
|
||||
@@ -309,7 +309,7 @@
|
||||
*strp = NULL;
|
||||
return -1;
|
||||
}
|
||||
- bufsize = 1;
|
||||
+ bufsize = FIRSTSIZE;
|
||||
} else if ((newbuf = xrealloc(buf, nextsize)) != NULL) {
|
||||
buf = newbuf;
|
||||
bufsize = nextsize;
|
Loading…
Reference in New Issue
Block a user