From 401101f9c8077911929d3f2b60a37098460a5d89 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 24 Mar 2022 23:59:54 +0000 Subject: gentoo resync : 25.03.2022 --- sci-calculators/orpie/files/orpie-1.6.1-orpierc.patch | 11 +++++++++++ sci-calculators/orpie/files/orpie-1.6.1-rcfile.patch | 14 ++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 sci-calculators/orpie/files/orpie-1.6.1-orpierc.patch create mode 100644 sci-calculators/orpie/files/orpie-1.6.1-rcfile.patch (limited to 'sci-calculators/orpie/files') diff --git a/sci-calculators/orpie/files/orpie-1.6.1-orpierc.patch b/sci-calculators/orpie/files/orpie-1.6.1-orpierc.patch new file mode 100644 index 000000000000..6679d645e86d --- /dev/null +++ b/sci-calculators/orpie/files/orpie-1.6.1-orpierc.patch @@ -0,0 +1,11 @@ +--- a/etc/orpierc ++++ b/etc/orpierc +@@ -4,7 +4,7 @@ + # directory for storing Orpie data + set datadir="~/.orpie/" + # editor used for fullscreen viewing of stack elements +-set editor="vi" ++set editor="${EDITOR}" + # whether or not to hide the help panel + set hide_help="false" + # whether or not to conserve memory in favor of faster rendering diff --git a/sci-calculators/orpie/files/orpie-1.6.1-rcfile.patch b/sci-calculators/orpie/files/orpie-1.6.1-rcfile.patch new file mode 100644 index 000000000000..19e861fd078e --- /dev/null +++ b/sci-calculators/orpie/files/orpie-1.6.1-rcfile.patch @@ -0,0 +1,14 @@ +--- a/src/orpie/rcfile.ml 2022-03-21 11:25:42.405186025 +0100 ++++ b/src/orpie/rcfile.ml 2022-03-21 11:24:44.477121172 +0100 +@@ -916,10 +916,7 @@ + let rcfile_fullpath = + (* expand out any occurrences of ${prefix} that autoconf + * decides to insert *) +- let prefix_regex = Str.regexp "\\${prefix}" in +- let expanded_sysconfdir = Str.global_replace prefix_regex +- Install.prefix Install.sysconfdir in +- Utility.join_path expanded_sysconfdir "orpierc" ++ "/etc/orpie/orpierc" + in + begin try (open_in home_rcfile, home_rcfile) + with Sys_error error_str -> -- cgit v1.2.3