Mercurial > mxe-octave
diff src/of-miscellaneous-3-dev-fixes.patch @ 4771:a08799ef1197
of-miscellaneous: use __octave_config_info__
* src/of-miscellaneous-3-dev-fixes.patch: new file
* dist-files.mk: add of-miscellaneous-3-dev-fixes.patch
author | John Donoghue |
---|---|
date | Wed, 11 Jul 2018 13:35:05 -0400 |
parents | |
children | aa8e596703c2 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/of-miscellaneous-3-dev-fixes.patch Wed Jul 11 13:35:05 2018 -0400 @@ -0,0 +1,12 @@ +diff -ur miscellaneous-1.2.1.orig/inst/units.m miscellaneous-1.2.1/inst/units.m +--- miscellaneous-1.2.1.orig/inst/units.m 2018-07-11 12:44:26.038777666 -0400 ++++ miscellaneous-1.2.1/inst/units.m 2018-07-11 12:45:50.033750024 -0400 +@@ -107,7 +107,7 @@ + + function fpath = check_units () + ## See bug #38270 about why we're checking this way. +- fpath = file_in_path (getenv ("PATH"), sprintf ("units%s", octave_config_info ("EXEEXT"))); ++ fpath = file_in_path (getenv ("PATH"), sprintf ("units%s", __octave_config_info__ ("EXEEXT"))); + if (isempty (fpath)) + error ("units: %s\nVerify that GNU units is installed in the current path.", + rawoutput);