X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?p=pintos-anon;a=blobdiff_plain;f=src%2Fmisc%2Fbochs-2.6.11-link-tinfo.patch;fp=src%2Fmisc%2Fbochs-2.6.11-link-tinfo.patch;h=ea138d0a8a953b85f6a3a368ceabcc8f5dff0f81;hp=0000000000000000000000000000000000000000;hb=9f013d0930202eea99c21083b71098a0df64be0d;hpb=85da529909adac7ed00861d259001b124cd5b54f diff --git a/src/misc/bochs-2.6.11-link-tinfo.patch b/src/misc/bochs-2.6.11-link-tinfo.patch new file mode 100644 index 0000000..ea138d0 --- /dev/null +++ b/src/misc/bochs-2.6.11-link-tinfo.patch @@ -0,0 +1,22 @@ +diff -ru bochs-2.6.11.dist/configure bochs-2.6.11/configure +--- bochs-2.6.11.dist/configure 2020-01-04 23:37:34.155348000 -0800 ++++ bochs-2.6.11/configure 2021-01-17 17:30:01.878741469 -0800 +@@ -25331,7 +25331,7 @@ + $as_echo_n "(cached) " >&6 + else + ac_check_lib_save_LIBS=$LIBS +-LIBS="-lncurses $LIBS" ++LIBS="-lncurses -ltinfo $LIBS" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + +@@ -25523,7 +25523,7 @@ + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ncurses_mvaddch" >&5 + $as_echo "$ac_cv_lib_ncurses_mvaddch" >&6; } + if test "x$ac_cv_lib_ncurses_mvaddch" = xyes; then : +- GUI_LINK_OPTS_TERM='-lncurses' ++ GUI_LINK_OPTS_TERM='-lncurses -ltinfo' + fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mvaddch in -ltermlib" >&5 +Only in bochs-2.6.11: configure.orig