pkgsrc-ng/lang/ocaml/patches/patch-zz-minix-h
Lionel Sambuc bc03a75ab6 lang/ocaml
This is based of the work of Pierre Metras <pierre@alterna.tv>.
2017-01-10 20:06:48 +01:00

12 lines
314 B
Plaintext

--- config/auto-aux/gethostbyname.c.orig Wed Nov 16 00:17:47 2016
+++ config/auto-aux/gethostbyname.c Wed Nov 16 00:18:21 2016
@@ -21,7 +21,7 @@
#include <sys/types.h>
#include <netdb.h>
-#ifdef SYS_netbsd
+#if defined(SYS_netbsd) || defined(SYS_minix)
#error "this OS doesn't have gethostbyname_r"
#endif