diff options
author | Will Andrews <will@FreeBSD.org> | 2001-08-15 12:43:08 +0000 |
---|---|---|
committer | Will Andrews <will@FreeBSD.org> | 2001-08-15 12:43:08 +0000 |
commit | 3901adbb04b4df3e0a5076ff5dcdf7cac3a7b4de (patch) | |
tree | ddb3166c7c0ea212f40e1b9a963bac46eeda6964 /multimedia/kdemultimedia4/files | |
parent | b8c21a03d97020d827071ddc9797cb053fa51058 (diff) |
Notes
Diffstat (limited to 'multimedia/kdemultimedia4/files')
-rw-r--r-- | multimedia/kdemultimedia4/files/patch-config.h | 27 | ||||
-rw-r--r-- | multimedia/kdemultimedia4/files/patch-kmidi_config_h | 36 |
2 files changed, 0 insertions, 63 deletions
diff --git a/multimedia/kdemultimedia4/files/patch-config.h b/multimedia/kdemultimedia4/files/patch-config.h deleted file mode 100644 index 7b42d6c56fb0..000000000000 --- a/multimedia/kdemultimedia4/files/patch-config.h +++ /dev/null @@ -1,27 +0,0 @@ ---- 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/multimedia/kdemultimedia4/files/patch-kmidi_config_h b/multimedia/kdemultimedia4/files/patch-kmidi_config_h deleted file mode 100644 index fc82b4c0d9a1..000000000000 --- a/multimedia/kdemultimedia4/files/patch-kmidi_config_h +++ /dev/null @@ -1,36 +0,0 @@ ---- kmidi/config.h.orig Wed Dec 13 14:23:33 2000 -+++ kmidi/config.h Wed Dec 13 15:17:18 2000 -@@ -329,8 +329,14 @@ - #define LE_SHORT(x) x - #define LE_LONG(x) x - #ifdef __FreeBSD__ --#define BE_SHORT(x) __byte_swap_word(x) --#define BE_LONG(x) __byte_swap_long(x) -+# include <osreldate.h> -+# if __FreeBSD_version <= 500000 -+# define BE_SHORT(x) __byte_swap_word(x) -+# define BE_LONG(x) __byte_swap_long(x) -+# else -+# define BE_SHORT(x) __uint8_swap_uint16(x) -+# define BE_LONG(x) __uint8_swap_uint32(x) -+# endif - #else - #define BE_SHORT(x) XCHG_SHORT(x) - #define BE_LONG(x) XCHG_LONG(x) -@@ -339,8 +345,14 @@ - #define BE_SHORT(x) x - #define BE_LONG(x) x - #ifdef __FreeBSD__ --#define LE_SHORT(x) __byte_swap_word(x) --#define LE_LONG(x) __byte_swap_long(x) -+# include <osreldate.h> -+# if __FreeBSD_version <= 500000 -+# define LE_SHORT(x) __byte_swap_word(x) -+# define LE_LONG(x) __byte_swap_long(x) -+# else -+# define LE_SHORT(x) __uint8_swap_uint16(x) -+# define LE_LONG(x) __uint8_swap_uint32(x) -+# endif - #else - #define LE_SHORT(x) XCHG_SHORT(x) - #define LE_LONG(x) XCHG_LONG(x) |