Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 372072 Details for
Bug 453396
net-irc/irssi with sys-libs/ncurses[tinfo] - .../work/irssi-0.8.15/src/fe-text/terminfo-core.c:281: undefined reference to `tputs'
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch that uses $PKG_CONFIG --libs-only-l ncursesw
irssi-0.8.15-tinfo.patch (text/plain), 2.25 KB, created by
Mark Wright
on 2014-03-08 12:32:00 UTC
(
hide
)
Description:
patch that uses $PKG_CONFIG --libs-only-l ncursesw
Filename:
MIME Type:
Creator:
Mark Wright
Created:
2014-03-08 12:32:00 UTC
Size:
2.25 KB
patch
obsolete
>--- irssi-0.8.15-orig/configure.in 2010-04-04 02:19:58.000000000 +1000 >+++ irssi-0.8.15/configure.in 2014-03-08 23:25:14.035107761 +1100 >@@ -356,6 +356,9 @@ > LIBS=$old_libs > else > AC_CHECK_LIB(tinfo, setupterm, [ >+ TEXTUI_LIBS="-ltinfow" >+ want_terminfo=yes >+ ], AC_CHECK_LIB(tinfo, setupterm, [ > TEXTUI_LIBS="-ltinfo" > want_terminfo=yes > ], AC_CHECK_LIB(termlib, tgetent, [ >@@ -367,7 +370,7 @@ > ], [ > AC_ERROR(Terminfo/termcap not found - install ncurses-devel package) > want_textui=no >- ]))) >+ ])))) > fi > AC_SUBST(TEXTUI_LIBS) > >--- irssi-0.8.15-orig/curses.m4 2010-04-04 02:19:58.000000000 +1000 >+++ irssi-0.8.15/curses.m4 2014-03-08 22:57:09.932553918 +1100 >@@ -95,6 +95,7 @@ > > AC_SUBST(CURSES_LIBS) > AC_SUBST(CURSES_INCLUDEDIR) >+ AC_SUBST(NCURSES_LIBS) > > AC_ARG_WITH(sco, > [ --with-sco Use this to turn on SCO-specific code],[ >@@ -131,7 +132,8 @@ > if test x$withval = xno ; then > search_ncurses=false > elif test x$withval != xyes ; then >- AC_NCURSES($withval/include, ncurses.h, -L$withval/lib -lncurses, -I$withval/include, "ncurses on $withval/include") >+ NCURSES_LIBS="`$PKG_CONFIG --libs-only-l ncursesw`" >+ AC_NCURSES($withval/include, ncurses.h, -L$withval/lib "$NCURSES_LIBS", -I$withval/include, "ncurses on $withval/include") > fi > ) > >@@ -210,10 +212,10 @@ > AC_MSG_RESULT(Found ncurses on $1/$2) > > CURSES_LIBS="$3" >- AC_CHECK_LIB(ncurses, initscr, [ >+ AC_CHECK_LIB(ncursesw, initscr, [ > true; > ], [ >- CHECKLIBS=`echo "$3"|sed 's/-lncurses/-lcurses/g'` >+ CHECKLIBS=`echo "$3"|sed 's/-lncursesw/-lcurses/g'` > AC_CHECK_LIB(curses, initscr, [ > CURSES_LIBS="$CHECKLIBS" > ],, $CHECKLIBS) >@@ -230,8 +232,14 @@ > ]) > > AC_DEFUN([AC_SEARCH_NCURSES], [ >+ AC_SUBST(NCURSES_LIBS) >+ AC_SUBST(NCURSES_INCLUDES) >+ NCURSES_LIBS=`$PKG_CONFIG --libs-only-l ncursesw` >+ NCURSES_INCLUDES=`$PKG_CONFIG --cflags-only-I ncursesw` > AC_CHECKING("location of ncurses.h file") > >+ AC_NCURSES($NCURSES_INCLUDES, ncurses.h, $NCURSES_LIBS,, >+ [ncurses in $NCURSES_INCLUDES]) > AC_NCURSES(/usr/include, ncurses.h, -lncurses,, > [ncurses in /usr/include]) > AC_NCURSES(/usr/include/ncurses, ncurses.h, -lncurses, -I/usr/include/ncurses,
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 453396
:
336382
|
340414
|
371532
|
371534
|
371854
|
371856
|
372072
|
372076
|
372078
|
372296