comparison src/default-octave-1-fixes.patch @ 3755:bc32b686d0f5

default-octave: add patch for successful compile of current default branch * dist-files.mk: added default-octave-1-fixes.patch * src/default-octave-1-fixes.patch: new file * src/default-octave.mk: update to latest checksum
author John Donoghue
date Mon, 08 Dec 2014 12:55:20 -0500
parents
children
comparison
equal deleted inserted replaced
3754:8657bb199f09 3755:bc32b686d0f5
1 --- a/libgnu/unistd.in.h 2013-11-26 03:43:39.000000000 -0500
2 +++ b/libgnu/unistd.in.h 2014-02-16 16:21:36.254338221 -0500
3 @@ -714,7 +714,7 @@
4 Null terminate it if the name is shorter than LEN.
5 If the host name is longer than LEN, set errno = EINVAL and return -1.
6 Return 0 if successful, otherwise set errno and return -1. */
7 -# if @UNISTD_H_HAVE_WINSOCK2_H@
8 +# if !@HAVE_GETHOSTNAME@ && @UNISTD_H_HAVE_WINSOCK2_H@
9 # if !(defined __cplusplus && defined GNULIB_NAMESPACE)
10 # undef gethostname
11 # define gethostname rpl_gethostname