SOURCES: mpc123-Makefile.patch (NEW), mpc123-defaults-alsa.patch (...
japhy
japhy at pld-linux.org
Sun Jan 29 18:45:43 CET 2006
Author: japhy Date: Sun Jan 29 17:45:43 2006 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- New files (by Patryk Szczyglowski <patryk at patryk.one.pl>)
---- Files affected:
SOURCES:
mpc123-Makefile.patch (NONE -> 1.1) (NEW), mpc123-defaults-alsa.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/mpc123-Makefile.patch
diff -u /dev/null SOURCES/mpc123-Makefile.patch:1.1
--- /dev/null Sun Jan 29 18:45:43 2006
+++ SOURCES/mpc123-Makefile.patch Sun Jan 29 18:45:38 2006
@@ -0,0 +1,17 @@
+--- Makefile 2006-01-05 22:28:53.000000000 +0100
++++ mpc123--main--0.1--base-0/Makefile 2006-01-28 20:27:23.000000000 +0100
+@@ -17,12 +17,10 @@
+ # along with this program; if not, write to the Free Software Foundation,
+ # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+
+-CC := $(shell which colorgcc || which cc)
+-
+ TAGSPRG := ctags
+
+-CFLAGS += -Wall
+-LDFLAGS += -lao -lmpcdec
++override CFLAGS += -Wall
++override LDFLAGS += -lao -lmpcdec
+
+ # in case of DEBUG, we shall add these flags
+ ifneq ($(DEBUG), )
================================================================
Index: SOURCES/mpc123-defaults-alsa.patch
diff -u /dev/null SOURCES/mpc123-defaults-alsa.patch:1.1
--- /dev/null Sun Jan 29 18:45:43 2006
+++ SOURCES/mpc123-defaults-alsa.patch Sun Jan 29 18:45:38 2006
@@ -0,0 +1,24 @@
+diff -Nur old/ao.c new/ao.c
+--- old/ao.c 2006-01-05 22:28:53.000000000 +0100
++++ new/ao.c 2006-01-28 22:20:08.000000000 +0100
+@@ -63,7 +63,7 @@
+ /* set alsa options */
+ if( !strcmp(options.ao_driver, "alsa09") ){
+ opt_head=malloc(sizeof(ao_option));
+- opt_head->key="dev";
++ opt_head->key="default";
+ opt_head->value=options.ao_dev;
+ opt_head->next=NULL;
+ debugf("[ALSA] ao_opts{%s}=%s", opt_head->key, opt_head->value);
+diff -Nur old/mpc123.c new/mpc123.c
+--- old/mpc123.c 2006-01-05 22:28:53.000000000 +0100
++++ new/mpc123.c 2006-01-28 20:40:54.000000000 +0100
+@@ -44,7 +44,7 @@
+ .shuffle=0,
+ .random=0,
+ .verbosity=0,
+- .ao_driver="oss",
++ .ao_driver="alsa09",
+ .ao_dev="/dev/dsp",
+ .volume=1.0
+ };
================================================================
More information about the pld-cvs-commit
mailing list