updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / raop-play / glib.patch
blob645ef60e53a4e89704847d1c63a7aeb4b1a9a186
1 diff -aur old/aexcl/aexcl_play.cxx patch/aexcl/aexcl_play.cxx
2 --- old/aexcl/aexcl_play.cxx 2010-11-28 01:26:40.913333406 -0600
3 +++ patch/aexcl/aexcl_play.cxx 2010-11-28 01:29:56.546666737 -0600
4 @@ -206,7 +206,7 @@
5 if(!aexd.agui->aex_chooser->size()) return -1;
6 if(aexd.agui->aex_chooser->value()<0) return -1;
7 rargv[1]=aexd.agui->aex_chooser->text(aexd.agui->aex_chooser->value());
8 - if(!(astr=strstr(rargv[1],IP_NAME_DELIM))) return -1;
9 + if(!(astr=(char*)strstr(rargv[1],IP_NAME_DELIM))) return -1;
10 memset(ip,0,sizeof(ip));
11 memcpy(ip,rargv[1],((__u32)(astr-rargv[1])<sizeof(ip))?astr-rargv[1]:sizeof(ip));
12 rargv[1]=ip;
13 diff -aur old/aexcl/Makefile.in patch/aexcl/Makefile.in
14 --- old/aexcl/Makefile.in 2010-11-28 01:26:40.913333406 -0600
15 +++ patch/aexcl/Makefile.in 2010-11-28 01:35:33.883333405 -0600
16 @@ -12,7 +12,7 @@
17 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
19 TARGET=aexcl_play
20 -GLIB_SUBST=1 # remove this line, if you want to use libglib-2.0
21 +#GLIB_SUBST=1 # remove this line, if you want to use libglib-2.0
22 DESTDIR =
24 CXXFLAGS += -Wall -D_GNU_SOURCE -I../raop_play -I../rendezvous