summaryrefslogtreecommitdiff
path: root/package/gpsd/patches/patch-gpsd_h
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-04-06 15:55:26 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2010-04-06 15:55:26 +0200
commitfcae8b3c70e999b3433b22950121972316fb28a7 (patch)
treeeecf805f421d66b9181335e5f87247834a3f3a7f /package/gpsd/patches/patch-gpsd_h
parent2aa2990811a2dbdcf7e65ab04c9fda4756864121 (diff)
another round to remove python dependency
Diffstat (limited to 'package/gpsd/patches/patch-gpsd_h')
-rw-r--r--package/gpsd/patches/patch-gpsd_h42
1 files changed, 42 insertions, 0 deletions
diff --git a/package/gpsd/patches/patch-gpsd_h b/package/gpsd/patches/patch-gpsd_h
new file mode 100644
index 000000000..86912eac7
--- /dev/null
+++ b/package/gpsd/patches/patch-gpsd_h
@@ -0,0 +1,42 @@
+--- gpsd-2.92.orig/gpsd.h 2010-03-03 01:58:01.000000000 +0100
++++ gpsd-2.92/gpsd.h 2010-04-03 10:22:22.793473137 +0200
+@@ -137,7 +137,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
+@@ -161,7 +161,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
+@@ -226,10 +226,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 */
+@@ -329,7 +329,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