diff options
Diffstat (limited to 'media-radio/ax25-apps/files/ax25-apps-0.0.8_rc5-tinfo.patch')
-rw-r--r-- | media-radio/ax25-apps/files/ax25-apps-0.0.8_rc5-tinfo.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/media-radio/ax25-apps/files/ax25-apps-0.0.8_rc5-tinfo.patch b/media-radio/ax25-apps/files/ax25-apps-0.0.8_rc5-tinfo.patch new file mode 100644 index 000000000000..7c49d6cbb942 --- /dev/null +++ b/media-radio/ax25-apps/files/ax25-apps-0.0.8_rc5-tinfo.patch @@ -0,0 +1,14 @@ +# fix tinfo handling (bug 529776) +diff --git a/configure.ac b/configure.ac +index 0c4398a..097d1bd 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -18,7 +18,7 @@ dnl Checks for libraries. + AC_SUBST(AX25_LIB) + AC_SUBST(NCURSES_LIB) + AC_CHECK_LIB(ax25, ax25_config_load_ports, AX25_LIB="-lax25", AC_MSG_ERROR(Could not find the libax25 libraries; aborting)) +-AC_CHECK_LIB(ncursesw, initscr,NCURSES_LIB="-lncursesw", AC_MSG_ERROR(Could not find the ncursesw library; aborting)) ++PKG_CHECK_MODULES(ncursesw, ncursesw, [NCURSES_LIB="$ncursesw_LIBS"], AC_MSG_ERROR(Could not find the ncursesw library; aborting)) + + dnl Checks for working glibc 2.1 headers + AC_CHECK_TYPES([struct ax25_fwd_struct], [], |