Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Oct 2002 18:07:42 -0500 (CDT)
From:      Mark Linimon <linimon@lonesome.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/43909: kscd should no longer default to rmatcd0c
Message-ID:  <200210102307.g9AN7g3u068359@lonesome.lonesome.com>

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

>Number:         43909
>Category:       ports
>Synopsis:       kscd should no longer default to rmatcd0c
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Oct 10 21:10:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Mark Linimon
>Release:        FreeBSD 4.6-RELEASE i386
>Organization:
Lonesome Dove Computing Services
>Environment:
System: FreeBSD lonesome.lonesome.com 4.6-RELEASE FreeBSD 4.6-RELEASE #0: Mon Oct 7 10:28:05 CDT 2002 linimon@lonesome.lonesome.com:/usr/src/sys/compile/OVERKILL i386

>Description:
	Since the matcd device is gone, it makes little sense to leave
        it as the default kscd device.
>How-To-Repeat:
	Install kdemultimedia3 from scratch while not seeing (or
        not paying attention to) the "in order to run the kscd program
        properly" advice, and then run kscd.
>Fix:

        Install the appended patch files into ports/audio/kdemultimedia3.

        Note: I'm still new here, so I don't know the protocol for
        sending this along to the kscd maintainers.  By tradition,
        is this handled by the committer of the fix, or by the PR
        author himself?

        Also note that I've broken out the NetBSD default, as I
        don't know how closely, or if, they track things like
        the FreeBSD nuking of matcd.

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	files/patch-kscd-script
#	files/patch-wm_config.h
#
echo x - files/patch-kscd-script
sed 's/^X//' >files/patch-kscd-script << 'END-of-files/patch-kscd-script'
X--- kscd/kscd-script	Thu Oct 10 16:18:34 2002
X+++ kscd/kscd-script.new	Thu Oct 10 16:18:47 2002
X@@ -325,7 +325,7 @@
X 	fi
X else
X 	# FreeBSD
X-	def_device=/dev/rmatcd0c
X+	def_device=/dev/rcd0c
X fi
X 
X echo $ac_n "Please specify your cdrom device [$def_device]:$ac_c"
END-of-files/patch-kscd-script
echo x - files/patch-wm_config.h
sed 's/^X//' >files/patch-wm_config.h << 'END-of-files/patch-wm_config.h'
X--- wm_config.h.orig	Thu Oct 10 16:28:56 2002
X+++ wm_config.h	Thu Oct 10 17:11:05 2002
X@@ -128,11 +128,16 @@
X  ***  ******  **  **  ******  ******  **  ******  **  *  **********
X  ***  ******  **  **      **      **     ****    ***    ***********
X  ******************************************************************/
X-#if defined(__FreeBSD__) || defined(__FreeBSD) || defined(__NetBSD__) || defined(__NetBSD)
X+#if defined(__FreeBSD__) || defined(__FreeBSD)
X 
X-#define DEFAULT_CD_DEVICE	"/dev/rmatcd0c"
X+#define DEFAULT_CD_DEVICE	"/dev/rcd0c"
X 
X #endif /* freebsd */
X+#if defined(__NetBSD__) || defined(__NetBSD)
X+
X+#define DEFAULT_CD_DEVICE	"/dev/rmatcd0c"
X+
X+#endif /* netbsd */
X 
X /******************************************************************
X  * HP-UX
END-of-files/patch-wm_config.h
exit


--g9AMOEuh068082.1034288654/lonesome.lonesome.com--


>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?200210102307.g9AN7g3u068359>