pkgsrc/mail/ja-mh/patches/patch-ab
taca f7ee73e0ba * Fix build problem on NetBSD current, terminfo case.
* Add comments to each patch file.
2010-09-27 12:01:49 +00:00

24 lines
718 B
Text
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 ();