utils/gpsd: refresh 0002-ncurses6_detection to 3.16 3895/head
authorPushpal Sidhu <psidhu.devel@gmail.com>
Mon, 23 Jan 2017 07:07:33 +0000 (23:07 -0800)
committerPushpal Sidhu <psidhu.devel@gmail.com>
Mon, 23 Jan 2017 07:07:33 +0000 (23:07 -0800)
Signed-off-by: Pushpal Sidhu <psidhu.devel@gmail.com>
utils/gpsd/patches/0002-ncurses6_detection.patch

index fc08179d64e8dc6adf0963857f2a61d7803b505e..7a1f409695fc827d7f99a2d87555a241a4bdfab6 100644 (file)
@@ -1,9 +1,11 @@
---- a/SConstruct
-+++ b/SConstruct
-@@ -541,6 +541,10 @@ else:
-     if env['ncurses']:
-         if config.CheckPKG('ncurses'):
+Index: gpsd-3.16/SConstruct
+===================================================================
+--- gpsd-3.16.orig/SConstruct
++++ gpsd-3.16/SConstruct
+@@ -543,6 +543,10 @@ else:
              ncurseslibs = pkg_config('ncurses')
+           if config.CheckPKG('tinfo'):
+               ncurseslibs += pkg_config('tinfo')
 +        elif WhereIs('ncurses6-config'):
 +            ncurseslibs = ['!ncurses6-config --libs --cflags']
 +        elif WhereIs('ncursesw6-config'):