Mercurial > mxe-octave
annotate src/octave-1-fixes.patch @ 3721:933b99febcf1
Expand options to support 3 possible sources of octave
* configure.ac: modify --enable-stable rule to --enable-octave=source (stable,alpha,default)
* Makefile.am: modify OCTAVE_TARGET based on octave build value set in configure.
* index.html: added master-octave information.
* src/default-octave.mk: new file.
* src/default-octave-1-docinstall.patch
* dist-files.mk: add default-octave-1-docinstall.patch default-octave.mk
* binary-dist-rules.mk: use OCTAVE_TARGET to decide on tarball/installer name
author | John Donoghue <john.donoghue@ieee.org> |
---|---|
date | Sun, 19 Oct 2014 22:58:20 -0400 |
parents | 7e203439d0a9 |
children |
rev | line source |
---|---|
3525
7e203439d0a9
stable-octave, octave: fix gnulib gethostname bug w64 on systems
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
1 --- a/libgnu/unistd.in.h 2013-11-26 03:43:39.000000000 -0500 |
7e203439d0a9
stable-octave, octave: fix gnulib gethostname bug w64 on systems
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
2 +++ b/libgnu/unistd.in.h 2014-02-16 16:21:36.254338221 -0500 |
7e203439d0a9
stable-octave, octave: fix gnulib gethostname bug w64 on systems
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
3 @@ -714,7 +714,7 @@ |
7e203439d0a9
stable-octave, octave: fix gnulib gethostname bug w64 on systems
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
4 Null terminate it if the name is shorter than LEN. |
7e203439d0a9
stable-octave, octave: fix gnulib gethostname bug w64 on systems
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
5 If the host name is longer than LEN, set errno = EINVAL and return -1. |
7e203439d0a9
stable-octave, octave: fix gnulib gethostname bug w64 on systems
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
6 Return 0 if successful, otherwise set errno and return -1. */ |
7e203439d0a9
stable-octave, octave: fix gnulib gethostname bug w64 on systems
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
7 -# if @UNISTD_H_HAVE_WINSOCK2_H@ |
7e203439d0a9
stable-octave, octave: fix gnulib gethostname bug w64 on systems
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
8 +# if !@HAVE_GETHOSTNAME@ && @UNISTD_H_HAVE_WINSOCK2_H@ |
7e203439d0a9
stable-octave, octave: fix gnulib gethostname bug w64 on systems
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
9 # if !(defined __cplusplus && defined GNULIB_NAMESPACE) |
7e203439d0a9
stable-octave, octave: fix gnulib gethostname bug w64 on systems
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
10 # undef gethostname |
7e203439d0a9
stable-octave, octave: fix gnulib gethostname bug w64 on systems
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
11 # define gethostname rpl_gethostname |