utils/gpsd: Update to 3.17
[feed/packages.git] / utils / gpsd / patches / 0002-ncurses6_detection.patch
1 Index: gpsd-3.16/SConstruct
2 ===================================================================
3 --- gpsd-3.16.orig/SConstruct
4 +++ gpsd-3.16/SConstruct
5 @@ -672,6 +672,10 @@ else:
6 ncurseslibs += pkg_config('tinfo', rpath_hack=True)
7 # It's not yet known whether rpath_hack is appropriate for
8 # ncurses5-config.
9 + elif WhereIs('ncurses6-config'):
10 + ncurseslibs = ['!ncurses6-config --libs --cflags']
11 + elif WhereIs('ncursesw6-config'):
12 + ncurseslibs = ['!ncursesw6-config --libs --cflags']
13 elif WhereIs('ncurses5-config'):
14 ncurseslibs = ['!ncurses5-config --libs --cflags']
15 elif WhereIs('ncursesw5-config'):