diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2014-04-02 07:37:27 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2014-04-02 07:37:27 +0200 |
commit | 7236e468162b3af51c0acecad10fbef1838c06ad (patch) | |
tree | 9c8027cf769aaa7ef7f0a6330b34d7666238b920 /package/gpsd/patches | |
parent | a691abc857458de0023f5e532feee866af0218ed (diff) | |
parent | 309f13ab6858e1c1639814e210a6c86380ca717b (diff) |
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/gpsd/patches')
-rw-r--r-- | package/gpsd/patches/patch-gpsmon_c | 13 |
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); |