From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Jul 21 21:10:04 2008 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 83DDA1065687 for ; Mon, 21 Jul 2008 21:10:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 476048FC19 for ; Mon, 21 Jul 2008 21:10:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m6LLA4Sw086177 for ; Mon, 21 Jul 2008 21:10:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m6LLA4c1086176; Mon, 21 Jul 2008 21:10:04 GMT (envelope-from gnats) Resent-Date: Mon, 21 Jul 2008 21:10:04 GMT Resent-Message-Id: <200807212110.m6LLA4c1086176@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, Hirohisa Yamaguchi Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BAEFB1065684 for ; Mon, 21 Jul 2008 21:07:50 +0000 (UTC) (envelope-from umq@ueo.co.jp) Received: from msa2-25.plala.or.jp (msa2.plala.or.jp [58.93.251.202]) by mx1.freebsd.org (Postfix) with ESMTP id 455E58FC13 for ; Mon, 21 Jul 2008 21:07:49 +0000 (UTC) (envelope-from umq@ueo.co.jp) Received: from eupheme.kaumoge.org ([118.16.78.22]) by msa2-25.plala.or.jp with ESMTP id <20080721210747.SCXA15520.msa2-25.plala.or.jp@eupheme.kaumoge.org> for ; Tue, 22 Jul 2008 06:07:47 +0900 Received: from calliope.kaumoge.org (calliope.kaumoge.org [192.168.24.120]) by eupheme.kaumoge.org (8.12.11/8.12.11/20030713) with ESMTP id m6LL89D4059682 for ; Tue, 22 Jul 2008 06:08:09 +0900 (JST) (envelope-from umq@ueo.co.jp) Message-Id: <86d4l7aqu4.wl%umq@ueo.co.jp> Date: Tue, 22 Jul 2008 06:07:47 +0900 From: Hirohisa Yamaguchi To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/125841: [patch] textproc/ispell 3.3.02_1 build error X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jul 2008 21:10:04 -0000 >Number: 125841 >Category: ports >Synopsis: [patch] textproc/ispell 3.3.02_1 build error >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Jul 21 21:10:03 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Hirohisa Yamaguchi >Release: FreeBSD 8.0-CURRENT amd64 >Organization: >Environment: System: FreeBSD calliope.****.org 8.0-CURRENT FreeBSD 8.0-CURRENT #17: Thu Jul 10 06:27:38 JST 2008 root@calliope.****.org:/usr/obj/usr/src/sys/CALLIOPE64 amd64 >Description: While I build textproc/ispell, I got following: cc -O2 -pipe -march=athlon64 -fno-strict-aliasing -c term.c In file included from term.c:97: /usr/include/sgtty.h:2:2: error: #error "The sgtty interface has been replaced by termios(4)" /usr/include/sgtty.h:3:2: error: #error "Try to use or migrate to " term.c: In function 'terminit': term.c:327: error: 'TIOCGETP' undeclared (first use in this function) term.c:327: error: (Each undeclared identifier is reported only once term.c:327: error: for each function it appears in.) term.c:333: error: 'sbuf' has an incomplete type term.c:334: error: invalid use of undefined type 'struct sgttyb' term.c:334: error: 'ECHO' undeclared (first use in this function) term.c:335: error: invalid use of undefined type 'struct sgttyb' term.c:335: error: 'CBREAK' undeclared (first use in this function) term.c:336: error: 'TIOCSETP' undeclared (first use in this function) term.c:338: error: invalid use of undefined type 'struct sgttyb' term.c:339: error: invalid use of undefined type 'struct sgttyb' term.c: In function 'done': term.c:382: error: 'TIOCSETP' undeclared (first use in this function) term.c: In function 'onstop': term.c:403: error: 'TIOCSETP' undeclared (first use in this function) term.c: In function 'shellescape': term.c:490: error: 'TIOCSETP' undeclared (first use in this function) term.c wouldn't compile. Try inverting USG in local.h *** Error code 1 Stop in /usr/ports/textproc/ispell/work/ispell-3.3.02. *** Error code 1 Stop in /usr/ports/textproc/ispell. >How-To-Repeat: # cd ports/textproc/ispell # make build >Fix: The patch follows cvs diff: Diffing . Index: patch-ispell.c =================================================================== RCS file: /home/ncvs/ports/textproc/ispell/files/patch-ispell.c,v retrieving revision 1.3 diff -p -u -r1.3 patch-ispell.c --- patch-ispell.c 21 Jul 2008 11:54:12 -0000 1.3 +++ patch-ispell.c 21 Jul 2008 20:55:56 -0000 @@ -63,10 +63,10 @@ } -#ifndef __bsdi__ -+#ifndef BSD_4_4 ++#ifndef BSD4_4 setbuf (stdout, outbuf); -#endif /* __bsdi__ */ -+#endif /* BSD_4_4 */ ++#endif /* BSD4_4 */ if (lflag) { infile = setupdefmt(NULL, NULL); Index: patch-term.c =================================================================== RCS file: /home/ncvs/ports/textproc/ispell/files/patch-term.c,v retrieving revision 1.2 diff -p -u -r1.2 patch-term.c --- patch-term.c 21 Jul 2008 11:54:12 -0000 1.2 +++ patch-term.c 21 Jul 2008 20:55:57 -0000 @@ -4,7 +4,7 @@ #include "ispell.h" #include "proto.h" #include "msgs.h" -+#ifdef BSD_4_4 ++#ifdef BSD4_4 +#define USG +#endif #ifdef USG >Release-Note: >Audit-Trail: >Unformatted: