From mwm@mired.org  Sun Aug 20 07:18:06 2000
Return-Path: <mwm@mired.org>
Received: from guru.mired.org (zoom0-145.telepath.com [216.14.0.145])
	by hub.freebsd.org (Postfix) with SMTP id 1DC9037B42C
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 20 Aug 2000 07:18:05 -0700 (PDT)
Received: (qmail 355 invoked by uid 100); 20 Aug 2000 14:17:27 -0000
Message-Id: <20000820141727.354.qmail@guru.mired.org>
Date: 20 Aug 2000 14:17:27 -0000
From: mwm@mired.org
Reply-To: mwm@mired.org
To: FreeBSD-gnats-submit@freebsd.org
Subject: cdrecord port is broken in -current due to name clashes.
X-Send-Pr-Version: 3.2

>Number:         20729
>Category:       ports
>Synopsis:       cdrecord port is broken in -current due to name clashes.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Aug 20 07:20:01 PDT 2000
>Closed-Date:    Sun Aug 20 07:30:49 PDT 2000
>Last-Modified:  Sun Aug 20 07:31:17 PDT 2000
>Originator:     Mike Meyer
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
Missionaria Phonibalonica
>Environment:

	-current as of Friday, August 19th, and for at least a week
	before that.

>Description:

	Trying to build the port sysutil/cdrecord fails with the
	following error:

	cc     -I. -IOBJ/i386-freebsd-cc -I../incs/i386-freebsd-cc -I../include  -DUSE_P
	G  -c -o OBJ/i386-freebsd-cc/scsitransp.o scsitransp.c
	In file included from /usr/include/cam/cam_ccb.h:41,
	                 from scsi-bsd.c:531,
	                 from scsihack.c:59,
	                 from scsitransp.c:104:
	/usr/include/cam/scsi/scsi_all.h:681: redefinition of `struct scsi_mode_page_header'


>How-To-Repeat:

	cd /usr/ports/sysutils/cdrecord; make

>Fix:

	I just replaced all the occurences of scsi_mode_page_header in
	the sources with scsi_mode_page_header2.

	Better would be to teach burncd (in the base system) to talk to
	SCSI disks :-(



>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: steve 
State-Changed-When: Sun Aug 20 07:30:49 PDT 2000 
State-Changed-Why:  
Dirk has already committed a fix for this. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=20729 
>Unformatted:
