diff options
author | Michael Mair-Keimberger <m.mairkeimberger@gmail.com> | 2020-09-14 19:18:44 +0200 |
---|---|---|
committer | Conrad Kostecki <conikost@gentoo.org> | 2020-09-20 16:38:21 +0200 |
commit | 3eab9edb0ef990241033e674f4bea6438b82bfc7 (patch) | |
tree | 3e106ff73c563c8e3e77241fef21cfb493f72564 /app-office/lyx | |
parent | dev-libs/libgamin: remove unused patch (diff) | |
download | gentoo-3eab9edb0ef990241033e674f4bea6438b82bfc7.tar.gz gentoo-3eab9edb0ef990241033e674f4bea6438b82bfc7.tar.bz2 gentoo-3eab9edb0ef990241033e674f4bea6438b82bfc7.zip |
app-office/lyx: remove unused patch(es)
Closes: https://github.com/gentoo/gentoo/pull/17538
Package-Manager: Portage-3.0.6, Repoman-3.0.1
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger@gmail.com>
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'app-office/lyx')
-rw-r--r-- | app-office/lyx/files/lyx-2.3.0-python.patch | 30 |
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()) { |