From root@wwweasel.geeksrus.net  Sat Oct 26 18:57:36 2002
Return-Path: <root@wwweasel.geeksrus.net>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id DD4FF37B401
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 26 Oct 2002 18:57:36 -0700 (PDT)
Received: from wwweasel.geeksrus.net (wwweasel.geeksrus.net [64.8.210.226])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 44C4A43E42
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 26 Oct 2002 18:57:36 -0700 (PDT)
	(envelope-from root@wwweasel.geeksrus.net)
Received: from wwweasel.geeksrus.net (localhost [127.0.0.1])
	by wwweasel.geeksrus.net (8.12.6/8.12.6) with ESMTP id g9R1vNxW090150;
	Sat, 26 Oct 2002 21:57:23 -0400 (EDT)
	(envelope-from root@wwweasel.geeksrus.net)
Received: (from root@localhost)
	by wwweasel.geeksrus.net (8.12.6/8.12.6/Submit) id g9R1vMen090144;
	Sat, 26 Oct 2002 21:57:22 -0400 (EDT)
	(envelope-from root)
Message-Id: <200210270157.g9R1vMen090144@wwweasel.geeksrus.net>
Date: Sat, 26 Oct 2002 21:57:22 -0400 (EDT)
From: Alan Eldridge <alane@freebsd.org>
Reply-To: Alan Eldridge <alane@geeksrus.net>
To: FreeBSD-gnats-submit@freebsd.org
Cc: jdunn@aquezada.com
Subject: audio/cd-console only plays ATA drives
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         44515
>Category:       ports
>Synopsis:       audio/cd-console only plays ATA drives
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Oct 26 19:00:10 PDT 2002
>Closed-Date:    Wed Oct 30 01:31:05 PST 2002
>Last-Modified:  Wed Oct 30 01:31:05 PST 2002
>Originator:     Alan Eldridge
>Release:        FreeBSD 4.7-STABLE i386
>Organization:
Geeksrus.NET
>Environment:
System: FreeBSD wwweasel.geeksrus.net 4.7-STABLE FreeBSD 4.7-STABLE #2: Sat Oct 26 12:33:12 EDT 2002 root@wwweasel.geeksrus.net:/usr/obj/usr/src/sys/MY_SHITS_FUCKED_UP i386

>Description:

audio/cd-console only plays ATA drives: drive is hard-coded to the first ATA
CD drive.

>How-To-Repeat:

Try to play a CDDA disk on a SCSI CD drive.

>Fix:

I'll commit this for you if you OK it.

==8<====8<====8<====8<====8<====8<====8<====8<====8<====8<==
Index: files/patch-aa
===================================================================
RCS file: /home/ncvs/ports/audio/cd-console/files/patch-aa,v
retrieving revision 1.3
diff -u -3 -r1.3 patch-aa
--- files/patch-aa	4 Jun 2002 03:00:57 -0000	1.3
+++ files/patch-aa	27 Oct 2002 01:15:18 -0000
@@ -15,7 +15,7 @@
 -
 +DEFS = -DOS_BSD
 +EXTRA_OBJS = cd_ll_bsd.o
-+CDDEVICE=\"/dev/acd0c\"
++CDDEVICE=\"/dev/cdrom\"
  
  # you shouldn't have to change anything below this line
  
Index: files/patch-ab
===================================================================
RCS file: /home/ncvs/ports/audio/cd-console/files/patch-ab,v
retrieving revision 1.1
diff -u -3 -r1.1 patch-ab
--- files/patch-ab	25 Dec 1999 15:32:35 -0000	1.1
+++ files/patch-ab	27 Oct 2002 01:18:02 -0000
@@ -1,11 +1,12 @@
---- cd_ll_bsd.cpp.orig	Sun Nov 28 20:14:31 1999
-+++ cd_ll_bsd.cpp	Sun Nov 28 20:15:29 1999
+--- cd_ll_bsd.cpp.orig	Sat Aug 25 14:09:00 2001
++++ cd_ll_bsd.cpp	Sat Oct 26 21:16:54 2002
 @@ -10,7 +10,9 @@
  #include "cd_ll_bsd.h"
  
  // the cd-rom device file
+-#define DEVICE "/dev/acd0c"
 +#ifndef DEVICE
- #define DEVICE "/dev/acd0c"
++#define DEVICE "/dev/cdrom"
 +#endif
  
  cd_ll_bsd::cd_ll_bsd()
==8<====8<====8<====8<====8<====8<====8<====8<====8<====8<==



>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: alane 
State-Changed-When: Wed Oct 30 01:31:02 PST 2002 
State-Changed-Why: Committed. 

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