Package: garmin-forerunner-tools / 0.10repacked-11

Metadata

Package Version Patches format
garmin-forerunner-tools 0.10repacked-11 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
output_laps_hr_cad_in_gpx.patch | (download)

src/garmin_gpx.c | 187 151 + 36 - 0 !
1 file changed, 151 insertions(+), 36 deletions(-)

 output laps, hr and cad (heart rate and cadence) into gpx file
hurd_no_path_max | (download)

src/run.c | 12 12 + 0 - 0 !
1 file changed, 12 insertions(+)

 do not use path_max on hurd

exit_on_unpack_failure | (download)

src/unpack.c | 6 4 + 2 - 0 !
1 file changed, 4 insertions(+), 2 deletions(-)

 garmin_unpack_chunk exits when unexpected data is found.

Bug: #715938, #715939, #715940, #715941

gcc4.8 | (download)

src/garmin.h | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 fix the size of data in garmin_packet. this caused 
  a segmentation fault when compiled with gcc4.8

Bug: #720710

python_dir_from_upstream.patch | (download)

python/Makefile.am | 12 12 + 0 - 0 !
python/Makefile.in | 339 339 + 0 - 0 !
python/garmintools/__init__.py | 5 5 + 0 - 0 !
python/pygarmin.c | 332 332 + 0 - 0 !
python/setup.py | 49 49 + 0 - 0 !
5 files changed, 737 insertions(+)

---
libusb 1.0.patch | (download)

configure.ac | 11 4 + 7 - 0 !
src/garmin.h | 4 2 + 2 - 0 !
src/usb_comm.c | 166 97 + 69 - 0 !
3 files changed, 103 insertions(+), 78 deletions(-)

 switch to libusb-1.0

Bug: #810414

missing prototypes | (download)

src/garmin_gchart.c | 1 1 + 0 - 0 !
src/garmin_get_info.c | 1 1 + 0 - 0 !
src/garmin_gmap.c | 1 1 + 0 - 0 !
src/garmin_gpx.c | 1 1 + 0 - 0 !
src/pack.c | 2 2 + 0 - 0 !
src/run.c | 2 2 + 0 - 0 !
src/unpack.c | 1 1 + 0 - 0 !
src/usb_comm.c | 1 1 + 0 - 0 !
8 files changed, 10 insertions(+)

 include missing headers to ensure proper declarations
 garmin-forerunner-tools uses several standard C functions without including
 the proper headers needed to pick up their declarations.  Some of these
 functions return pointers.  Failure to include the headers means the
 return type is assumed to be an int, which means the pointer is implicitly
 cast to an int, losing data on 64-bit architectures.
816314_fix.patch | (download)

src/usb_comm.c | 35 18 + 17 - 0 !
1 file changed, 18 insertions(+), 17 deletions(-)

---