gpsd: add ncurses6 support
authorRussell Senior <redacted>
Fri, 20 Jan 2017 18:16:32 +0000 (10:16 -0800)
committerRussell Senior <redacted>
Fri, 20 Jan 2017 18:16:32 +0000 (10:16 -0800)
Signed-off-by: Russell Senior <redacted>
utils/gpsd/patches/0002-ncurses6_detection.patch [new file with mode: 0644]

diff --git a/utils/gpsd/patches/0002-ncurses6_detection.patch b/utils/gpsd/patches/0002-ncurses6_detection.patch
new file mode 100644 (file)
index 0000000..fc08179
--- /dev/null
@@ -0,0 +1,13 @@
+--- a/SConstruct
++++ b/SConstruct
+@@ -541,6 +541,10 @@ else:
+     if env['ncurses']:
+         if config.CheckPKG('ncurses'):
+             ncurseslibs = pkg_config('ncurses')
++        elif WhereIs('ncurses6-config'):
++            ncurseslibs = ['!ncurses6-config --libs --cflags']
++        elif WhereIs('ncursesw6-config'):
++            ncurseslibs = ['!ncursesw6-config --libs --cflags']
+         elif WhereIs('ncurses5-config'):
+             ncurseslibs = ['!ncurses5-config --libs --cflags']
+         elif WhereIs('ncursesw5-config'):
git clone https://git.99rst.org/PROJECT