diff options
author | 2018-02-21 17:24:52 +0100 | |
---|---|---|
committer | 2018-02-21 17:24:52 +0100 | |
commit | 01c59e91b3010a26d252c31439aea61d2922f52a (patch) | |
tree | 27972810ceb8aab49c2e7040caa1a4dd9f9f985b /app-office/lyx/files/2.1-python.patch | |
parent | Fix SRC_URI of pdfeditor. (diff) | |
download | rebutia-01c59e91b3010a26d252c31439aea61d2922f52a.tar.gz rebutia-01c59e91b3010a26d252c31439aea61d2922f52a.tar.bz2 rebutia-01c59e91b3010a26d252c31439aea61d2922f52a.zip |
lyx live 2.3 patch, not for wider use, it counts on qt4.
Diffstat (limited to 'app-office/lyx/files/2.1-python.patch')
-rw-r--r-- | app-office/lyx/files/2.1-python.patch | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/app-office/lyx/files/2.1-python.patch b/app-office/lyx/files/2.1-python.patch deleted file mode 100644 index 5fb2165..0000000 --- a/app-office/lyx/files/2.1-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()) { |