Skip to content

Instantly share code, notes, and snippets.

@powellnathanj
Created September 9, 2010 11:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save powellnathanj/571781 to your computer and use it in GitHub Desktop.
Save powellnathanj/571781 to your computer and use it in GitHub Desktop.
*** ../garmintools-read-only.a/configure Thu Sep 9 11:43:24 2010
--- configure Thu Sep 9 11:46:05 2010
***************
*** 21083,21096 ****
fi
! if test -n "${LIBUSB_CONFIG}"; then
! USB_LIBS="`$LIBUSB_CONFIG --libs`"
! USB_CFLAGS="`$LIBUSB_CONFIG --cflags`"
! else
! { { echo "$as_me:$LINENO: error: cannot build garmintools without libusb" >&5
! echo "$as_me: error: cannot build garmintools without libusb" >&2;}
! { (exit 1); exit 1; }; }
! fi
# Checks for python
--- 21083,21096 ----
fi
! #if test -n "${LIBUSB_CONFIG}"; then
! USB_LIBS="-L/usr/lib -lusb"
! USB_CFLAGS=""
! #else
! # { { echo "$as_me:$LINENO: error: cannot build garmintools without libusb" >&5
! #echo "$as_me: error: cannot build garmintools without libusb" >&2;}
! # { (exit 1); exit 1; }; }
! #fi
# Checks for python
*** ../garmintools-read-only.a/src/run.c Thu Sep 9 12:05:20 2010
--- src/run.c Thu Sep 9 12:03:29 2010
***************
*** 22,28 ****
#include <string.h>
#include <errno.h>
#include "garmin.h"
!
int
get_run_track_lap_info ( garmin_data * run,
--- 22,28 ----
#include <string.h>
#include <errno.h>
#include "garmin.h"
! #include <unistd.h>
int
get_run_track_lap_info ( garmin_data * run,
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment