summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKrzysztof Pawlik <nelchael@gentoo.org>2010-06-23 19:14:16 +0000
committerKrzysztof Pawlik <nelchael@gentoo.org>2010-06-23 19:14:16 +0000
commit5179cec3968ada14de242e521820fbaa2720e59a (patch)
tree984213d7c22530c1b98ec62564585bb91809624b /app-editors/scite/files
parentMissing libpanelapplet-2.0 rdep wrt #320117 by Diego E. Pettenò. (diff)
downloadhistorical-5179cec3968ada14de242e521820fbaa2720e59a.tar.gz
historical-5179cec3968ada14de242e521820fbaa2720e59a.tar.bz2
historical-5179cec3968ada14de242e521820fbaa2720e59a.zip
Version bump.
Package-Manager: portage-2.1.8.3/cvs/Linux x86_64
Diffstat (limited to 'app-editors/scite/files')
-rw-r--r--app-editors/scite/files/scite-2.12-install.patch16
-rw-r--r--app-editors/scite/files/scite-2.12-no-lua.patch16
2 files changed, 32 insertions, 0 deletions
diff --git a/app-editors/scite/files/scite-2.12-install.patch b/app-editors/scite/files/scite-2.12-install.patch
new file mode 100644
index 000000000000..ccce6fe145f1
--- /dev/null
+++ b/app-editors/scite/files/scite-2.12-install.patch
@@ -0,0 +1,16 @@
+diff -Nru vanilla//scite/gtk/makefile patched//scite/gtk/makefile
+--- vanilla//scite/gtk/makefile 2010-06-23 18:04:42.631333431 +0100
++++ patched//scite/gtk/makefile 2010-06-23 18:06:11.150336242 +0100
+@@ -107,8 +107,10 @@
+ done
+
+ ifdef gnomeprefix
+- $(INSTALL) -m 755 -D SciTE.desktop $(DESTDIR)$(datadir)/applications/SciTE.desktop
+- $(INSTALL) -m 644 -D Sci48M.png $(DESTDIR)$(pixmapdir)/Sci48M.png
++ $(INSTALL) -m 755 -d $(DESTDIR)$(datadir)/applications/
++ $(INSTALL) -m 755 SciTE.desktop $(DESTDIR)$(datadir)/applications/
++ $(INSTALL) -m 755 -d $(DESTDIR)$(pixmapdir)/
++ $(INSTALL) -m 644 Sci48M.png $(DESTDIR)$(pixmapdir)/Sci48M.png
+ endif
+
+ uninstall:
diff --git a/app-editors/scite/files/scite-2.12-no-lua.patch b/app-editors/scite/files/scite-2.12-no-lua.patch
new file mode 100644
index 000000000000..106c2453aa44
--- /dev/null
+++ b/app-editors/scite/files/scite-2.12-no-lua.patch
@@ -0,0 +1,16 @@
+diff -Nru vanilla//scite/src/SciTEProps.cxx patched//scite/src/SciTEProps.cxx
+--- vanilla//scite/src/SciTEProps.cxx 2010-06-23 18:04:42.639336085 +0100
++++ patched//scite/src/SciTEProps.cxx 2010-06-23 18:07:00.606351119 +0100
+@@ -1532,10 +1532,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();
+ }