0
0
mirror of https://github.com/openwrt/packages.git synced 2025-02-12 03:28:07 +00:00
packages/utils/gpsd/patches/0002-ncurses6_detection.patch
Nick Hainke 234b435725 gpsd: update to 3.25
Release Information:
https://gitlab.com/gpsd/gpsd/-/blob/release-3.25/NEWS?ref_type=tags

Remove the backport that is now contained in the release:
- 003_sconscript-cross-platform-build-support.patch

Latest olsrd version needs this bump.

Signed-off-by: Nick Hainke <vincent@systemli.org>
2023-06-12 16:01:53 +02:00

12 lines
511 B
Diff

--- a/SConscript
+++ b/SConscript
@@ -1118,6 +1118,8 @@ if not cleaning and not helping:
ncurseslibs += pkg_config('tinfo', rpath_hack=True)
# It's not yet known whether rpath_hack is appropriate for
# ncurses5-config.
+ elif WhereIs('ncursesw6-config'):
+ ncurseslibs = ['!ncursesw6-config --libs --cflags']
elif WhereIs('ncurses5-config'):
ncurseslibs = ['!ncurses5-config --libs --cflags']
elif WhereIs('ncursesw5-config'):