summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKrzysztof Pawlik <nelchael@gentoo.org>2011-11-30 18:48:20 +0000
committerKrzysztof Pawlik <nelchael@gentoo.org>2011-11-30 18:48:20 +0000
commitb9ed2470eac75ae1a7fa11c83fc0ad1288b31d99 (patch)
treee84e1bad9e6594f2ad01bb850ade08440074a472 /app-editors/scite/files
parentFix building on Prefix platforms, bug #385621 (diff)
downloadgentoo-2-b9ed2470eac75ae1a7fa11c83fc0ad1288b31d99.tar.gz
gentoo-2-b9ed2470eac75ae1a7fa11c83fc0ad1288b31d99.tar.bz2
gentoo-2-b9ed2470eac75ae1a7fa11c83fc0ad1288b31d99.zip
Version bump to 3.0.1, update to EAPI 4, see bug #380061 and bug #392485.
(Portage version: 2.1.10.38/cvs/Linux x86_64)
Diffstat (limited to 'app-editors/scite/files')
-rw-r--r--app-editors/scite/files/scite-3.0.1-no-lua.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/app-editors/scite/files/scite-3.0.1-no-lua.patch b/app-editors/scite/files/scite-3.0.1-no-lua.patch
new file mode 100644
index 000000000000..d63416a81eb7
--- /dev/null
+++ b/app-editors/scite/files/scite-3.0.1-no-lua.patch
@@ -0,0 +1,16 @@
+diff -Nru 3.0.1.vanilla/scite/src/SciTEProps.cxx 3.0.1/scite/src/SciTEProps.cxx
+--- 3.0.1.vanilla/scite/src/SciTEProps.cxx 2011-11-30 19:39:41.059801342 +0100
++++ 3.0.1/scite/src/SciTEProps.cxx 2011-11-30 19:39:53.211835004 +0100
+@@ -1702,10 +1702,12 @@
+
+ // return the int value of the command name passed in.
+ int SciTEBase::GetMenuCommandAsInt(SString commandName) {
++#ifndef NO_LUA
+ int i = IFaceTable::FindConstant(commandName.c_str());
+ if (i != -1) {
+ return IFaceTable::constants[i].value;
+ }
++#endif
+ // Otherwise we might have entered a number as command to access a "SCI_" command
+ return commandName.value();
+ }