On Oct 28, 2008, at 11:11 PM, Alexander Hansen wrote:

[adding the maintainer]
On Oct 23, 2008, at 7:36 PM, Alexander Hansen wrote:

This was reported on 10.4 on IRC, and I get the same thing on 10.5.

It appears to be in need of an update to work with the current gtk+2

...
gcc -DHAVE_CONFIG_H -I. -I../.. -I/sw/lib/pango-ft219/include/
pango-1.0 -I/sw/lib/fontconfig2/include -I/sw/lib/freetype219/
include/freetype2 -I/sw/lib/freetype219/include -I/sw/include/
glib-2.0 -I/sw/lib/glib-2.0/include -I/sw/include/libpng12 -I/sw/
include -I/sw/include/pixman-1 -I/sw/include/cairo -I/sw/include/
gtk-2.0 -I/sw/include/atk-1.0 -I/sw/lib/gtk-2.0/include -I/usr/X11R6/
include -I/usr/X11/include -I/sw/lib/pango-ft219/include/pango-1.0 -
I/sw/lib/fontconfig2/include -I/sw/lib/freetype219/include/freetype2
-I/sw/lib/freetype219/include -I/sw/include/glib-2.0 -I/sw/lib/
glib-2.0/include -I/sw/include/libpng12 -I/sw/include -I/sw/include/
pixman-1 -I/sw/include/cairo -I/sw/include/gtk-2.0 -I/sw/include/
atk-1.0 -I/sw/lib/gtk-2.0/include -I/sw/include/gtkspell-2.0 -I/usr/
X11R6/include -I/usr/X11/include -DG_DISABLE_CAST_CHECKS -DLOCALEDIR=
\"/sw/share/locale\"  -I/sw/lib/system-openssl/include -I/sw/include
-I/sw/include    -g -O2 -Wall -I/sw/lib/system-openssl/include -I/sw/
include -I/sw/include   -c -o fe-gtk.o fe-gtk.c
In file included from fe-gtk.c:48:
xtext.h:273: error: syntax error before 'gtk_xtext_get_type'
xtext.h:273: warning: type defaults to 'int' in declaration of
'gtk_xtext_get_type'
xtext.h:273: warning: data definition has no type or storage class
fe-gtk.c: In function 'fe_ctrl_gui':
fe-gtk.c:786: warning: implicit declaration of function
'setup_apply_real'
fe-gtk.c: In function 'try_browser':
fe-gtk.c:925: warning: passing argument 1 of 'xchat_execv' from
incompatible pointer type
make[3]: *** [fe-gtk.o] Error 1



As an additional piece of inof, the following patch was suggested for
macports for xchat and newer (> 2.12) GTK+2:
( http://paste.lisp.org/display/69384#1 )


--- xchat-2.8.6/src/fe-gtk/xtext.h.orig        2008-02-24
05:48:02.000000000 +0100
+++ xchat-2.8.6/src/fe-gtk/xtext.h        2008-09-06
02:18:39.000000000 +0200
@@ -270,6 +270,6 @@
 xtext_buffer *gtk_xtext_buffer_new (GtkXText *xtext);
 void gtk_xtext_buffer_free (xtext_buffer *buf);
 void gtk_xtext_buffer_show (GtkXText *xtext, xtext_buffer *buf, int
render);
-GtkType gtk_xtext_get_type (void);
+GType gtk_xtext_get_type (void);

 #endif

Pasting the patch at the end of xchat.patch allows xchat 2.8.6 to build and run for me.
gtk+2 2.14.4, os x 10.5.5, ppc, macosforge xquartz 2.3.1

The patch is from
http://bugs.gentoo.org/show_bug.cgi?id=234458

Dave
--
David Reiser
[EMAIL PROTECTED]




-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to