ports/52289: comms/gnokii does not build under -CURRENT
Bruce M Simpson
bms at spc.org
Thu May 15 15:40:18 UTC 2003
>Number: 52289
>Category: ports
>Synopsis: comms/gnokii does not build under -CURRENT
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Thu May 15 08:40:15 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator: Bruce M Simpson
>Release: FreeBSD 5.1-BETA i386
>Organization:
>Environment:
System: FreeBSD saboteur.dek.spc.org 5.1-BETA FreeBSD 5.1-BETA #3: Fri May 9 08:06:22 BST 2003 root at saboteur.dollah.com:/usr/obj/usr/src/sys/SABOTEUR i386
>Description:
on -CURRENT (2003.05.08.00.00.00), the gnokii port does not build.
It fails due to a missing definition of the u_int type in
common/data/virtmodem.c, and utils/mgnokii.c. Both these files
include <sys/file.h> which requires u_int to be defined.
It should be noted both files contain the following:
#define _XOPEN_SOURCE 500
This appears to be required for gnokii to compile under Solaris
with the correct unlockpt() declaration,
>How-To-Repeat:
>Fix:
Inserting #define __BSD_VISIBLE 1 above the first attempt to directly
or indirectly #include <sys/types.h> means the u_int type is
picked up, but this is not a clean way to do things.
Also, #include <sys/file.h> does not pick up much on FreeBSD.
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list