diff options
Diffstat (limited to 'package/gpsd/patches/patch-gpsd_config_h')
-rw-r--r-- | package/gpsd/patches/patch-gpsd_config_h | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/package/gpsd/patches/patch-gpsd_config_h b/package/gpsd/patches/patch-gpsd_config_h new file mode 100644 index 000000000..dbc0c7b12 --- /dev/null +++ b/package/gpsd/patches/patch-gpsd_config_h @@ -0,0 +1,42 @@ +--- gpsd-2.92.orig/gpsd_config.h 2010-03-03 01:58:01.000000000 +0100 ++++ gpsd-2.92/gpsd_config.h 2010-04-03 10:22:22.423474030 +0200 +@@ -117,7 +117,7 @@ + #define HAVE_PYTHON_H 1 + + /* Define to 1 if you have the `round' function. */ +-/* #undef HAVE_ROUND */ ++#define HAVE_ROUND 1 + + /* Define to 1 if you have the `setlocale' function. */ + #define HAVE_SETLOCALE 1 +@@ -141,7 +141,7 @@ + /* #undef HAVE_STRLCPY */ + + /* Define to 1 if you have the `strtonum' function. */ +-/* #undef HAVE_STRTONUM */ ++#define HAVE_STRTONUM 1 + + /* Define to 1 if `struct tm' is a member of `tm_zone'. */ + #define HAVE_STRUCT_TM_TM_ZONE 1 +@@ -206,10 +206,10 @@ + #define HAVE_VSNPRINTF 1 + + /* Define to 1 if you have the <X11/xpm.h> header file. */ +-#define HAVE_X11_XPM_H 1 ++/* #undef HAVE_X11_XPM_H */ + + /* Xpm available */ +-#define HAVE_XPM 1 ++/* #undef HAVE_XPM */ + + /* Define to 1 if you have the <xpm.h> header file. */ + /* #undef HAVE_XPM_H */ +@@ -309,7 +309,7 @@ + #define SIZEOF_INT 4 + + /* The size of `long', as computed by sizeof. */ +-#define SIZEOF_LONG 8 ++#define SIZEOF_LONG 4 + + /* The size of `long long', as computed by sizeof. */ + #define SIZEOF_LONG_LONG 8 |