From owner-freebsd-ports Mon Aug 17 19:40:05 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA16133 for freebsd-ports-outgoing; Mon, 17 Aug 1998 19:40:05 -0700 (PDT) (envelope-from owner-freebsd-ports@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA16123 for ; Mon, 17 Aug 1998 19:40:03 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id TAA22122; Mon, 17 Aug 1998 19:40:00 -0700 (PDT) Received: from catastrophe.gelemna.ft-wayne.in.us (fw5-1.fwi.com [209.84.173.197]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA14994 for ; Mon, 17 Aug 1998 19:31:21 -0700 (PDT) (envelope-from croyle@gelemna.ft-wayne.in.us) Received: from emerson.gelemna.ft-wayne.in.us (emerson.gelemna.ft-wayne.in.us [10.23.42.2]) by catastrophe.gelemna.ft-wayne.in.us (8.8.8/8.8.8) with ESMTP id VAA22377 for ; Mon, 17 Aug 1998 21:30:45 -0500 (EST) (envelope-from croyle@gelemna.ft-wayne.in.us) Received: (from croyle@localhost) by emerson.gelemna.ft-wayne.in.us (8.9.1/8.9.1) id VAA24608; Mon, 17 Aug 1998 21:30:44 -0500 (EST) (envelope-from croyle@gelemna.ft-wayne.in.us) Message-Id: <199808180230.VAA24608@emerson.gelemna.ft-wayne.in.us> Date: Mon, 17 Aug 1998 21:30:44 -0500 (EST) From: Don Croyle Reply-To: croyle@gelemna.ft-wayne.in.us To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: ports/7655: net/cnet doesn't build under -current (with fix) Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 7655 >Category: ports >Synopsis: net/cnet doesn't build under -current (with fix) >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Aug 17 19:40:00 PDT 1998 >Last-Modified: >Originator: Don Croyle >Organization: >Release: FreeBSD 3.0-CURRENT i386 >Environment: A current -current. >Description: Clash between errno as a structure member and the errno macro in errno.h. The build dies here: gcc -Wall -ansi -O -I/usr/X11R6/include -c address.c In file included from address.c:1: cnetheader.h:203: field `__error' declared as a function *** Error code 1 Stop. >How-To-Repeat: Build net/cnet on a system build with recent current sources. >Fix: Rename the problem structure members from errno to errorno throughout. While I was in the neighborhood, I also removed the manpage from the PLIST. Apply this patch. It adds two files: patches/patch-ab and patches/patch-ac. >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message