Patch by Robert Scheck <robert@fedoraproject.org> for bitlbee >= 1.2.8, which works around the requirement of g_ascii_strtoll(), that is only available in glib >= 2.12.0. But glib <= 2.12.4 is potentially buggy as well, see: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=488013. At the moment, Red Hat Enterprise Linux 4 and 5 (including derivates) are shipping the older glib versions. The upstream bug report can be read at: http://bugs.bitlbee.org/bitlbee/ticket/643 --- bitlbee-1.2.8/protocols/twitter/twitter_lib.c 2010-07-04 19:26:16.000000000 +0200 +++ bitlbee-1.2.8/protocols/twitter/twitter_lib.c.strtoll 2010-07-04 21:27:50.000000000 +0200 @@ -35,6 +35,14 @@ #include <ctype.h> #include <errno.h> +/* GLib < 2.12.0 doesn't have g_ascii_strtoll(), work around using system strtoll(). */ +/* GLib < 2.12.4 can be buggy: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=488013 */ +#if !GLIB_CHECK_VERSION(2,12,5) +#include <stdlib.h> +#include <limits.h> +#define g_ascii_strtoll strtoll +#endif + #define TXL_STATUS 1 #define TXL_USER 2 #define TXL_ID 3