1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-04 22:33:27 +00:00
freebsd-ports/x11/login.app/files/patch-ac
Steve Price 142e06cf65 Adding login.app version 2.0.0.a4.
A nice looking login interface to your favorite X-server.

PR:		16161
Submitted by:	Maxim Sobolev <sobomax@altavista.net>
2000-01-29 22:42:59 +00:00

20 lines
406 B
Plaintext

--- switchuser.c.orig Mon Jan 17 16:23:02 2000
+++ switchuser.c Mon Jan 17 16:38:50 2000
@@ -25,10 +25,16 @@
#include <grp.h>
#include <paths.h>
#include <sys/types.h>
+#ifndef __FreeBSD__
#include <shadow.h>
+#endif
#include <proplist.h>
#include "util.h"
#include "config.h"
+
+#ifdef __FreeBSD__
+extern char **environ;
+#endif
static char* baseName(const char* name) {
const char *base;