From owner-freebsd-ports Fri Feb 25 8:30: 8 2000 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 090B737BE7F for ; Fri, 25 Feb 2000 08:30:02 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id IAA68234; Fri, 25 Feb 2000 08:30:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from mail0.iij.ad.jp (mail0.iij.ad.jp [202.232.2.113]) by hub.freebsd.org (Postfix) with ESMTP id 3CADF37BEC6 for ; Fri, 25 Feb 2000 08:23:15 -0800 (PST) (envelope-from kogane@koganemaru.co.jp) Received: from uucp2.iij.ad.jp (uucp2.iij.ad.jp [202.232.2.202]) by mail0.iij.ad.jp (8.8.8/3.7W-MAIL) with SMTP id BAA26868 for ; Sat, 26 Feb 2000 01:23:13 +0900 (JST) Received: (from uucp@localhost) by uucp2.iij.ad.jp (8.6.12+2.4W/3.3W9-UUCP) with UUCP id BAA10691 for FreeBSD-gnats-submit@freebsd.org; Sat, 26 Feb 2000 01:23:13 +0900 Received: (from kogane@localhost) by kces.koganemaru.co.jp (8.8.8/3.6W-) id BAA00572; Sat, 26 Feb 2000 01:25:22 +0900 (JST) Message-Id: <200002251625.BAA00572@kces.koganemaru.co.jp> Date: Sat, 26 Feb 2000 01:25:22 +0900 (JST) From: Nobuyuki Koganemaru Reply-To: kogane@koganemaru.co.jp To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/16986: mtools-3.9.6 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 16986 >Category: ports >Synopsis: mtools-3.9.6 >Confidential: yes >Severity: serious >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Feb 25 08:30:00 PST 2000 >Closed-Date: >Last-Modified: >Originator: Nobuyuki Koganemaru >Release: FreeBSD 2.2.8-RELEASE i386 >Organization: >Environment: FreeBSD 2.2.8-RELEASE i386 >Description: mtools-3.9.6 package can't compile at 2.2-stable >How-To-Repeat: >Fix: --- mtools-3.9.6/scsi.c.orig Tue Mar 16 03:11:18 1999 +++ mtools-3.9.6/scsi.c Sat Feb 26 00:48:35 2000 @@ -49,7 +49,7 @@ #include #endif -#if (defined(OS_freebsd)) && (__FreeBSD__ >= 2) +#if (defined(OS_freebsd)) && (__FreeBSD__ >= 3) #include #endif @@ -64,7 +64,7 @@ int scsi_open(const char *name, int flag, int mode, void **extra_data) { -#if (defined(OS_freebsd)) && (__FreeBSD__ >= 2) +#if (defined(OS_freebsd)) && (__FreeBSD__ >= 3) struct cam_device *cam_dev; cam_dev = cam_open_device(name, O_RDWR); *extra_data = (void *) cam_dev; @@ -224,7 +224,7 @@ } return 0; -#elif (defined OS_freebsd) && (__FreeBSD__ >= 2) +#elif (defined OS_freebsd) && (__FreeBSD__ >= 3) #define MSG_SIMPLE_Q_TAG 0x20 /* O/O */ union ccb *ccb; int flags; >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message