Mercurial > mxe-octave
annotate src/default-octave-1-fixes.patch @ 3993:3a38544f2a8f
default-octave: update cur current dev branch build
* src/default-octave-1-docinstall.patch: remove patch
* dist-files.mk: removed default-octave-1-docinstall.patch
* src/default-octave.mk: build libgnu first
author | John D |
---|---|
date | Mon, 27 Jul 2015 22:00:58 -0400 |
parents | bc32b686d0f5 |
children |
rev | line source |
---|---|
3755
bc32b686d0f5
default-octave: add patch for successful compile of current default branch
John Donoghue
parents:
diff
changeset
|
1 --- a/libgnu/unistd.in.h 2013-11-26 03:43:39.000000000 -0500 |
bc32b686d0f5
default-octave: add patch for successful compile of current default branch
John Donoghue
parents:
diff
changeset
|
2 +++ b/libgnu/unistd.in.h 2014-02-16 16:21:36.254338221 -0500 |
bc32b686d0f5
default-octave: add patch for successful compile of current default branch
John Donoghue
parents:
diff
changeset
|
3 @@ -714,7 +714,7 @@ |
bc32b686d0f5
default-octave: add patch for successful compile of current default branch
John Donoghue
parents:
diff
changeset
|
4 Null terminate it if the name is shorter than LEN. |
bc32b686d0f5
default-octave: add patch for successful compile of current default branch
John Donoghue
parents:
diff
changeset
|
5 If the host name is longer than LEN, set errno = EINVAL and return -1. |
bc32b686d0f5
default-octave: add patch for successful compile of current default branch
John Donoghue
parents:
diff
changeset
|
6 Return 0 if successful, otherwise set errno and return -1. */ |
bc32b686d0f5
default-octave: add patch for successful compile of current default branch
John Donoghue
parents:
diff
changeset
|
7 -# if @UNISTD_H_HAVE_WINSOCK2_H@ |
bc32b686d0f5
default-octave: add patch for successful compile of current default branch
John Donoghue
parents:
diff
changeset
|
8 +# if !@HAVE_GETHOSTNAME@ && @UNISTD_H_HAVE_WINSOCK2_H@ |
bc32b686d0f5
default-octave: add patch for successful compile of current default branch
John Donoghue
parents:
diff
changeset
|
9 # if !(defined __cplusplus && defined GNULIB_NAMESPACE) |
bc32b686d0f5
default-octave: add patch for successful compile of current default branch
John Donoghue
parents:
diff
changeset
|
10 # undef gethostname |
bc32b686d0f5
default-octave: add patch for successful compile of current default branch
John Donoghue
parents:
diff
changeset
|
11 # define gethostname rpl_gethostname |