view src/octave-1-fixes.patch @ 4058:c7e31c07c915

of-sparsrb: add new package * src/librsb.mk: new file * src/librsb-1-nobzero.patch: new patch * src/of-sparsersb.mk: new file * src/of-sparsersb-1-cross-build.patch: new patch * src/libgomp.mk: install libgomp.spec to build tools * build_packages.m: add sparserb package * index.html: add librsb and of-sparsersb packages * Makefile.in: add sparsersb package to of-
author John Donoghue <john.donoghue@ieee.org>
date Sun, 22 Nov 2015 19:01:31 -0500
parents 7e203439d0a9
children
line wrap: on
line source

--- a/libgnu/unistd.in.h	2013-11-26 03:43:39.000000000 -0500
+++ b/libgnu/unistd.in.h	2014-02-16 16:21:36.254338221 -0500
@@ -714,7 +714,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