File: pserver-path.patch

package info (click to toggle)
octave-parallel 4.0.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,648 kB
  • sloc: ansic: 24,011; cpp: 6,848; sh: 4,476; makefile: 297; perl: 170; xml: 22
file content (22 lines) | stat: -rw-r--r-- 618 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Description: Look for octave-pserver executable in /usr/libexec
 This is a Debian-specific patch.
Author: Rafael Laboissière <rafael@debian.org>
Forwarded: not-needed
Last-Update: 2023-09-16

--- octave-parallel-4.0.0.orig/inst/pserver.m
+++ octave-parallel-4.0.0/inst/pserver.m
@@ -170,6 +170,13 @@ function fpath = get_server_binary ()
 
     fpath = tp;
 
+  elseif (__isfile__ (tp = fullfile ("/usr/libexec", 
+                                     fname)))
+
+    ## Debian specific: installed in /usr/libexec
+
+    fpath = tp;
+
   elseif (! isempty (tp = search_path (fname)))
 
     ## in Octaves search path