pkgsrc/net/socket++/patches/patch-aa
joerg 59b294e21a - add DragonFly support (positive lists for broken platforms would
simplify this...)
- disable propolice on DragonFly
- use void (*)(int) as type of sa_handler as by SUS
- correctly annotate info usage, bump revision for this
2006-05-12 07:44:26 +00:00

16 lines
675 B
Text

$NetBSD: patch-aa,v 1.2 2006/05/12 07:44:26 joerg Exp $
--- socket++/local.h.orig 2003-03-14 18:02:40.000000000 +0000
+++ socket++/local.h
@@ -90,8 +90,10 @@ extern "C" unsigned long inet_addr (cons
extern "C" char* inet_ntoa (in_addr ina);
#if !defined (__linux__)
+#if !defined (__NetBSD__)
extern "C" int gethostname (char* hostname, int len);
-#if !(defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__bsdi__) || defined(__APPLE__))
+#endif
+#if !(defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__bsdi__) || defined(__APPLE__) || defined(__DragonFly__))
extern char* SYS_SIGLIST [];
#endif
#endif