mirror of
https://git.openwrt.org/feed/packages.git
synced 2024-06-15 03:43:53 +02:00
utils/gpsd: Backport ncurses6 support from master
Because gpsd FTBTS without this patch. Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
This commit is contained in:
parent
39544b626a
commit
18c7336d3a
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