summaryrefslogtreecommitdiff
path: root/sci-mathematics/coq-serapi/files/coq-serapi-sertop.el-path.patch
diff options
context:
space:
mode:
Diffstat (limited to 'sci-mathematics/coq-serapi/files/coq-serapi-sertop.el-path.patch')
-rw-r--r--sci-mathematics/coq-serapi/files/coq-serapi-sertop.el-path.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/sci-mathematics/coq-serapi/files/coq-serapi-sertop.el-path.patch b/sci-mathematics/coq-serapi/files/coq-serapi-sertop.el-path.patch
new file mode 100644
index 000000000000..628ed22a64ff
--- /dev/null
+++ b/sci-mathematics/coq-serapi/files/coq-serapi-sertop.el-path.patch
@@ -0,0 +1,12 @@
+index 300a22f..63f7dcc 100644
+--- a/sertop.el
++++ b/sertop.el
+@@ -37,7 +37,7 @@
+ (buffer-file-name))))
+
+ (defvar sertop-executable-path
+- (or (expand-file-name "sertop.native" sertop--root)
++ (or (executable-find "sertop.native")
+ (executable-find "sertop"))
+ "Path to sertop.")
+