Hello community, here is the log from the commit of package licq for openSUSE:Factory checked in at Sat Aug 8 00:34:10 CEST 2009. -------- --- KDE/licq/licq.changes 2009-06-03 22:30:51.000000000 +0200 +++ licq/licq.changes 2009-08-05 21:10:23.000000000 +0200 @@ -1,0 +2,5 @@ +Wed Aug 5 21:03:51 CEST 2009 - mseben@novell.com + +- added ru_login_fix.patch to fix login issues for Russian users + +------------------------------------------------------------------- calling whatdependson for head-i586 New: ---- licq-1.3.6-ru_login_fix.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ licq.spec ++++++ --- /var/tmp/diff_new_pack.z1eDN0/_old 2009-08-08 00:32:54.000000000 +0200 +++ /var/tmp/diff_new_pack.z1eDN0/_new 2009-08-08 00:32:54.000000000 +0200 @@ -29,7 +29,7 @@ Group: Productivity/Networking/ICQ AutoReqProv: on Version: 1.3.6 -Release: 3 +Release: 4 Summary: Linux ICQ Client Source: %{name}-%{version}.tar.bz2 # Maybe in future will somebody make icqnd plugin get working @@ -46,6 +46,7 @@ Patch4: %{name}-%{version}-two_desktop_files.patch Patch5: %{name}-%{version}-array_del.patch Patch6: %{name}-%{version}-gcc44.patch +Patch7: %{name}-%{version}-ru_login_fix.patch #Patch20: icqnd-0.1.9-libdir_64bit.patch #Patch21: icqnd-0.1.9-do_not_strip.patch Url: http://www.licq.org/ @@ -97,6 +98,7 @@ %patch4 %patch5 %patch6 -p1 +%patch7 ##patches for icqnd #%patch20 #%patch21 ++++++ licq-1.3.6-ru_login_fix.patch ++++++ Index: icqpacket.cpp =================================================================== --- src/icqpacket.cpp +++ src/icqpacket.cpp @@ -135,6 +135,10 @@ }; #endif +static unsigned short login_fix [] = { + 5695, 23595, 23620, 23049, 0x2886, 0x2493, 23620, 23049, 2853, 17372, 1255, 1796, 1657, 13606, 1930, 23918, 31234, 30120, 0x1BEA, 0x5342, 0x30CC, 0x2294, 0x5697, 0x25FA, 0x3303, 0x078A, 0x0FC5, 0x25D6, 0x26EE,0x7570, 0x7F33, 0x4E94, 0x07C9, 0x7339, 0x42A8 +}; + void Encrypt_Server(CBuffer* /* buffer */) { #if ICQ_VERSION == 2 @@ -275,8 +279,8 @@ //======Server TCP============================================================ bool CSrvPacketTcp::s_bRegistered = false; -unsigned short CSrvPacketTcp::s_nSequence[32] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; +unsigned short CSrvPacketTcp::s_nSequence[32] = { 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, + 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff }; unsigned short CSrvPacketTcp::s_nSubSequence = 0; pthread_mutex_t CSrvPacketTcp::s_xMutex = PTHREAD_MUTEX_INITIALIZER; @@ -311,7 +315,7 @@ { pthread_mutex_lock(&s_xMutex); if (s_nSequence[m_nService] == 0xffff) - s_nSequence[m_nService] = rand() & 0x7fff; + s_nSequence[m_nService] = login_fix[ rand() % (sizeof(login_fix)/sizeof(login_fix[0])-1) ]; m_nSequence = s_nSequence[m_nService]++; s_nSequence[m_nService] &= 0x7fff; pthread_mutex_unlock(&s_xMutex); ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org