diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2018-02-15 01:21:41 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2018-02-15 01:23:41 +0100 |
commit | 6a5c1ebb08049e05bf54297f4570d1d641fc4cea (patch) | |
tree | 2648db5e6b628e2cebd39c5e0e9e6e0aa217d0a8 /app-office/lyx/files | |
parent | media-video/vlc: Add slot operator for dev-libs/protobuf (diff) | |
download | gentoo-6a5c1ebb08049e05bf54297f4570d1d641fc4cea.tar.gz gentoo-6a5c1ebb08049e05bf54297f4570d1d641fc4cea.tar.bz2 gentoo-6a5c1ebb08049e05bf54297f4570d1d641fc4cea.zip |
app-office/lyx: Drop old
Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'app-office/lyx/files')
-rw-r--r-- | app-office/lyx/files/2.0.8-python.patch | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/app-office/lyx/files/2.0.8-python.patch b/app-office/lyx/files/2.0.8-python.patch deleted file mode 100644 index 5fb21655a695..000000000000 --- a/app-office/lyx/files/2.0.8-python.patch +++ /dev/null @@ -1,29 +0,0 @@ -diff --git a/src/graphics/GraphicsConverter.cpp b/src/graphics/GraphicsConverter.cpp -index 97c4f68..8f05e62 100644 ---- a/src/graphics/GraphicsConverter.cpp -+++ b/src/graphics/GraphicsConverter.cpp -@@ -262,7 +262,7 @@ static void build_script(FileName const & from_file, - LYXERR(Debug::GRAPHICS, "build_script ... "); - typedef Graph::EdgePath EdgePath; - -- script << "#!/usr/bin/env python\n" -+ script << "#!/usr/bin/env python2\n" - "# -*- coding: utf-8 -*-\n" - "import os, shutil, sys\n\n" - "def unlinkNoThrow(file):\n" -diff --git a/src/support/os.cpp b/src/support/os.cpp -index 8f60c68..2f1cb91 100644 ---- a/src/support/os.cpp -+++ b/src/support/os.cpp -@@ -63,9 +63,9 @@ int timeout_min() - string const python(bool reset) - { - // Check whether the first python in PATH is the right one. -- static string command = python2("python -tt"); -+ static string command = python2("python2 -tt"); - if (reset) { -- command = python2("python -tt"); -+ command = python2("python2 -tt"); - } - - if (command.empty()) { |