Browse Source

utils/gpsd: refresh 0002-ncurses6_detection to 3.16

Signed-off-by: Pushpal Sidhu <psidhu.devel@gmail.com>
lilik-openwrt-22.03
Pushpal Sidhu 8 years ago
parent
commit
56870f42ec
1 changed files with 7 additions and 5 deletions
  1. +7
    -5
      utils/gpsd/patches/0002-ncurses6_detection.patch

+ 7
- 5
utils/gpsd/patches/0002-ncurses6_detection.patch View 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'):


Loading…
Cancel
Save