From owner-freebsd-ports Mon May 28 8:50: 5 2001 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 4C39F37B424 for ; Mon, 28 May 2001 08:50:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f4SFo2R08457; Mon, 28 May 2001 08:50:02 -0700 (PDT) (envelope-from gnats) Received: from camel1.ck.tp.edu.tw (camel1.ck.tp.edu.tw [203.64.26.6]) by hub.freebsd.org (Postfix) with ESMTP id A20C237B424 for ; Mon, 28 May 2001 08:40:13 -0700 (PDT) (envelope-from rafan@camel1.ck.tp.edu.tw) Received: (from rafan@localhost) by camel1.ck.tp.edu.tw (8.11.3/8.11.3) id f4SFcX900672; Mon, 28 May 2001 23:38:33 +0800 (CST) (envelope-from rafan) Message-Id: <200105281538.f4SFcX900672@camel1.ck.tp.edu.tw> Date: Mon, 28 May 2001 23:38:33 +0800 (CST) From: rafan@ck.tp.edu.tw Reply-To: rafan@ck.tp.edu.tw To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/27710: joe build fails Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 27710 >Category: ports >Synopsis: joe build fails >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon May 28 08:50:01 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Jung-an Fan >Release: FreeBSD 4.3-STABLE i386 >Organization: Taipei Chien-kuo Senior High School >Environment: System: FreeBSD camel1.ck.tp.edu.tw 4.3-STABLE FreeBSD 4.3-STABLE #4: Mon May 28 22:58:10 CST 2001 root@camel1.ck.tp.edu.tw:/usr/obj/usr/src/sys/camel i386 >Description: ===> Building for joe-2.8_3 cc conf.c -o conf ./conf /usr/local/lib 0 cc -O -pipe -c b.c In file included from b.c:28: config.h:57: conflicting types for `time' /usr/include/time.h:132: previous declaration of `time' b.c: In function `ttsig': b.c:2037: warning: passing arg 1 of `ctime' from incompatible pointer type *** Error code 1 >How-To-Repeat: cd /usr/ports/editors/joe make >Fix: src/sys/i386/include/ansi.h was changed at 2001.05.18 UTC MFC: Spell _BSD_TIME_T_ consistently as `int'. This will cause an error in ports/editors/joe/work/joe/conf.c (line 207,208) if(sizeof(long)==8) fprintf(f,"int time();\n"); else fprintf(f,"long time();\n"); We can manually edit ports/editors/joe/work/joe/config.h long time(); -> int time(); Thanks zmx.bbs@abpe.org for providing this solution :) >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message