rpms/bitlbee/F-12 bitlbee-1.2.8-strtoll.patch, NONE, 1.1 .cvsignore, 1.11, 1.12 bitlbee.spec, 1.18, 1.19 sources, 1.11, 1.12

Robert Scheck robert at fedoraproject.org
Sun Jul 4 20:24:20 UTC 2010


Author: robert

Update of /cvs/extras/rpms/bitlbee/F-12
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv29451/F-12

Modified Files:
	.cvsignore bitlbee.spec sources 
Added Files:
	bitlbee-1.2.8-strtoll.patch 
Log Message:
Upgrade to 1.2.8


bitlbee-1.2.8-strtoll.patch:
 twitter_lib.c |    8 ++++++++
 1 file changed, 8 insertions(+)

--- NEW FILE bitlbee-1.2.8-strtoll.patch ---
Patch by Robert Scheck <robert at 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


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/bitlbee/F-12/.cvsignore,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -p -r1.11 -r1.12
--- .cvsignore	15 May 2010 21:18:33 -0000	1.11
+++ .cvsignore	4 Jul 2010 20:24:20 -0000	1.12
@@ -1 +1 @@
-bitlbee-1.2.7.tar.gz
+bitlbee-1.2.8.tar.gz


Index: bitlbee.spec
===================================================================
RCS file: /cvs/extras/rpms/bitlbee/F-12/bitlbee.spec,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -p -r1.18 -r1.19
--- bitlbee.spec	15 May 2010 21:18:33 -0000	1.18
+++ bitlbee.spec	4 Jul 2010 20:24:20 -0000	1.19
@@ -1,6 +1,6 @@
 Summary:           IRC to other chat networks gateway
 Name:              bitlbee
-Version:           1.2.7
+Version:           1.2.8
 Release:           1%{?dist}
 License:           GPLv2+ and MIT
 Group:             System Environment/Daemons
@@ -9,6 +9,7 @@ Source0:           http://get.bitlbee.or
 Source1:           bitlbee.xinetd
 Source2:           bitlbee-wrapper.h
 Patch0:            bitlbee-1.2.7-libresolv.patch
+Patch1:            bitlbee-1.2.8-strtoll.patch
 Requires:          xinetd
 Requires(pre):     shadow-utils
 Requires(preun):   /sbin/service
@@ -39,6 +40,7 @@ developing programs and plugins which us
 %setup -q
 %if 0%{?fedora}%{?rhel} < 6
 %patch0 -p1 -b .libresolv
+%patch1 -p1 -b .strtoll
 %endif
 
 perl -pi.make -e '
@@ -128,6 +130,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_libdir}/pkgconfig/%{name}.pc
 
 %changelog
+* Sun Jul 04 2010 Robert Scheck <robert at fedoraproject.org> 1.2.8-1
+- Upgrade to 1.2.8
+
 * Sat May 15 2010 Robert Scheck <robert at fedoraproject.org> 1.2.7-1
 - Upgrade to 1.2.7
 


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/bitlbee/F-12/sources,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -p -r1.11 -r1.12
--- sources	15 May 2010 21:18:33 -0000	1.11
+++ sources	4 Jul 2010 20:24:20 -0000	1.12
@@ -1 +1 @@
-46cb8c0a930970cccd09dce4b3155cae  bitlbee-1.2.7.tar.gz
+e1fbbd9d96ec7c2377b1b286689c1b83  bitlbee-1.2.8.tar.gz



More information about the scm-commits mailing list