--- ./src/fe-gtk/plugingui.c Wed May 15 00:23:34 2002 +++ ../xchat-1.8.10/./src/fe-gtk/plugingui.c Tue Oct 1 01:12:33 2002 @@ -84,8 +84,12 @@ void module_glist (struct session *sess) { - gchar *titles[] = { _("Name"), _("Description") }; + gchar *titles[2]; GtkWidget *okb, *ulb; + + /* can't assign dyn values in array declaration --srosa/SGI */ + titles[0] = _("Name"); + titles[1] = _("Description"); if (modlist) return; --- ./src/fe-gtk/Makefile.in Wed Aug 7 06:21:40 2002 +++ ../xchat-1.8.10/./src/fe-gtk/Makefile.in Sun Sep 29 23:38:25 2002 @@ -111,7 +111,7 @@ bin_PROGRAMS = xchat CFLAGS = $(GUI_CFLAGS) -LIBS = $(GUI_LIBS) +LIBS = $(GUI_LIBS) $(PY_DEPS) INCLUDES = -I$(includedir) -I$(top_srcdir)/intl -DLOCALEDIR=\"$(localedir)\" --- ./src/fe-gtk/fe-gtk.c Tue Jul 30 02:28:12 2002 +++ ../xchat-1.8.10/./src/fe-gtk/fe-gtk.c Tue Oct 1 01:10:11 2002 @@ -115,13 +115,20 @@ { #ifdef USE_GNOME struct poptOption options[] = { - {"cfgdir", 'd', POPT_ARG_STRING, 0, 0, _("Config dir"), 0}, - {"noauto", 'a', POPT_ARG_NONE, 0, 0, _("Don't Auto connect"), 0}, + {"cfgdir", 'd', POPT_ARG_STRING, 0, 0, NULL, 0}, + {"noauto", 'a', POPT_ARG_NONE, 0, 0, NULL, 0}, #ifdef USE_PANEL - {"no-panel", 'n', POPT_ARG_NONE, 0, 0, _("Don't use GNOME Panel"), 0}, + {"no-panel", 'n', POPT_ARG_NONE, 0, 0, NULL, 0}, #endif POPT_AUTOHELP {0, '\0', 0, 0} }; + + /* can't assign dyn values in array declaration --srosa/SGI */ + options[0].arg = _("Config dir"); + options[1].arg = _("Don't Auto connect"); +#ifdef USE_PANEL + options[2].arg = _("Don't use GNOME Panel"); +#endif #endif #ifdef ENABLE_NLS --- ./src/fe-text/Makefile.in Wed Aug 7 00:38:10 2002 +++ ../xchat-1.8.10/./src/fe-text/Makefile.in Tue Oct 1 11:40:45 2002 @@ -108,7 +108,7 @@ bin_PROGRAMS = xchat-text -xchat_text_LDADD = ../common/libxchatmain.a +xchat_text_LDADD = ../common/libxchatmain.a $(INTLLIBS) @USE_MYGLIB_TRUE@glibc = @USE_MYGLIB_TRUE@glib.c --- ./src/common/perl.c Wed Jul 3 23:13:06 2002 +++ ../xchat-1.8.10/./src/common/perl.c Tue Oct 1 01:03:15 2002 @@ -257,11 +257,12 @@ static int execute_perl (char *function, char *args) { - char *perl_args[2] = { args, NULL }, buf[512]; + char *perl_args[2] = { NULL, NULL }, buf[512]; int count, ret_value = 1; SV *sv; dSP; + perl_args[0] = args; ENTER; SAVETMPS; PUSHMARK(sp); --- ./src/common/python.c Sun Feb 24 10:23:34 2002 +++ ../xchat-1.8.10/./src/common/python.c Tue Oct 1 01:06:07 2002 @@ -1128,7 +1128,8 @@ static void pys_autoloadfile (char *file) { - char *words[3] = {"", "", file}; + char *words[3] = {"", "", NULL}; + words[2] = file; pys_load(NULL, NULL, words, NULL); } --- ./configure Wed Aug 7 00:19:11 2002 +++ ../xchat-1.8.10/./configure Tue Oct 1 00:05:31 2002 @@ -5159,7 +5159,7 @@ PY_VERSION=`$pythonpath -c 'import sys ; print sys.version[0:3]'` PY_MAJOR=`$pythonpath -c 'import sys ; print sys.version[0:2]'` if test -f $PY_PREFIX/include/python$PY_VERSION/Python.h; then - PY_LIBS="-lpython$PY_VERSION" + PY_LIBS="-lpython$PY_VERSION $PY_DEPS" PY_LIB_LOC="-L$PY_EXEC_PREFIX/lib/python$PY_VERSION/config" PY_CFLAGS="-I$PY_PREFIX/include/python$PY_VERSION" cat >> confdefs.h <<\EOF