summaryrefslogtreecommitdiff
path: root/package/gpsd/patches/patch-gpsmon_c
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-03-16 19:52:45 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2014-03-16 19:52:45 +0100
commitaaa312e56871e89b97704e5ac8c686fe7966c122 (patch)
tree63f6a6c3e89152025de942a0e68153a5cb868ecb /package/gpsd/patches/patch-gpsmon_c
parent9d097a780c0ffe2c9dbe146046d5b68123c47708 (diff)
parentb1e843d40eea9bc684436f4635018b7c19eb93ea (diff)
Merge branch 'master' of git+ssh://www.openadk.org/git/openadk
Conflicts: TODO
Diffstat (limited to 'package/gpsd/patches/patch-gpsmon_c')
-rw-r--r--package/gpsd/patches/patch-gpsmon_c13
1 files changed, 13 insertions, 0 deletions
diff --git a/package/gpsd/patches/patch-gpsmon_c b/package/gpsd/patches/patch-gpsmon_c
new file mode 100644
index 000000000..ac52866d0
--- /dev/null
+++ b/package/gpsd/patches/patch-gpsmon_c
@@ -0,0 +1,13 @@
+--- gpsd-3.10.orig/gpsmon.c 2013-11-21 09:57:44.000000000 +0100
++++ gpsd-3.10/gpsmon.c 2014-03-16 09:08:34.000000000 +0100
+@@ -505,6 +505,10 @@ static /*@null@*/ char *curses_get_comma
+ static char line[80];
+ int c;
+
++#ifndef __GLIBC__
++#define CTRL(x) (x&037)
++#endif
++
+ c = wgetch(cmdwin);
+ if (c == CTRL('L')) {
+ (void)clearok(stdscr, true);