packages/utils/gpsd/patches/0002-ncurses6_detection.patch
Paul Wassi 2eb973c573 utils/gpsd: Update to 3.17
Update to upstream release 3.17 and refresh patch.

Signed-off-by: Paul Wassi <p.wassi@gmx.at>
2018-04-02 10:28:24 +02:00

15 lines
706 B
Diff

Index: gpsd-3.16/SConstruct
===================================================================
--- gpsd-3.16.orig/SConstruct
+++ gpsd-3.16/SConstruct
@@ -672,6 +672,10 @@ else:
ncurseslibs += pkg_config('tinfo', rpath_hack=True)
# It's not yet known whether rpath_hack is appropriate for
# ncurses5-config.
+ 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'):