# HG changeset patch # User Eric Warmenhoven # Date 969497130 0 # Node ID 13bdc97d433ee9f5ba18583983a4df16acc5f8f4 # Parent 59d9e1177ab5ac4e796b26806b7e28668f5febed [gaim-migrate @ 942] bah. hopefully this will help people who aren't POSIX compliant. committer: Tailor Script diff -r 59d9e1177ab5 -r 13bdc97d433e acconfig.h --- a/acconfig.h Wed Sep 20 23:35:17 2000 +0000 +++ b/acconfig.h Thu Sep 21 00:45:30 2000 +0000 @@ -13,6 +13,7 @@ #undef ESD_SOUND #undef _REENTRANT #undef NEED_GNOMESUPPORT_H +#undef NEED_SOCKLEN_T diff -r 59d9e1177ab5 -r 13bdc97d433e configure.in --- a/configure.in Wed Sep 20 23:35:17 2000 +0000 +++ b/configure.in Thu Sep 21 00:45:30 2000 +0000 @@ -8,6 +8,7 @@ AC_PROG_CC AC_PROG_INSTALL + ALL_LINGUAS="de fr es zh_CN ko" AM_GNU_GETTEXT @@ -28,6 +29,7 @@ AC_TYPE_SIGNAL AC_FUNC_STRFTIME AC_CHECK_FUNCS(socket strdup strstr atexit getaddrinfo) +AC_TRY_COMPILE(sys/socket.h, typedef unsigned int socklen_t;, AC_DEFINE(NEED_SOCKLEN_T),) dnl This is a bad, bad hack. I am a bad, bad man. CFLAGS="$CFLAGS -I/usr/local/include -I/opt/include -I../" diff -r 59d9e1177ab5 -r 13bdc97d433e libfaim/README.gaim --- a/libfaim/README.gaim Wed Sep 20 23:35:17 2000 +0000 +++ b/libfaim/README.gaim Thu Sep 21 00:45:30 2000 +0000 @@ -13,6 +13,7 @@ included with the libfaim source on sourceforge) with the Gaim GTK front-end. So far the changes to libfaim that I've made are: - remove mkbuildinfo.sh and put the #defines it creates into Makefile.am +- check for socklen_t for Solaris people (in aim_ft.c) And finally, a word of warning. Gaim/Faim is VERY buggy. Please, don't use this for anything other than laughs right now. Hopefully we'll get it working better diff -r 59d9e1177ab5 -r 13bdc97d433e libfaim/aim_ft.c --- a/libfaim/aim_ft.c Wed Sep 20 23:35:17 2000 +0000 +++ b/libfaim/aim_ft.c Thu Sep 21 00:45:30 2000 +0000 @@ -7,6 +7,9 @@ #include /* for aim_directim_initiate */ #include /* for inet_ntoa */ #endif +#ifdef NEED_SOCKLEN_T +typedef unsigned int socklen_t; +#endif /* aim_msgcookies.c is mostly new. just look at the diff and replace yours, easiest. */