summaryrefslogtreecommitdiff
path: root/sci-calculators/orpie/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-03-24 23:59:54 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-03-24 23:59:54 +0000
commit401101f9c8077911929d3f2b60a37098460a5d89 (patch)
treec2bef4719f6787550f0916aeaa8f4f403a9296af /sci-calculators/orpie/files
parent4cbcc855382a06088e2f016f62cafdbcb7e40665 (diff)
gentoo resync : 25.03.2022
Diffstat (limited to 'sci-calculators/orpie/files')
-rw-r--r--sci-calculators/orpie/files/orpie-1.6.1-orpierc.patch11
-rw-r--r--sci-calculators/orpie/files/orpie-1.6.1-rcfile.patch14
2 files changed, 25 insertions, 0 deletions
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 ->