From owner-freebsd-ports-bugs@FreeBSD.ORG Thu May 15 08:40:18 2003 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 08FF237B4F3 for ; Thu, 15 May 2003 08:40:17 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 540DF43FAF for ; Thu, 15 May 2003 08:40:16 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h4FFeGUp086470 for ; Thu, 15 May 2003 08:40:16 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h4FFeG64086469; Thu, 15 May 2003 08:40:16 -0700 (PDT) Resent-Date: Thu, 15 May 2003 08:40:16 -0700 (PDT) Resent-Message-Id: <200305151540.h4FFeG64086469@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Bruce M Simpson Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 53FF537B401 for ; Thu, 15 May 2003 08:32:22 -0700 (PDT) Received: from bigboy.spc.org (dolly.good1.com [195.206.69.225]) by mx1.FreeBSD.org (Postfix) with ESMTP id 24C6843F75 for ; Thu, 15 May 2003 08:32:19 -0700 (PDT) (envelope-from bms@spc.org) Received: from saboteur.dek.spc.org (unknown [81.3.72.88]) by bigboy.spc.org (Postfix) with ESMTP id A4C443260 for ; Thu, 15 May 2003 16:34:50 +0100 (BST) Received: by saboteur.dek.spc.org (Postfix, from userid 1001) id D18AA882; Thu, 15 May 2003 16:32:13 +0100 (BST) Message-Id: <20030515153213.D18AA882@saboteur.dek.spc.org> Date: Thu, 15 May 2003 16:32:13 +0100 (BST) From: Bruce M Simpson To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/52289: comms/gnokii does not build under -CURRENT X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Bruce M Simpson List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 May 2003 15:40:18 -0000 >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 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 means the u_int type is picked up, but this is not a clean way to do things. Also, #include does not pick up much on FreeBSD. >Release-Note: >Audit-Trail: >Unformatted: