[kdenetwork] Fix the g++47 patch
Radek Novacek
rnovacek at fedoraproject.org
Thu Jan 5 13:17:51 UTC 2012
commit 15ccf825596dae0f7fe591baf07b9ec5c9cf5b75
Author: Radek Novacek <rnovacek at redhat.com>
Date: Thu Jan 5 14:17:45 2012 +0100
Fix the g++47 patch
kdenetwork-4.7.97-fix-for-g++47.patch | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/kdenetwork-4.7.97-fix-for-g++47.patch b/kdenetwork-4.7.97-fix-for-g++47.patch
index d9827e0..45f8b35 100644
--- a/kdenetwork-4.7.97-fix-for-g++47.patch
+++ b/kdenetwork-4.7.97-fix-for-g++47.patch
@@ -1,13 +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 2012-01-05 13:17:30.244588267 +0100
-+++ kdenetwork-4.7.97/kopete/protocols/qq/evautil.cpp 2012-01-05 13:20:30.503771296 +0100
-@@ -78,7 +78,8 @@ namespace Eva {
+--- 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++ );
++ memset( plain+1, rand()& 0xff, pos );
++ pos++;
// pad 2 bytes
for( i = 0; i< 2; i++ )
More information about the scm-commits
mailing list