summaryrefslogtreecommitdiff
path: root/misc/screen/patches
diff options
context:
space:
mode:
authorjoerg <joerg>2005-11-08 12:58:47 +0000
committerjoerg <joerg>2005-11-08 12:58:47 +0000
commit7bd0a79b4a6049ca01e9159c28b459db20b25b4d (patch)
tree7d8bbc859030c5d3f8ce7d0ec0436b2540685919 /misc/screen/patches
parent84249bd0fbf8e4099b7b9e08dc480f65f2a62ec3 (diff)
downloadpkgsrc-7bd0a79b4a6049ca01e9159c28b459db20b25b4d.tar.gz
Always use the errno from errno.h.
Diffstat (limited to 'misc/screen/patches')
-rw-r--r--misc/screen/patches/patch-ai20
1 files changed, 14 insertions, 6 deletions
diff --git a/misc/screen/patches/patch-ai b/misc/screen/patches/patch-ai
index 8486f862ac3..ae4b7599f37 100644
--- a/misc/screen/patches/patch-ai
+++ b/misc/screen/patches/patch-ai
@@ -1,10 +1,18 @@
-$NetBSD: patch-ai,v 1.1 2002/09/15 06:51:37 kim Exp $
+$NetBSD: patch-ai,v 1.2 2005/11/08 12:58:47 joerg Exp $
-Use utmpx on NetBSD where available.
-
---- os.h.orig Tue Jan 8 10:42:33 2002
-+++ os.h Sun Sep 15 01:47:33 2002
-@@ -260,9 +260,15 @@
+--- os.h.orig 2002-01-08 15:42:33.000000000 +0000
++++ os.h
+@@ -62,9 +62,6 @@
+ # undef exit
+ #endif /* sun */
+
+-#ifndef linux /* all done in <errno.h> */
+-extern int errno;
+-#endif /* linux */
+ #ifndef HAVE_STRERROR
+ /* No macros, please */
+ #undef strerror
+@@ -260,9 +257,15 @@ extern int errno;
#endif
#if defined(UTMPOK) || defined(BUGGYGETLOGIN)