1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-06 06:30:19 +00:00

- Add patch to fix build errors.

- Bump portrevision.

Approved by:	maho (mentor, implicit)
This commit is contained in:
Stephen Montgomery-Smith 2011-07-23 03:31:23 +00:00
parent 1f9f77c8cc
commit 5993e9807e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=278193
4 changed files with 78 additions and 6 deletions
math
octave-forge-es
octave-forge-pt_br

View File

@ -7,14 +7,12 @@
PORTNAME= octave-forge-es
PORTVERSION= 0.0.4
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}/${OCTAVE_PKGNAME}/src
.include <bsd.port.pre.mk>

View File

@ -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 ())
{

View File

@ -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>

View File

@ -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 ())
{