/[gentoo-alt]/trunk/kde-base/kdelibs/files/kdelibs-3.3.2-ppc64.patch
Gentoo

Contents of /trunk/kde-base/kdelibs/files/kdelibs-3.3.2-ppc64.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 381 - (show annotations) (download)
Sun May 22 15:43:41 2005 UTC (9 years, 1 month ago) by flameeyes
File size: 957 byte(s)
Added kde-base ebuild needed to satisfy dependency for kde. Still trouble with qt for now.

1 --- kdecore/kkeyserver_x11.cpp.orig 2005-03-14 16:50:52.696326808 +0000
2 +++ kdecore/kkeyserver_x11.cpp 2005-03-14 16:52:40.241351192 +0000
3 @@ -640,6 +640,7 @@
4
5 bool codeXToSym( uchar codeX, uint modX, uint& sym )
6 {
7 + KeySym keySym;
8 XKeyPressedEvent event;
9
10 event.type = KeyPress;
11 @@ -647,7 +648,8 @@
12 event.state = modX;
13 event.keycode = codeX;
14
15 - XLookupString( &event, 0, 0, (KeySym*) &sym, 0 );
16 + XLookupString( &event, 0, 0, &keySym, 0 );
17 + sym = (uint) keySym;
18 return true;
19 }
20
21 --- kdecore/kkeynative_x11.cpp.orig 2005-03-14 16:53:11.868337144 +0000
22 +++ kdecore/kkeynative_x11.cpp 2005-03-14 16:53:57.579311152 +0000
23 @@ -71,9 +71,11 @@
24
25 bool KKeyNative::init( const XEvent* pEvent )
26 {
27 + KeySym keySym;
28 m_code = pEvent->xkey.keycode;
29 m_mod = pEvent->xkey.state;
30 - XLookupString( (XKeyEvent*) pEvent, 0, 0, (KeySym*) &m_sym, 0 );
31 + XLookupString( (XKeyEvent*) pEvent, 0, 0, &keySym, 0 );
32 + m_sym = (uint) keySym;
33 return true;
34 }
35

Properties

Name Value
svn:eol-style native
svn:keywords Author Date Id Revision

  ViewVC Help
Powered by ViewVC 1.1.20