summaryrefslogtreecommitdiffstats
path: root/openwrt/package/mpd/patches
diff options
context:
space:
mode:
authorwbx <wbx@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-09-11 11:40:58 +0000
committerwbx <wbx@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-09-11 11:40:58 +0000
commit21f7d0efb399a68182eb8d2b0ad85d6dede538c5 (patch)
treea5b4062af62609a6d5e732aab4adf204b25316e5 /openwrt/package/mpd/patches
parentc867d4d22e23f854ed5e78ae2a5e97991c72dede (diff)
add mpd from dave, thx
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@1902 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/package/mpd/patches')
-rw-r--r--openwrt/package/mpd/patches/configure.patch11
-rw-r--r--openwrt/package/mpd/patches/devices.patch33
2 files changed, 44 insertions, 0 deletions
diff --git a/openwrt/package/mpd/patches/configure.patch b/openwrt/package/mpd/patches/configure.patch
new file mode 100644
index 000000000..79bf83a72
--- /dev/null
+++ b/openwrt/package/mpd/patches/configure.patch
@@ -0,0 +1,11 @@
+diff -rNu mpd--uclinux--1--patch-10.normalperson-05.OLD/configure mpd--uclinux--1--patch-10.normalperson-05/configure
+--- mpd--uclinux--1--patch-10.normalperson-05.OLD/configure 2005-07-03 19:00:33.000000000 +1000
++++ mpd--uclinux--1--patch-10.normalperson-05/configure 2005-09-11 13:56:23.992755032 +1000
+@@ -21756,7 +21756,6 @@
+ #define NDEBUG 1
+ _ACEOF
+
+- CC="arm-elf-gcc"
+ enable_iconv=no
+ enable_http=no
+ enable_ipv6=no
diff --git a/openwrt/package/mpd/patches/devices.patch b/openwrt/package/mpd/patches/devices.patch
new file mode 100644
index 000000000..0440a6374
--- /dev/null
+++ b/openwrt/package/mpd/patches/devices.patch
@@ -0,0 +1,33 @@
+diff -rNu mpd--uclinux--1--patch-10.normalperson-05.OLD/src/audio_oss.c mpd--uclinux--1--patch-10.normalperson-05/src/audio_oss.c
+--- mpd--uclinux--1--patch-10.normalperson-05.OLD/src/audio_oss.c 2005-07-03 21:23:39.000000000 +1000
++++ mpd--uclinux--1--patch-10.normalperson-05/src/audio_oss.c 2005-09-11 13:58:44.074459376 +1000
+@@ -179,7 +179,7 @@
+ copyAudioFormat(&audio_format,audioFormat);
+
+ blockSignals();
+- audio_device = open("/dev/dsp", O_WRONLY);
++ audio_device = open("/dev/sound/dsp", O_WRONLY);
+
+ if (audio_device < 0) err |= 1;
+
+@@ -199,7 +199,7 @@
+ unblockSignals();
+
+ if (err)
+- ERROR("Error opening /dev/dsp: 0x%x\n");
++ ERROR("Error opening /dev/sound/dsp: 0x%x\n");
+ if (!audio_device)
+ return -1;
+ #endif
+diff -rNu mpd--uclinux--1--patch-10.normalperson-05.OLD/src/volume.c mpd--uclinux--1--patch-10.normalperson-05/src/volume.c
+--- mpd--uclinux--1--patch-10.normalperson-05.OLD/src/volume.c 2005-05-05 18:19:03.000000000 +1000
++++ mpd--uclinux--1--patch-10.normalperson-05/src/volume.c 2005-09-11 14:04:17.013844896 +1000
+@@ -41,7 +41,7 @@
+ #define VOLUME_MIXER_TYPE_ALSA 2
+
+ #define VOLUME_MIXER_SOFTWARE_DEFAULT ""
+-#define VOLUME_MIXER_OSS_DEFAULT "/dev/mixer"
++#define VOLUME_MIXER_OSS_DEFAULT "/dev/sound/mixer"
+ #define VOLUME_MIXER_ALSA_DEFAULT "default"
+ #define VOLUME_MIXER_ALSA_CONTROL_DEFAULT "PCM"
+