aboutsummaryrefslogtreecommitdiff
path: root/audio/kdemultimedia3/files
diff options
context:
space:
mode:
authorKevin Lo <kevlo@FreeBSD.org>2000-11-24 13:08:14 +0000
committerKevin Lo <kevlo@FreeBSD.org>2000-11-24 13:08:14 +0000
commitfec8318901fe775360e45dbcf27aa13353765af4 (patch)
treeb1916a865b29d40b72f3524ab909c96437aba107 /audio/kdemultimedia3/files
parentf53141c229669ea7c943e0683a923be4d99161d3 (diff)
downloadports-fec8318901fe775360e45dbcf27aa13353765af4.tar.gz
ports-fec8318901fe775360e45dbcf27aa13353765af4.zip
Notes
Diffstat (limited to 'audio/kdemultimedia3/files')
-rw-r--r--audio/kdemultimedia3/files/patch-config.h27
-rw-r--r--audio/kdemultimedia3/files/patch-configure11
2 files changed, 38 insertions, 0 deletions
diff --git a/audio/kdemultimedia3/files/patch-config.h b/audio/kdemultimedia3/files/patch-config.h
new file mode 100644
index 000000000000..7b42d6c56fb0
--- /dev/null
+++ b/audio/kdemultimedia3/files/patch-config.h
@@ -0,0 +1,27 @@
+--- kscd/config.h.orig Wed Aug 23 14:16:23 2000
++++ kscd/config.h Fri Nov 24 20:11:35 2000
+@@ -4,22 +4,8 @@
+ config.h.std in the source directory of the kscd distribution
+ and rename it to config.h .*/
+
+-#ifdef __linux__
++#if defined(__FreeBSD__)
+
+-#ifndef DEFAULT_CD_DEVICE
+- #define DEFAULT_CD_DEVICE "/dev/cdrom"
+-#endif
+-
+-#ifndef LINUX_SCSI_PASSTHROUGH
+- #define LINUX_SCSI_PASSTHROUGH
+-#endif
++#define DEFAULT_CD_DEVICE "/dev/cdrom"
+
+-#ifndef MIN_VOLUME
+- #define MIN_VOLUME 0
+ #endif
+-
+-#ifndef MAX_VOLUME
+- #define MAX_VOLUME 255
+-#endif
+-
+-#endif /* linux */
diff --git a/audio/kdemultimedia3/files/patch-configure b/audio/kdemultimedia3/files/patch-configure
new file mode 100644
index 000000000000..186218d3f575
--- /dev/null
+++ b/audio/kdemultimedia3/files/patch-configure
@@ -0,0 +1,11 @@
+--- configure.orig Fri Nov 24 09:18:04 2000
++++ configure Fri Nov 24 09:18:44 2000
+@@ -10913,7 +10913,7 @@
+ echo "configure:10914: checking if kscd can be compiled" >&5
+ case "$host" in
+ *-*-linux*) kscd_compile=yes;;
+- *-*-*bsd*) kscd_compile=no;;
++ *-*-*bsd*) kscd_compile=yes;;
+ *) kscd_compile=yes;;
+ esac
+ echo "$ac_t""$kscd_compile" 1>&6