From: Russell Senior Date: Fri, 20 Jan 2017 18:16:32 +0000 (-0800) Subject: gpsd: add ncurses6 support X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=418d5390b9fa1402ae12fa6f12253e2dd270dbf9;p=openwrt-packages.git gpsd: add ncurses6 support Signed-off-by: Russell Senior --- diff --git a/utils/gpsd/patches/0002-ncurses6_detection.patch b/utils/gpsd/patches/0002-ncurses6_detection.patch new file mode 100644 index 000000000..fc08179d6 --- /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'):