summaryrefslogtreecommitdiff
path: root/comms/mgetty+sendfax
diff options
context:
space:
mode:
authorfredb <fredb>2003-02-27 14:42:55 +0000
committerfredb <fredb>2003-02-27 14:42:55 +0000
commiteeeec59212ff0fe33fcf48bd4cfb6d3c04850ea5 (patch)
tree31984f4ebb67f82c221b080e9d9841aa4f18fa37 /comms/mgetty+sendfax
parent9b6e1341a1ca65d523d864f9f993592f7932ef4a (diff)
downloadpkgsrc-eeeec59212ff0fe33fcf48bd4cfb6d3c04850ea5.tar.gz
Be consistent about testing for __GLIBC__.
Diffstat (limited to 'comms/mgetty+sendfax')
-rw-r--r--comms/mgetty+sendfax/patches/patch-al6
1 files changed, 3 insertions, 3 deletions
diff --git a/comms/mgetty+sendfax/patches/patch-al b/comms/mgetty+sendfax/patches/patch-al
index a2c48f8a4be..a4568e5c088 100644
--- a/comms/mgetty+sendfax/patches/patch-al
+++ b/comms/mgetty+sendfax/patches/patch-al
@@ -1,4 +1,4 @@
-$NetBSD: patch-al,v 1.1 2003/02/26 21:45:45 fredb Exp $
+$NetBSD: patch-al,v 1.2 2003/02/27 14:42:55 fredb Exp $
--- utmp.c.orig 2001-12-17 16:43:25.000000000 -0600
+++ utmp.c
@@ -19,7 +19,7 @@ $NetBSD: patch-al,v 1.1 2003/02/26 21:45:45 fredb Exp $
-
-#ifndef ENOENT
-#include <errno.h>
-+#if !defined(SVR4) && !defined(NETBSD_UTMPX) && __GLIBC__ < 2
++#if !defined(SVR4) && !defined(NETBSD_UTMPX) && !defined(__GLIBC__) || __GLIBC__ < 2
+# include <sys/stat.h>
+# ifndef ENOENT
+# include <errno.h>
@@ -51,7 +51,7 @@ $NetBSD: patch-al,v 1.1 2003/02/26 21:45:45 fredb Exp $
+char id[4];
+struct utmpx ut;
+#else
-+# if !(defined(SVR4) || (defined(__GLIBC__) && __GLIBC__ >= 2)
++# if !defined(SVR4) && !defined(__GLIBC__) || __GLIBC__ < 2
struct stat st;
+# endif
+#endif