File: pserver-path.patch

package info (click to toggle)
octave-parallel 4.0.1-6
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 4,752 kB
  • sloc: ansic: 23,442; cpp: 6,790; sh: 4,476; makefile: 290; perl: 170; xml: 22
file content (22 lines) | stat: -rw-r--r-- 618 bytes parent folder | download
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: 2021-11-20

--- octave-parallel-4.0.0.orig/inst/pserver.m
+++ octave-parallel-4.0.0/inst/pserver.m
@@ -179,6 +179,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