From 418d5390b9fa1402ae12fa6f12253e2dd270dbf9 Mon Sep 17 00:00:00 2001 From: Russell Senior Date: Fri, 20 Jan 2017 10:16:32 -0800 Subject: [PATCH] gpsd: add ncurses6 support Signed-off-by: Russell Senior --- utils/gpsd/patches/0002-ncurses6_detection.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 utils/gpsd/patches/0002-ncurses6_detection.patch diff --git a/utils/gpsd/patches/0002-ncurses6_detection.patch b/utils/gpsd/patches/0002-ncurses6_detection.patch new file mode 100644 index 0000000000..fc08179d64 --- /dev/null +++ b/utils/gpsd/patches/0002-ncurses6_detection.patch @@ -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'):