summaryrefslogtreecommitdiff
path: root/x11/kdebase/patches/patch-ao
diff options
context:
space:
mode:
Diffstat (limited to 'x11/kdebase/patches/patch-ao')
-rw-r--r--x11/kdebase/patches/patch-ao76
1 files changed, 0 insertions, 76 deletions
diff --git a/x11/kdebase/patches/patch-ao b/x11/kdebase/patches/patch-ao
deleted file mode 100644
index a6fedc03abe..00000000000
--- a/x11/kdebase/patches/patch-ao
+++ /dev/null
@@ -1,76 +0,0 @@
-$NetBSD: patch-ao,v 1.7 2001/09/10 08:23:19 skrll Exp $
-
---- kdm/kgreeter.cpp.orig Mon Aug 16 12:36:34 1999
-+++ kdm/kgreeter.cpp
-@@ -65,7 +65,7 @@
- #include <shadow.h>
- #endif
-
--#ifdef HAVE_LOGIN_CAP_H
-+#if defined(HAVE_LOGIN_CAP_H) && !defined(__NetBSD__)
- #include <login_cap.h> /* BSDI-like login classes */
- #endif
-
-@@ -521,7 +521,7 @@
- memset(swd->sp_pwdp, 0, strlen(swd->sp_pwdp));
- #endif
-
--#ifdef HAVE_LOGIN_CAP_H
-+#if defined(HAVE_LOGIN_CAP_H) && !defined(__NetBSD__)
- lc = login_getpwclass(pwd);
- #endif
-
-@@ -531,7 +531,7 @@
- restrict_time())
- rval = true;
-
--#ifdef HAVE_LOGIN_CAP_H
-+#if defined(HAVE_LOGIN_CAP_H) && !defined(__NetBSD__)
- login_close(lc);
- lc = NULL;
- #endif
-@@ -539,7 +539,7 @@
- return rval;
- }
-
--#ifdef HAVE_LOGIN_CAP_H
-+#if defined(HAVE_LOGIN_CAP_H) && !defined(__NetBSD__)
- bool
- KGreeter::restrict_time()
- {
-@@ -581,7 +581,7 @@
- #define _PATH_NOLOGIN "/etc/nologin"
- #endif
-
--#ifdef HAVE_LOGIN_CAP_H
-+#if defined(HAVE_LOGIN_CAP_H) && !defined(__NetBSD__)
- /* Do we ignore a nologin file? */
- if (login_getcapbool(lc, "ignorenologin", 0))
- return false;
-@@ -597,7 +597,7 @@
-
- QFile f;
-
--#ifdef HAVE_LOGIN_CAP_H
-+#if defined(HAVE_LOGIN_CAP_H) && !defined(__NetBSD__)
- if (*file) {
- f.setName(file);
- f.open(IO_ReadOnly);
-@@ -632,7 +632,7 @@
- // don't deny root to log in
- if (!pwd->pw_uid) return false;
-
--#ifdef HAVE_LOGIN_CAP_H
-+#if defined(HAVE_LOGIN_CAP_H) && !defined(__NetBSD__)
- bool quietlog = login_getcapbool(lc, "hushlogin", 0);
- time_t warntime = login_getcaptime(lc, "warnexpire",
- DEFAULT_WARN, DEFAULT_WARN);
-@@ -694,7 +694,7 @@
- }
- #endif
-
--#ifdef HAVE_LOGIN_CAP_H
-+#if defined(HAVE_LOGIN_CAP_H) && !defined(__NetBSD__)
- bool
- KGreeter::restrict_nohome(){
- // don't deny root to log in