pkgsrc/mail/ja-mh/patches/patch-ab
joerg 3b6df974e1 Add DragonFly support. Fix errno usage. Remove special-casing
of FreeBSD-like systems with objformat, we want minor shared library
numbers.
2006-04-11 15:08:38 +00:00

21 lines
670 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.3 2006/04/11 15:08:38 joerg Exp $
--- 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 ();