Description: Use the correct path for the info file
 This is a Debian-specific patch.
Author: Rafael Laboissiere <rafael@debian.org>
Forwarded: not-needed
Last-Update: 2016-05-07

--- octave-parallel-3.1.0.orig/inst/parallel_doc.m
+++ octave-parallel-3.1.0/inst/parallel_doc.m
@@ -34,25 +34,7 @@ function parallel_doc (keyword)
   ## locate installed documentation
   persistent infopath = "";
   if (isempty (infopath))
-    [local_list, global_list] = pkg ("list");
-    if (! isempty (idx = ...
-                   find (strcmp ("parallel",
-                                 {structcat(1, local_list{:}).name}),
-                         1)))
-      idir = local_list{idx}.dir;
-    elseif (! isempty (idx = ...
-                       find (strcmp ("parallel",
-                                     {structcat(1, global_list{:}).name}),
-                             1)))
-      idir = global_list{idx}.dir;
-    else
-      error ("no installed parallel package found");
-    endif
-    infopath = fullfile (idir, "doc/", "parallel.info");
-    ## allow for .gz
-    if (! exist (infopath, "file"))
-      infopath = strcat (infopath, ".gz");
-    endif
+    infopath = "/usr/share/info/parallel.info.gz";
   endif
 
   ## display info
