diff options
author | Stephen Montgomery-Smith <stephen@FreeBSD.org> | 2011-07-23 03:31:23 +0000 |
---|---|---|
committer | Stephen Montgomery-Smith <stephen@FreeBSD.org> | 2011-07-23 03:31:23 +0000 |
commit | 5993e9807ec1b5cc11968af6c6d24fc26b019645 (patch) | |
tree | 0706f7bdd3b3d92e221071a80259b25b72a506d3 /math/octave-forge-pt_br | |
parent | 1f9f77c8ccfb150ab6daffc2882a8d1d5a7985b9 (diff) |
Notes
Diffstat (limited to 'math/octave-forge-pt_br')
-rw-r--r-- | math/octave-forge-pt_br/Makefile | 4 | ||||
-rw-r--r-- | math/octave-forge-pt_br/files/patch-help.icc | 38 |
2 files changed, 39 insertions, 3 deletions
diff --git a/math/octave-forge-pt_br/Makefile b/math/octave-forge-pt_br/Makefile index ab7223bebed9..e374df1ac000 100644 --- a/math/octave-forge-pt_br/Makefile +++ b/math/octave-forge-pt_br/Makefile @@ -7,14 +7,12 @@ PORTNAME= octave-forge-pt_br PORTVERSION= 1.0.9 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= math MAINTAINER= stephen@FreeBSD.org COMMENT= Octave-forge package ${OCTAVE_PKGNAME} -BROKEN= Does not build with octave-3.4.0 - WRKSRC= ${WRKDIR}/pt_BR/src .include <bsd.port.pre.mk> diff --git a/math/octave-forge-pt_br/files/patch-help.icc b/math/octave-forge-pt_br/files/patch-help.icc new file mode 100644 index 000000000000..9ea3ffc8bf99 --- /dev/null +++ b/math/octave-forge-pt_br/files/patch-help.icc @@ -0,0 +1,38 @@ +--- help.icc-orig 2011-07-23 03:15:10.000000000 +0000 ++++ help.icc 2011-07-23 03:18:00.000000000 +0000 +@@ -36,6 +36,8 @@ + #include <octave/parse.h> + #include <octave/procstream.h> + #include <octave/help.h> ++#include <octave/syswait.h> ++#include <octave/lo-sysdep.h> + + #include "oct-md5.h" + +@@ -68,7 +70,7 @@ + { + os.flush (); + +- std::string tmp_file_name = file_ops::tempnam ("", ""); ++ std::string tmp_file_name = octave_tempnam ("", ""); + + int cols = command_editor::terminal_cols (); + +@@ -124,7 +126,7 @@ + warning ("%s:\n\n%s\n\n", HELP_STRING, msg.c_str ()); + } + +- file_ops::unlink (tmp_file_name); ++ octave_unlink (tmp_file_name); + } + else + os << msg; +@@ -139,7 +141,7 @@ + std::string h; + + std::string file = octave_env::make_absolute +- (load_path::find_file (nm + LANG_EXT), octave_env::getcwd ()); ++ (load_path::find_file (nm + LANG_EXT), octave_getcwd ()); + + if (! file.empty ()) + { |