[packages/kde4-kdenetwork] - missing patch

arekm arekm at pld-linux.org
Sun Oct 7 23:03:41 CEST 2012


commit bc4cc6685478567780e6984c84cd34d7771aff12
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Sun Oct 7 23:03:39 2012 +0200

    - missing patch

 kdenetwork-4.7.97-fix-for-g++47.patch | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
---
diff --git a/kdenetwork-4.7.97-fix-for-g++47.patch b/kdenetwork-4.7.97-fix-for-g++47.patch
new file mode 100644
index 0000000..45f8b35
--- /dev/null
+++ b/kdenetwork-4.7.97-fix-for-g++47.patch
@@ -0,0 +1,14 @@
+diff -up kdenetwork-4.7.97/kopete/protocols/qq/evautil.cpp.fix-for-g++47 kdenetwork-4.7.97/kopete/protocols/qq/evautil.cpp
+--- kdenetwork-4.7.97/kopete/protocols/qq/evautil.cpp.fix-for-g++47	2011-07-27 20:25:46.000000000 +0200
++++ kdenetwork-4.7.97/kopete/protocols/qq/evautil.cpp	2012-01-05 14:15:01.660149348 +0100
+@@ -78,7 +78,9 @@ namespace Eva {
+ 		plain[0] = ( rand() & 0xf8 ) | pos;
+ 		memset( plain_pre, 0, 8 );
+ 		memset( crypted_pre, 0, 8 );
+-		memset( plain+1, rand()& 0xff, pos++ );
++		if( pos )
++			memset( plain+1, rand()& 0xff, pos );
++		pos++;
+ 
+ 		// pad 2 bytes
+ 		for( i = 0; i< 2; i++ )
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/kde4-kdenetwork.git/commitdiff/bc4cc6685478567780e6984c84cd34d7771aff12



More information about the pld-cvs-commit mailing list