mirror of
https://git.openwrt.org/feed/packages.git
synced 2024-06-14 19:33:59 +02:00
Merge pull request #4300 from mrnuke/for-17.01-gpsd
utils/gpsd: Backport ncurses6 support from master
This commit is contained in:
commit
d99ed231be
15
utils/gpsd/patches/0002-ncurses6_detection.patch
Normal file
15
utils/gpsd/patches/0002-ncurses6_detection.patch
Normal file
|
@ -0,0 +1,15 @@
|
|||
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'):
|
||||
+ ncurseslibs = ['!ncursesw6-config --libs --cflags']
|
||||
elif WhereIs('ncurses5-config'):
|
||||
ncurseslibs = ['!ncurses5-config --libs --cflags']
|
||||
elif WhereIs('ncursesw5-config'):
|
Loading…
Reference in New Issue
Block a user