Gentoo Archives: gentoo-commits

From: "Alfredo Tupone (tupone)" <tupone@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in games-mud/xpertmud/files: xpertmud-3.1_pre1-gcc43.patch
Date: Wed, 21 Jan 2009 14:02:41
Message-Id: E1LPdfA-0003sz-KB@stork.gentoo.org
1 tupone 09/01/21 14:02:36
2
3 Added: xpertmud-3.1_pre1-gcc43.patch
4 Log:
5 Fix gcc-4.3 bug #251135
6 (Portage version: 2.1.6.4/cvs/Linux 2.6.27-gentoo-r7 x86_64)
7
8 Revision Changes Path
9 1.1 games-mud/xpertmud/files/xpertmud-3.1_pre1-gcc43.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-mud/xpertmud/files/xpertmud-3.1_pre1-gcc43.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-mud/xpertmud/files/xpertmud-3.1_pre1-gcc43.patch?rev=1.1&content-type=text/plain
13
14 Index: xpertmud-3.1_pre1-gcc43.patch
15 ===================================================================
16 --- xpertmud/scripting/python/createCallbacks.py.old 2009-01-21 13:38:10.000000000 +0100
17 +++ xpertmud/scripting/python/createCallbacks.py 2009-01-21 13:38:27.000000000 +0100
18 @@ -116,7 +116,7 @@
19 q%s = QString((QChar*)NULL, %sLen);
20 Py_UNICODE* p%s = PyUnicode_AS_UNICODE(%sUni);
21 for(int i=0; i<%sLen; ++i) {
22 - q%s.ref(i) = QChar(p%s[i]);
23 + q%s.ref(i) = QChar((uint)p%s[i]);
24 }
25 }
26 """ % (name, name, name, name, name, name, name, name, name, name, name, name, name, name,
27 name, name)