Opened 12 years ago

Closed 12 years ago

#33959 closed defect (fixed)

xchat2 fails to build with current glib2

Reported by: jeremyhu (Jeremy Huddleston Sequoia) Owned by: afb@…
Priority: Normal Milestone:
Component: ports Version: 2.0.4
Keywords: glib2 Cc: ryandesign (Ryan Carsten Schmidt)
Port: xchat2

Description

After the recent update to glib2 (2.32.0), xchat2 no longer builds:

make[5]: Entering directory `/opt/local/var/macports/build/_Users_jeremy_src_macports_trunk_dports_irc_xchat2/xchat2/work/xchat-2.8.8/src/common/dbus'
/usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I../../.. -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include   -D_REENTRANT -I/opt/local/include/dbus-1.0 -I/opt/local/lib/dbus-1.0/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include   -D_REENTRANT -I/opt/local/include/dbus-1.0 -I/opt/local/lib/dbus-1.0/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include    -I/opt/local/include -I/opt/local/include    -pipe -g3 -arch x86_64 -Wall -g -I/opt/local/include -I/opt/local/include   -c -o dbus-client.o dbus-client.c
In file included from ../xchat.h:3,
                 from dbus-client.c:24:
/opt/local/include/glib-2.0/glib/gslist.h:28:2: error: #error "Only <glib.h> can be included directly."
In file included from ../xchat.h:4,
                 from dbus-client.c:24:
/opt/local/include/glib-2.0/glib/glist.h:28:2: error: #error "Only <glib.h> can be included directly."
In file included from ../xchat.h:5,
                 from dbus-client.c:24:
/opt/local/include/glib-2.0/glib/gutils.h:28:2: error: #error "Only <glib.h> can be included directly."
In file included from ../xchat.h:6,
                 from dbus-client.c:24:
/opt/local/include/glib-2.0/glib/giochannel.h:28:2: error: #error "Only <glib.h> can be included directly."
In file included from ../xchat.h:7,
                 from dbus-client.c:24:
/opt/local/include/glib-2.0/glib/gstrfuncs.h:28:2: error: #error "Only <glib.h> can be included directly."

Attachments (1)

patch-glib-2.32.diff (2.6 KB) - added by jeremyhu (Jeremy Huddleston Sequoia) 12 years ago.
patch-glib-2.32.diff

Download all attachments as: .zip

Change History (2)

Changed 12 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Attachment: patch-glib-2.32.diff added

patch-glib-2.32.diff

comment:1 Changed 12 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Resolution: fixed
Status: newclosed

r91758 should take care of this...

Note: See TracTickets for help on using tickets.