wok diff gamin/receipt @ rev 13394

Up glib (2.32.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Sep 26 09:31:22 2012 +0200 (2012-09-26)
parents 9aaf5b54d2a9
children a00bf44ed23d
line diff
     1.1 --- a/gamin/receipt	Mon May 23 18:31:36 2011 +0200
     1.2 +++ b/gamin/receipt	Wed Sep 26 09:31:22 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 \