Mercurial > mxe-octave
view src/octave-1-gnulib.patch @ 4538:979f5b397e51
maint: update PKG_UPDATE targets
* src/boost.mk: update UPDATE target, use https
* src/cmake.mk: add usable UPDATE target
* src/double-conversion.mk: add usable UPDATE target
* src/dri2proto.mk: add PKG_UPDATE
* src/exiv2.mk: update UPDATE for archives
* src/fribidi.mk: update UPDATE for github
* src/glproto.mk: add PKG_UPDATE
* src/glu.mk: add PKG_UPDATE
* src/levmar.mk: add user-agent to UPDATE
* src/libarchive.mk: update UPDATE for website
* src/libass.mk: update UPDATE for github
* src/libdrm.mk: add PKG_UPDATE
* src/libffi.mk: update for webpage changes
* src/libgee.mk: update for gnome page changes
* src/libgsf.mk: update for gnome page changes
* src/libidn2.mk: correct PKG_UPDATE
author | John D |
---|---|
date | Tue, 21 Nov 2017 12:03:47 -0500 |
parents | 136474a59a67 |
children |
line wrap: on
line source
diff -uNr a/libgnu/unistd.in.h b/libgnu/unistd.in.h --- a/libgnu/unistd.in.h 2016-06-18 18:47:32.000000000 -0400 +++ b/libgnu/unistd.in.h 2016-06-23 18:45:42.410781867 -0400 @@ -734,7 +734,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