Mercurial > audlegacy
changeset 618:e9cf6c7c6623 trunk
[svn] Fix building of the musepack plugin.
author | chainsaw |
---|---|
date | Sun, 05 Feb 2006 13:32:51 -0800 |
parents | d66065066760 |
children | fc1788e1ab04 |
files | Plugins/Input/musepack/Makefile.in Plugins/Input/musepack/libmpc.cpp |
diffstat | 2 files changed, 4 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/Plugins/Input/musepack/Makefile.in Sun Feb 05 07:14:48 2006 -0800 +++ b/Plugins/Input/musepack/Makefile.in Sun Feb 05 13:32:51 2006 -0800 @@ -1,5 +1,5 @@ -include ../../../rules.mk -include ../../../objective.mk +include ../../../mk/rules.mk +include ../../../mk/objective.mk OBJECTIVE_LIBS = libmpc.so @@ -15,3 +15,4 @@ CFLAGS += -fPIC -DPIC $(GTK_CFLAGS) $(TAGLIB_CFLAGS) \ -I../../../intl -I../../.. +CXXFLAGS = $(CFLAGS)
--- a/Plugins/Input/musepack/libmpc.cpp Sun Feb 05 07:14:48 2006 -0800 +++ b/Plugins/Input/musepack/libmpc.cpp Sun Feb 05 13:32:51 2006 -0800 @@ -204,7 +204,7 @@ { VFSFile *file; gchar magic[3]; - if (file = vfs_fopen(p_Filename, "rb")) { + if ((file = vfs_fopen(p_Filename, "rb"))) { vfs_fread(magic, 1, 3, file); if (!strncmp(magic, "MP+", 3)) { vfs_fclose(file);