1 Index: bemused-mpd-r062/Makefile
2 ===================================================================
3 --- bemused-mpd-r062.orig/Makefile 2008-03-31 09:43:54.000000000 +0200
4 +++ bemused-mpd-r062/Makefile 2011-03-06 14:19:07.933096517 +0100
7 +LDLIBS = -lbluetooth -lglib -liconv
8 +CPPFLAGS = -I/usr/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I./
12 -#optimized for openwrt use! mylibs should be -lbluetooth, liconv and -lglib
13 -MYLIBS = -lbluetooth -lglib -liconv
14 -INCL = -I/usr/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I./
16 + $(CC) -c $(CFLAGS) $(CPPFLAGS) $^ -o $@
18 -bemusedlinuxserver: main.cpp BemusedServerDlg.cpp mpdctrl.c
19 - $(CXX) -Os -o bemusedlinuxserver $(INCL) $(LDFLAGS) $(MYLIBS) main.cpp BemusedServerDlg.cpp mpdctrl.c libmpdclient.c
21 + $(CXX) -c $(CXXFLAGS) $(CPPFLAGS) $^ -o $@
23 +bemusedlinuxserver: main.o BemusedServerDlg.o mpdctrl.o libmpdclient.o
24 + $(CXX) $(CXXFLAGS) $(CPPFLAGS) $(LDFLAGS) $^ $(LDLIBS) -o $@
26 +all: bemusedlinuxserver
27 Index: bemused-mpd-r062/libmpdclient.h
28 ===================================================================
29 --- bemused-mpd-r062.orig/libmpdclient.h 2008-04-28 23:03:52.000000000 +0200
30 +++ bemused-mpd-r062/libmpdclient.h 2011-03-06 14:15:34.821307043 +0100
32 #define MPD_ACK_ERROR_EXIST 56
44 typedef enum mpd_TagItems {
46 @@ -654,8 +653,8 @@ void mpd_sendPlaylistAddCommand(mpd_Conn
47 void mpd_sendPlaylistMoveCommand(mpd_Connection * connection, char *playlist, int from, int to);
49 void mpd_sendPlaylistDeleteCommand(mpd_Connection * connection, char *playlist, int pos);
58 Index: bemused-mpd-r062/mpdctrl.c
59 ===================================================================
60 --- bemused-mpd-r062.orig/mpdctrl.c 2008-04-28 23:03:52.000000000 +0200
61 +++ bemused-mpd-r062/mpdctrl.c 2011-03-06 14:15:34.821307043 +0100
64 #define ERROR_DISPLAY 5
67 +#define true (!false)
69 static int l_totalTimeSec;
70 static int l_elapsedTimeSec;