wok-next rev 11492
gamin: Don't use deprecated G_CONST_RETURN. Fixes building with newer glib versions.
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Mon Dec 19 02:49:30 2011 +0100 (2011-12-19) |
parents | 4d8d4417d2f5 |
children | a612b276a27c |
files | gamin/receipt |
line diff
1.1 --- a/gamin/receipt Mon Dec 19 02:49:30 2011 +0100 1.2 +++ b/gamin/receipt Mon Dec 19 02:49:30 2011 +0100 1.3 @@ -17,6 +17,15 @@ 1.4 compile_rules() 1.5 { 1.6 cd $src 1.7 + 1.8 + # Don't use deprecated G_CONST_RETURN. Fixes building with newer glib versions. 1.9 + # (gamin v0.1.10) 1.10 + cd server 1.11 + sed 's/^G_CONST_RETURN/const/'\ 1.12 + -i gam_node.c gam_node.h gam_subscription.c gam_subscription.h \ 1.13 + || return 1 1.14 + cd .. 1.15 + 1.16 ./configure \ 1.17 --prefix=/usr \ 1.18 --sysconfdir=/etc \