Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Feb 2000 01:25:22 +0900 (JST)
From:      Nobuyuki Koganemaru <kogane@koganemaru.co.jp>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/16986: mtools-3.9.6
Message-ID:  <200002251625.BAA00572@kces.koganemaru.co.jp>

next in thread | raw e-mail | index | archive | help

>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 <sys/scsicmd.h>
 #endif
 
-#if (defined(OS_freebsd)) && (__FreeBSD__ >= 2)
+#if (defined(OS_freebsd)) && (__FreeBSD__ >= 3)
 #include <camlib.h>
 #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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200002251625.BAA00572>