annotate src/stable-octave-1-fixes.patch @ 4059:b5a28d770997

of-communications, of-octcdf: update patch for default repo of octave * src/of-communications-1-fixes.patch: update patch * src/of-octcdf-1-cross-fixes.patch: update patch
author John Donoghue
date Wed, 25 Nov 2015 12:29:03 -0500
parents f285f1a665d4
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3532
f285f1a665d4 stable-octave: update to 3.8.1-rc3
John W. Eaton <jwe@octave.org>
parents: 3520
diff changeset
1 --- a/libgnu/unistd.in.h 2013-11-26 03:43:39.000000000 -0500
f285f1a665d4 stable-octave: update to 3.8.1-rc3
John W. Eaton <jwe@octave.org>
parents: 3520
diff changeset
2 +++ b/libgnu/unistd.in.h 2014-02-16 16:21:36.254338221 -0500
f285f1a665d4 stable-octave: update to 3.8.1-rc3
John W. Eaton <jwe@octave.org>
parents: 3520
diff changeset
3 @@ -714,7 +714,7 @@
f285f1a665d4 stable-octave: update to 3.8.1-rc3
John W. Eaton <jwe@octave.org>
parents: 3520
diff changeset
4 Null terminate it if the name is shorter than LEN.
f285f1a665d4 stable-octave: update to 3.8.1-rc3
John W. Eaton <jwe@octave.org>
parents: 3520
diff changeset
5 If the host name is longer than LEN, set errno = EINVAL and return -1.
f285f1a665d4 stable-octave: update to 3.8.1-rc3
John W. Eaton <jwe@octave.org>
parents: 3520
diff changeset
6 Return 0 if successful, otherwise set errno and return -1. */
f285f1a665d4 stable-octave: update to 3.8.1-rc3
John W. Eaton <jwe@octave.org>
parents: 3520
diff changeset
7 -# if @UNISTD_H_HAVE_WINSOCK2_H@
f285f1a665d4 stable-octave: update to 3.8.1-rc3
John W. Eaton <jwe@octave.org>
parents: 3520
diff changeset
8 +# if !@HAVE_GETHOSTNAME@ && @UNISTD_H_HAVE_WINSOCK2_H@
f285f1a665d4 stable-octave: update to 3.8.1-rc3
John W. Eaton <jwe@octave.org>
parents: 3520
diff changeset
9 # if !(defined __cplusplus && defined GNULIB_NAMESPACE)
f285f1a665d4 stable-octave: update to 3.8.1-rc3
John W. Eaton <jwe@octave.org>
parents: 3520
diff changeset
10 # undef gethostname
f285f1a665d4 stable-octave: update to 3.8.1-rc3
John W. Eaton <jwe@octave.org>
parents: 3520
diff changeset
11 # define gethostname rpl_gethostname