Browse Source

Merge pull request #3888 from RussellSenior/fix-gpsd-ncurses-detection

gpsd: add ncurses6 support
lilik-openwrt-22.03
Hannu Nyman 8 years ago
committed by GitHub
parent
commit
9efeb29155
1 changed files with 13 additions and 0 deletions
  1. +13
    -0
      utils/gpsd/patches/0002-ncurses6_detection.patch

+ 13
- 0
utils/gpsd/patches/0002-ncurses6_detection.patch View File

@ -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'):

Loading…
Cancel
Save