# HG changeset patch # User John W. Eaton # Date 1392628372 18000 # Node ID f285f1a665d42e13b6f92d461724b439aad03da4 # Parent d765eab1691e411ac54f951cfb9776b53a830e1f stable-octave: update to 3.8.1-rc3 diff -r d765eab1691e -r f285f1a665d4 src/stable-octave-1-fixes.patch --- a/src/stable-octave-1-fixes.patch Mon Feb 17 01:20:23 2014 -0500 +++ b/src/stable-octave-1-fixes.patch Mon Feb 17 04:12:52 2014 -0500 @@ -1,12 +1,11 @@ -diff -ur a/libinterp/corefcn/file-io.cc b/libinterp/corefcn/file-io.cc ---- a/libinterp/corefcn/file-io.cc 2014-01-08 01:39:44.000000000 -0500 -+++ b/libinterp/corefcn/file-io.cc 2014-02-14 17:31:58.816756036 -0500 -@@ -1801,7 +1801,7 @@ - return retval; - } - --DEFUN (popen, args, , -+DEFUNX ("popen", Fpopen, args, , - "-*- texinfo -*-\n\ - @deftypefn {Built-in Function} {@var{fid} =} popen (@var{command}, @var{mode})\n\ - Start a process and create a pipe. The name of the command to run is\n\ +--- a/libgnu/unistd.in.h 2013-11-26 03:43:39.000000000 -0500 ++++ b/libgnu/unistd.in.h 2014-02-16 16:21:36.254338221 -0500 +@@ -714,7 +714,7 @@ + Null terminate it if the name is shorter than LEN. + If the host name is longer than LEN, set errno = EINVAL and return -1. + Return 0 if successful, otherwise set errno and return -1. */ +-# if @UNISTD_H_HAVE_WINSOCK2_H@ ++# if !@HAVE_GETHOSTNAME@ && @UNISTD_H_HAVE_WINSOCK2_H@ + # if !(defined __cplusplus && defined GNULIB_NAMESPACE) + # undef gethostname + # define gethostname rpl_gethostname diff -r d765eab1691e -r f285f1a665d4 src/stable-octave-2-fixes.patch --- a/src/stable-octave-2-fixes.patch Mon Feb 17 01:20:23 2014 -0500 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,11 +0,0 @@ ---- a/libgnu/unistd.in.h 2013-11-26 03:43:39.000000000 -0500 -+++ b/libgnu/unistd.in.h 2014-02-16 16:21:36.254338221 -0500 -@@ -714,7 +714,7 @@ - Null terminate it if the name is shorter than LEN. - If the host name is longer than LEN, set errno = EINVAL and return -1. - Return 0 if successful, otherwise set errno and return -1. */ --# if @UNISTD_H_HAVE_WINSOCK2_H@ -+# if !@HAVE_GETHOSTNAME@ && @UNISTD_H_HAVE_WINSOCK2_H@ - # if !(defined __cplusplus && defined GNULIB_NAMESPACE) - # undef gethostname - # define gethostname rpl_gethostname diff -r d765eab1691e -r f285f1a665d4 src/stable-octave.mk --- a/src/stable-octave.mk Mon Feb 17 01:20:23 2014 -0500 +++ b/src/stable-octave.mk Mon Feb 17 04:12:52 2014 -0500 @@ -3,8 +3,8 @@ PKG := stable-octave $(PKG)_IGNORE := -$(PKG)_VERSION := 3.8.1-rc1 -$(PKG)_CHECKSUM := 5253e22690c7af70c28077b290354503fcfca13c +$(PKG)_VERSION := 3.8.1-rc3 +$(PKG)_CHECKSUM := 437568b1e2b2a8194451ce604a3e2a99f3593a7d $(PKG)_SUBDIR := octave-$($(PKG)_VERSION) $(PKG)_FILE := octave-$($(PKG)_VERSION).tar.gz $(PKG)_URL := ftp://ftp.gnu.org/gnu/octave/$($(PKG)_FILE)