Gentoo Archives: gentoo-commits

From: "Krzysztof Pawlik (nelchael)" <nelchael@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-editors/scite/files: scite-3.0.1-no-lua.patch
Date: Wed, 30 Nov 2011 18:48:40
Message-Id: 20111130184820.BF74D2004C@flycatcher.gentoo.org
1 nelchael 11/11/30 18:48:20
2
3 Added: scite-3.0.1-no-lua.patch
4 Log:
5 Version bump to 3.0.1, update to EAPI 4, see bug #380061 and bug #392485.
6
7 (Portage version: 2.1.10.38/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.1 app-editors/scite/files/scite-3.0.1-no-lua.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/scite/files/scite-3.0.1-no-lua.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/scite/files/scite-3.0.1-no-lua.patch?rev=1.1&content-type=text/plain
14
15 Index: scite-3.0.1-no-lua.patch
16 ===================================================================
17 diff -Nru 3.0.1.vanilla/scite/src/SciTEProps.cxx 3.0.1/scite/src/SciTEProps.cxx
18 --- 3.0.1.vanilla/scite/src/SciTEProps.cxx 2011-11-30 19:39:41.059801342 +0100
19 +++ 3.0.1/scite/src/SciTEProps.cxx 2011-11-30 19:39:53.211835004 +0100
20 @@ -1702,10 +1702,12 @@
21
22 // return the int value of the command name passed in.
23 int SciTEBase::GetMenuCommandAsInt(SString commandName) {
24 +#ifndef NO_LUA
25 int i = IFaceTable::FindConstant(commandName.c_str());
26 if (i != -1) {
27 return IFaceTable::constants[i].value;
28 }
29 +#endif
30 // Otherwise we might have entered a number as command to access a "SCI_" command
31 return commandName.value();
32 }