Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 368088 Details for
Bug 459512
dev-lang/ocaml with sys-libs/ncurses[tinfo] - .../work/ocaml-4.00.1/byterun/terminfo.c:54: undefined reference to `tgetent'
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
ocaml-4.01.0-pkg-config-ncurses.patch
ocaml-4.01.0-pkg-config-ncurses.patch (text/plain), 675 bytes, created by
Mark Wright
on 2014-01-18 13:06:40 UTC
(
hide
)
Description:
ocaml-4.01.0-pkg-config-ncurses.patch
Filename:
MIME Type:
Creator:
Mark Wright
Created:
2014-01-18 13:06:40 UTC
Size:
675 bytes
patch
obsolete
>--- ocaml-4.01.0-orig/configure 2013-08-23 16:22:36.000000000 +1000 >+++ ocaml-4.01.0/configure 2014-01-18 20:06:50.669644267 +1100 >@@ -892,7 +892,11 @@ > # For the terminfo module > > if test "$withcurses" = "yes"; then >- for libs in "" "-lcurses" "-ltermcap" "-lcurses -ltermcap" "-lncurses"; do >+ ncurseslibs="" >+ if pkg-config --exists ncurses 2>/dev/null; then >+ ncurseslibs=`pkg-config --libs ncurses` >+ fi >+ for libs in "${ncurseslibs}" "-lcurses" "-ltermcap" "-lcurses -ltermcap" "-lncurses"; do > if sh ./hasgot $libs tgetent tgetstr tgetnum tputs; then > echo "termcap functions found (with libraries '$libs')" > echo "#define HAS_TERMCAP" >> s.h
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 459512
:
340326
|
368088
|
387868