On 03/25/12 13:26, Armin K. wrote:
As the title says, glib 2.32 stable has been released and it introduces a change that breaks compiling of some packages if they include some glib headers other than glib.h ... I'd like for someone to help me checking packages others than from gnome sections for such failures (I've noticed xchat for now).
I made a patch for xchat.
Groet, Thomas
diff -Naur xchat-2.8.8/src/common/modes.c xchat-2.8.8-patched/src/common/modes.c --- xchat-2.8.8/src/common/modes.c 2010-05-30 03:52:18.000000000 +0200 +++ xchat-2.8.8-patched/src/common/modes.c 2012-03-25 19:18:49.976676321 +0200 @@ -20,7 +20,6 @@ #include <stdlib.h> #include <stdio.h> #include <glib.h> -#include <glib/gprintf.h> #include "xchat.h" #include "xchatc.h" diff -Naur xchat-2.8.8/src/common/servlist.c xchat-2.8.8-patched/src/common/servlist.c --- xchat-2.8.8/src/common/servlist.c 2010-05-16 09:24:26.000000000 +0200 +++ xchat-2.8.8-patched/src/common/servlist.c 2012-03-25 19:19:42.256630901 +0200 @@ -24,7 +24,7 @@ #include <unistd.h> #include "xchat.h" -#include <glib/ghash.h> +#include <glib.h> #include "cfgfiles.h" #include "fe.h" diff -Naur xchat-2.8.8/src/common/text.c xchat-2.8.8-patched/src/common/text.c --- xchat-2.8.8/src/common/text.c 2010-05-30 04:14:41.000000000 +0200 +++ xchat-2.8.8-patched/src/common/text.c 2012-03-25 19:20:03.336631950 +0200 @@ -28,7 +28,7 @@ #include <sys/mman.h> #include "xchat.h" -#include <glib/ghash.h> +#include <glib.h> #include "cfgfiles.h" #include "chanopt.h" #include "plugin.h" diff -Naur xchat-2.8.8/src/common/util.c xchat-2.8.8-patched/src/common/util.c --- xchat-2.8.8/src/common/util.c 2009-08-16 11:40:16.000000000 +0200 +++ xchat-2.8.8-patched/src/common/util.c 2012-03-25 19:20:24.927645074 +0200 @@ -39,7 +39,7 @@ #include <errno.h> #include "xchat.h" #include "xchatc.h" -#include <glib/gmarkup.h> +#include <glib.h> #include <ctype.h> #include "util.h" #include "../../config.h" diff -Naur xchat-2.8.8/src/common/xchat.h xchat-2.8.8-patched/src/common/xchat.h --- xchat-2.8.8/src/common/xchat.h 2009-08-16 11:40:16.000000000 +0200 +++ xchat-2.8.8-patched/src/common/xchat.h 2012-03-25 19:20:48.679628057 +0200 @@ -1,10 +1,6 @@ #include "../../config.h" -#include <glib/gslist.h> -#include <glib/glist.h> -#include <glib/gutils.h> -#include <glib/giochannel.h> -#include <glib/gstrfuncs.h> +#include <glib.h> #include <time.h> /* need time_t */ #ifndef XCHAT_H
-- http://linuxfromscratch.org/mailman/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
