File openEMS-octave-nf2ff-load.patch of Package openEMS

Index: openEMS-0.0.34/matlab/CalcNF2FF.m
===================================================================
--- openEMS-0.0.34.orig/matlab/CalcNF2FF.m
+++ openEMS-0.0.34/matlab/CalcNF2FF.m
@@ -99,9 +99,7 @@ m_filename = mfilename('fullpath');
 dir_name = fileparts( m_filename );
 
 if isunix
-    nf2ff_bin = searchBinary('nf2ff', ...
-    {[dir_name filesep '..' filesep 'nf2ff' filesep], ...
-     [dir_name filesep '..' filesep '..' filesep '..' filesep 'bin' filesep]}, 0);
+    nf2ff_bin = 'nf2ff';
 else
     nf2ff_bin = searchBinary('nf2ff.exe',[dir_name filesep '..' filesep], 0);
 end