Files
OpenIPMI/openipmi-tinfo.patch
Thomas Renninger 18b0eccea5 Accepting request 979226 from home:trenn:branches:systemsmanagement
- Update to version 2.0.32.3+git.05faa36e:
  * entity: Handle NULL entity in internal_fru_fetch_done()
  * entity: Keep the entity around duringa FRU fetch
  * Move to version 2.0.32
  * Fix readline and python support
  * sol: Fix multiple flush queuing issue
- Patches that are mainline:
D    fix-conversions.patch
D    unix_thread-Remove-the-fd-handler-sets-before-it-s-set-up.patch
D    lanserv-Add-the-judgment-on-the-validity-of-length-in-emu_cmd.c-and-session-in-lanserv_ipmi.c.patch
- Refreshed patches not yet mainline:
M    openipmi-tinfo.patch
M    fix_dia_version_detection.patch

OBS-URL: https://build.opensuse.org/request/show/979226
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/OpenIPMI?expand=0&rev=71
2022-05-25 15:35:44 +00:00

20 lines
981 B
Diff

Index: openipmi-2.0.32.3+git.05faa36e/configure.ac
===================================================================
--- openipmi-2.0.32.3+git.05faa36e.orig/configure.ac
+++ openipmi-2.0.32.3+git.05faa36e/configure.ac
@@ -777,10 +777,12 @@ AX_CONFIG_FEATURE(
[epoll_pwait], [This platform supports epoll(7) with epoll_pwait(2)],
[HAVE_EPOLL_PWAIT], [This platform supports epoll(7) with epoll_pwait(2).])
-AC_CHECK_LIB(curses, tgetent, TERM_LIBS=-lcurses,
+PKG_CHECK_MODULES(ncurses, ncurses, TERM_LIBS=$ncurses_LIBS,
+ [AC_CHECK_LIB(tinfo, tgetent, TERM_LIBS=-ltinfo,
+ [AC_CHECK_LIB(curses, tgetent, TERM_LIBS=-lcurses,
[AC_CHECK_LIB(ncursesw, tgetent, TERM_LIBS=-lncursesw,
[AC_CHECK_LIB(ncurses, tgetent, TERM_LIBS=-lncurses,
- [AC_MSG_ERROR([libtermcap, libcurses or libncurses are required!])])] )] )
+ [AC_MSG_ERROR([libtinfo, libtermcap, libcurses or libncurses are required!])])] )] )] )] )
AC_SUBST(TERM_LIBS)
AC_CHECK_FUNCS(cfmakeraw)