# HG changeset patch # User Pascal Bellard # Date 1338494592 -7200 # Node ID 8b52371a81af916316d4df733466f40b5c02cdd2 # Parent e2f2cc28884fbfd3fefac03029800079b51ad30e xchat: include glib.h diff -r e2f2cc28884f -r 8b52371a81af xchat/receipt --- a/xchat/receipt Thu May 31 20:20:10 2012 +0200 +++ b/xchat/receipt Thu May 31 22:03:12 2012 +0200 @@ -15,9 +15,11 @@ compile_rules() { cd $src - #patch -p1 -i $stuff/xc286-smallfixes.diff - # gentoo patch for GTK > 2.12 - #patch -p1 -i $stuff/xchat-2.8.6-gtk+-2.13.patch + sed -i -e 's|glib/gslist.h|glib.h|' -e 's|glib/giochannel.h|glib.h|' \ + -e 's|glib/glist.h|glib.h|' -e 's|glib/gstrfuncs.h|glib.h|' \ + -e 's|glib/gutils.h|glib.h|' src/common/xchat.h + sed -i 's|glib/ghash.h|glib.h|' src/common/servlist.c src/common/text.c + sed -i 's|glib/gmarkup.h|glib.h|' src/common/util.c ./configure --prefix=/usr \ --infodir=/usr/share/info \ --mandir=/usr/share/man \