rpms/climm/devel climm-toofast.patch,NONE,1.1 climm.spec,1.5,1.6

Ján ONDREJ (ondrejj) fedora-extras-commits at redhat.com
Fri Jun 20 12:29:59 UTC 2008


Author: ondrejj

Update of /cvs/pkgs/rpms/climm/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv28611/devel

Modified Files:
	climm.spec 
Added Files:
	climm-toofast.patch 
Log Message:
Prevent typing too fast message

climm-toofast.patch:

--- NEW FILE climm-toofast.patch ---
Index: src/oscar_service.c
===================================================================
--- src/oscar_service.c	(revision 2568)
+++ src/oscar_service.c	(working copy)
@@ -212,7 +212,10 @@
  */
 JUMP_SNAC_F(SnacSrvRateexceeded)
 {
-    rl_print (i18n (2188, "You're sending data too fast - stop typing now, or the server will disconnect!\n"));
+    Packet *pak = event->pak;
+    UWORD code = PacketReadB2 (pak);
+    if (code != 1)
+        rl_print (i18n (2188, "You're sending data too fast - stop typing now, or the server will disconnect!\n"));
 }
 
 /*



Index: climm.spec
===================================================================
RCS file: /cvs/pkgs/rpms/climm/devel/climm.spec,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- climm.spec	25 Feb 2008 18:00:06 -0000	1.5
+++ climm.spec	20 Jun 2008 12:27:48 -0000	1.6
@@ -1,8 +1,9 @@
 Summary:        Text/line based ICQ client with many features
 Name:           climm
 Version:        0.6.2
-Release:        1%{?dist}
+Release:        3%{?dist}
 Source:         http://www.climm.org/source/%{name}-%{version}.tgz
+Patch1:		climm-toofast.patch
 URL:            http://www.climm.org/
 Group:          Applications/Internet
 License:        GPLv2
@@ -32,6 +33,7 @@
 
 %prep
 %setup -q -n %{name}-%{version}
+%patch1 -p0
 
 %build
 %configure --disable-dependency-tracking --enable-autopackage
@@ -72,6 +74,12 @@
 
 
 %changelog
+* Fri Jun 20 2008 Jan ONDREJ (SAL) <ondrejj(at)salstar.sk> - 0.6.2-3
+- Add patch to prevent "typing too fast" messages.
+
+* Mon Feb 25 2008 Jan ONDREJ (SAL) <ondrejj(at)salstar.sk> - 0.6.2-2
+- Rebuild with gloox
+
 * Mon Feb 25 2008 Jan ONDREJ (SAL) <ondrejj(at)salstar.sk> - 0.6.2-1
 - Update upstream
 




More information about the fedora-extras-commits mailing list