pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/51911: misc/screen fails on Solaris



>Number:         51911
>Category:       pkg
>Synopsis:       misc/screen fails on Solaris
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jan 23 14:30:00 +0000 2017
>Originator:     Joern Clausen
>Release:        
>Organization:
University of Bielefeld
>Environment:
>Description:
The latest version of misc/screen (4.5) fails on Solaris with

gcc -c -I. -I.  -D_XOPEN_SOURCE=500 -D__EXTENSIONS__ -I/opt/pkg-hrz/20170105/include/ncurses -DETCSCREENRC='"/opt/pkg-hrz/20170105/etc/screenrc"'  -DSCREENENCODINGS='"/opt/pkg-hrz/20170105/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\"   -O2 -I/opt/pkg-hrz/20170105/include/ncurses screen.c
screen.c: In function 'main':
screen.c:674:43: error: 'PATH_MAX' undeclared (first use in this function)
               if (strlen(screenlogfile) > PATH_MAX)
                                           ^

>How-To-Repeat:

>Fix:
Solaris defines PATH_MAX in /usr/include/limits.h



Home | Main Index | Thread Index | Old Index