view src/stable-octave-1-fixes.patch @ 3762:86d65a780bab

epstool: added package * dist-files.mk: added epstool.mk, mingw-epstool-1-fixes.patch * index.html: added epstool package * src/default-octave.mk: added epstool as dependancy * src/mingw-epstool-1-fixes.patch: new file. * src/octave.mk: added epstool as dependancy * src/stable-octave.mk: added epstool as dependancy * src/epstool.mk: new file.
author John Donoghue <john.donoghue@ieee.org>
date Tue, 06 Jan 2015 18:59:50 -0500
parents f285f1a665d4
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