Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.1:Update
gpsbabel
gpsbabel-1.3.5-link-clash.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gpsbabel-1.3.5-link-clash.patch of Package gpsbabel
Prevent 'link' symbol clashes: lmx.c:34: error: 'link' redeclared as different kind of symbol /usr/include/unistd.h:756: error: previous declaration of 'link' was here --- lmx.c +++ lmx.c @@ -31,7 +31,7 @@ static gbfile *ofd; static waypoint *wpt_tmp; -char *link, *linkt; +char *linkurl, *linkt; #define MYNAME "lmx" @@ -205,13 +205,13 @@ static void lmx_lm_mlink_s(const char *args, const char **unused) { - link = linkt = NULL; + linkurl = linkt = NULL; } static void lmx_lm_link(const char *args, const char **unused) { - link = xstrdup(args); + linkurl = xstrdup(args); } static void @@ -223,7 +223,7 @@ static void lmx_lm_mlink_e(const char *args, const char **unused) { - waypt_add_url(wpt_tmp, link, linkt); + waypt_add_url(wpt_tmp, linkurl, linkt); }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor