pkgsrc-Bugs archive

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

pkg/45540: comms/minicom fails to build



>Number:         45540
>Category:       pkg
>Synopsis:       comms/minicom fails to build
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Oct 29 19:30:00 +0000 2011
>Originator:     Francois Tigeot
>Release:        DragonFly 2.13-DEVELOPMENT
>Organization:
>Environment:
DragonFly sekishi.zefyris.com 2.13-DEVELOPMENT DragonFly 
v2.13.0.154.g64af72-DEVELOPMENT #19: Sat Oct 29 11:08:17 CEST 2011     
ftigeot%sekishi.zefyris.com@localhost:/usr/obj/usr/src/sys/X86_64_GENERIC  
x86_64
>Description:
comms/minicom from 2011Q3 fails to build with this error:

In file included from getsdir.c:31:
getsdir.h:31: error: 'MAXNAMLEN' undeclared here (not in a function)

>How-To-Repeat:
Try to build the 2011Q3 version of comms/minicom on a DragonFly system
>Fix:
getsdir.c is beeing modified by patch-ah to use NAME_MAX

patch-ah has been recently changed and no longer includes a header
defining the needed constant

Modifying patch-ah to add a #include <sys/syslimits.h> line in src/getsdir.h 
fixes the problem.



Home | Main Index | Thread Index | Old Index