Index: sound/mpc/patches/01-uclibc.patch
===================================================================
--- sound/mpc/patches/01-uclibc.patch   (Revision 0)
+++ sound/mpc/patches/01-uclibc.patch   (Revision 0)
@@ -0,0 +1,15 @@
+Index: mpc-0.15/src/main.c
+===================================================================
+--- mpc-0.15.orig/src/main.c
++++ mpc-0.15/src/main.c
+@@ -190,7 +190,9 @@ static mpd_Connection * setup_connection
+ static struct command *
+ find_command(const char *name)
+ {
+-      for (unsigned i = 0; mpc_table[i].command != NULL; ++i)
++      unsigned i = 0;
++
++      for (i = 0; mpc_table[i].command != NULL; ++i)
+               if (strcmp(name, mpc_table[i].command) == 0)
+                       return &mpc_table[i];
+ 
Index: sound/mpc/Makefile
===================================================================
--- sound/mpc/Makefile  (Revision 14534)
+++ sound/mpc/Makefile  (Arbeitskopie)
@@ -9,12 +9,12 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=mpc
-PKG_VERSION:=0.14
+PKG_VERSION:=0.15
 PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
 PKG_SOURCE_URL:=...@sf/musicpd
-PKG_MD5SUM:=f4218602342cf322872a41dfe0cc72e1
+PKG_MD5SUM:=48897aeb3a7ee5c64f30e56789f105a8
 
 include $(INCLUDE_DIR)/package.mk
 
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to