pkgsrc-ng/lang/ocaml/patches/patch-zz-minix-g
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/gethostbyaddr.c.orig Wed Nov 16 00:16:17 2016
+++ config/auto-aux/gethostbyaddr.c Wed Nov 16 00:16:58 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 gethostbyaddr_r"
#endif