Date: Thu, 15 May 2003 16:32:13 +0100 (BST) From: Bruce M Simpson <bms@spc.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/52289: comms/gnokii does not build under -CURRENT Message-ID: <20030515153213.D18AA882@saboteur.dek.spc.org> Resent-Message-ID: <200305151540.h4FFeG64086469@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030515153213.D18AA882>