wok-current diff gamin/receipt @ rev 12795
slitaz-base-files: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri May 18 09:43:02 2012 +0200 (2012-05-18) |
parents | 9aaf5b54d2a9 |
children | a00bf44ed23d |
line diff
1.1 --- a/gamin/receipt Mon May 23 18:31:36 2011 +0200 1.2 +++ b/gamin/receipt Fri May 18 09:43:02 2012 +0200 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 \