1
0

0002-ncurses6_detection.patch 663 B

123456789101112131415
  1. Index: gpsd-3.16/SConstruct
  2. ===================================================================
  3. --- gpsd-3.16.orig/SConstruct
  4. +++ gpsd-3.16/SConstruct
  5. @@ -543,6 +543,10 @@ else:
  6. ncurseslibs = pkg_config('ncurses')
  7. if config.CheckPKG('tinfo'):
  8. ncurseslibs += pkg_config('tinfo')
  9. + elif WhereIs('ncurses6-config'):
  10. + ncurseslibs = ['!ncurses6-config --libs --cflags']
  11. + elif WhereIs('ncursesw6-config'):
  12. + ncurseslibs = ['!ncursesw6-config --libs --cflags']
  13. elif WhereIs('ncurses5-config'):
  14. ncurseslibs = ['!ncurses5-config --libs --cflags']
  15. elif WhereIs('ncursesw5-config'):