summaryrefslogtreecommitdiff
path: root/app-office/lyx/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-09-23 10:22:15 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-09-23 10:22:15 +0100
commit8b4ace9c50842c5b83401ea7b179dcab940387e1 (patch)
tree230f3135ceaace633cf93e9838b185c4a6664c2e /app-office/lyx/files
parent9ee6d97c2883d42f204a533a8bc1f4562df778fb (diff)
gentoo resync : 23.09.2020
Diffstat (limited to 'app-office/lyx/files')
-rw-r--r--app-office/lyx/files/lyx-2.3.0-python.patch30
1 files changed, 0 insertions, 30 deletions
diff --git a/app-office/lyx/files/lyx-2.3.0-python.patch b/app-office/lyx/files/lyx-2.3.0-python.patch
deleted file mode 100644
index e41c2604bf5c..000000000000
--- a/app-office/lyx/files/lyx-2.3.0-python.patch
+++ /dev/null
@@ -1,30 +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 8eea49370a..d7a0f81aa3 100644
---- a/src/support/os.cpp
-+++ b/src/support/os.cpp
-@@ -65,10 +65,10 @@ int timeout_min()
- string const python(bool reset)
- {
- // Check whether the first python in PATH is the right one.
-- static string command = python23("python -tt");
-+ static string command = python23("python2 -tt");
- // FIXME THREAD
- if (reset) {
-- command = python23("python -tt");
-+ command = python23("python2 -tt");
- }
-
- if (command.empty()) {