pkgsrc/audio/kdemultimedia2/patches/patch-ap
skrll 08a534ea7f Oops. Make kscd actually compile. Some tidyup.
Pointed out by Kent Polk <kent@goathill.org> in private email.
2001-04-19 06:46:59 +00:00

37 lines
1.4 KiB
Text

$NetBSD: patch-ap,v 1.2 2001/04/19 06:47:00 skrll Exp $
--- kscd/libwm/include/wm_config.h.orig Mon Jan 22 12:14:45 2001
+++ kscd/libwm/include/wm_config.h
@@ -128,11 +128,31 @@
*** ****** ** ** ****** ****** ** ****** ** * **********
*** ****** ** ** ** ** **** *** ***********
******************************************************************/
-#if defined(__FreeBSD__) || defined(__FreeBSD) || defined(__NetBSD__) || defined(__NetBSD)
+#if defined(__FreeBSD__) || defined(__FreeBSD)
#define DEFAULT_CD_DEVICE "/dev/rmatcd0c"
+
#endif /* freebsd */
+
+/******************************************************************
+ * NetBSD
+ ******************************************************************
+ *** *** ** ** ** **** *** *****************
+ *** ** ** ******** **** ** ** ****** * ****************
+ *** * * ** ****** **** ****** **** ** ***************
+ *** ** ** ******** **** ** ****** ** * ****************
+ *** *** ** **** **** **** *** *****************
+ ******************************************************************/
+#if defined(__NetBSD__) || defined(__NetBSD)
+
+#if defined(__i386__)
+#define DEFAULT_CD_DEVICE "/dev/rcd0d"
+#else
+#define DEFAULT_CD_DEVICE "/dev/rcd0c"
+#endif
+
+#endif /* netbsd */
/******************************************************************
* HP-UX