Files
pkgsrc-ng/mail/ja-mh/patches/patch-ab
2013-09-26 17:14:40 +02:00

25 lines
718 B
Plaintext
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
$NetBSD: patch-ab,v 1.4 2010/09/27 12:01:49 taca Exp $
* Add DragonFly support.
* Don't declare errno.
--- zotnet/mts/client.c.orig 2006-04-11 13:04:19.000000000 +0000
+++ zotnet/mts/client.c
@@ -52,7 +52,6 @@ static Key_schedule schedule;
/* */
-extern int errno;
#if !defined(BSD44) && !defined(__GNU_LIBRARY__)
extern int sys_nerr;
extern char *sys_errlist[];
@@ -361,7 +360,7 @@ int net;
#if !defined(SOLARIS) && !defined(linux) && !defined(__bsdi__) && \
!defined(OSF1) && !defined(__osf__) && !defined(__FreeBSD__) && \
- !defined(__NetBSD__) && !defined(__OpenBSD__)
+ !defined(__NetBSD__) && !defined(__OpenBSD__) && !defined(__DragonFly__)
#ifndef DG
#ifndef __alpha
u_long inet_addr ();