From owner-freebsd-ports Sat Oct 26 19: 0:19 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EAA6837B401 for ; Sat, 26 Oct 2002 19:00:16 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7819243E7B for ; Sat, 26 Oct 2002 19:00:11 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id g9R20Bx3095925 for ; Sat, 26 Oct 2002 19:00:11 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id g9R20BUv095924; Sat, 26 Oct 2002 19:00:11 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DD4FF37B401 for ; 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 ; 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 Reply-To: Alan Eldridge To: FreeBSD-gnats-submit@FreeBSD.org Cc: jdunn@aquezada.com X-Send-Pr-Version: 3.113 Subject: ports/44515: audio/cd-console only plays ATA drives Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 44515 >Category: ports >Synopsis: audio/cd-console only plays ATA drives >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Oct 26 19:00:10 PDT 2002 >Closed-Date: >Last-Modified: >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: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message