openbsd-ports/geo/gpsbabel/patches/patch-lmx_c
2008-08-21 05:20:53 +00:00

38 lines
834 B
Plaintext

$OpenBSD: patch-lmx_c,v 1.1 2008/08/21 05:20:53 ckuethe Exp $
--- lmx.c.orig Wed Jul 2 22:06:06 2008
+++ lmx.c Wed Jul 2 22:07:55 2008
@@ -31,7 +31,7 @@
static gbfile *ofd;
static waypoint *wpt_tmp;
-char *link, *linkt;
+char *linkx, *linkt;
#define MYNAME "lmx"
@@ -205,13 +205,13 @@ lmx_lm_desc(const char *args, const char **unused)
static void
lmx_lm_mlink_s(const char *args, const char **unused)
{
- link = linkt = NULL;
+ linkx = linkt = NULL;
}
static void
lmx_lm_link(const char *args, const char **unused)
{
- link = xstrdup(args);
+ linkx = xstrdup(args);
}
static void
@@ -223,7 +223,7 @@ lmx_lm_linkt(const char *args, const char **unused)
static void
lmx_lm_mlink_e(const char *args, const char **unused)
{
- waypt_add_url(wpt_tmp, link, linkt);
+ waypt_add_url(wpt_tmp, linkx, linkt);
}