From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Dec 28 14:50:01 2007 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 16AF716A469 for ; Fri, 28 Dec 2007 14:50:01 +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 D96C113C4D5 for ; Fri, 28 Dec 2007 14:50:00 +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 lBSEo0B3015444 for ; Fri, 28 Dec 2007 14:50:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id lBSEo0kR015443; Fri, 28 Dec 2007 14:50:00 GMT (envelope-from gnats) Resent-Date: Fri, 28 Dec 2007 14:50:00 GMT Resent-Message-Id: <200712281450.lBSEo0kR015443@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, Ed Schouten Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2A87C16A417 for ; Fri, 28 Dec 2007 14:49:11 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: from palm.hoeg.nl (mx0.hoeg.nl [IPv6:2001:610:652::211]) by mx1.freebsd.org (Postfix) with ESMTP id B820213C465 for ; Fri, 28 Dec 2007 14:49:10 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: by palm.hoeg.nl (Postfix, from userid 1000) id 6AA6A1CCD9; Fri, 28 Dec 2007 15:47:05 +0100 (CET) Message-Id: <20071228144705.6AA6A1CCD9@palm.hoeg.nl> Date: Fri, 28 Dec 2007 15:47:05 +0100 (CET) From: Ed Schouten To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/119104: [Patch] japanese/kterm: fix build without sgtty.h X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Ed Schouten List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Dec 2007 14:50:01 -0000 >Number: 119104 >Category: ports >Synopsis: [Patch] japanese/kterm: fix build without sgtty.h >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Dec 28 14:50:00 UTC 2007 >Closed-Date: >Last-Modified: >Originator: Ed Schouten >Release: FreeBSD 6.3-PRERELEASE i386 >Organization: >Environment: System: FreeBSD palm.hoeg.nl 6.3-PRERELEASE FreeBSD 6.3-PRERELEASE #0: Wed Dec 19 16:07:46 CET 2007 ed@palm.hoeg.nl:/usr/obj/usr/src/sys/PALM i386 >Description: The kterm port already downloads a patch for termios support, but the file main.c still includes sgtty in a single place, which will cause errors if sgtty.h would be removed. >How-To-Repeat: >Fix: The following patch extends the patch to main.c to only include sgtty.h when we build without termios support. --- japanese/kterm/files/patch-main.c 2006-06-21 08:54:43.000000000 +0200 +++ japanese/kterm/files/patch-main.c 2007-12-28 15:46:37.000000000 +0100 @@ -10,6 +10,15 @@ #include #endif #ifdef sco +@@ -236,7 +238,7 @@ + #define HAS_UTMP_UT_HOST + #endif + #else /* } !SYSV { */ /* BSD systems */ +-#ifndef linux ++#if !defined(linux) && !defined(USE_POSIX_TERMIOS) + #include + #endif + #include @@ -1355,6 +1357,8 @@ d_tio.c_cc[VDISCARD] = CFLUSH; d_tio.c_cc[VWERASE] = CWERASE; >Release-Note: >Audit-Trail: >Unformatted: