aboutsummaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
authorjmz <jmz@FreeBSD.org>2000-09-26 03:00:49 +0800
committerjmz <jmz@FreeBSD.org>2000-09-26 03:00:49 +0800
commit8dc80466329710d4ad48cc85853c7ab4d9af5c4f (patch)
tree318fbe3df8b775a71eb9e59cddd74dfae6b65ca0 /x11
parentc70e3debab61e439213816e054deedae713de637 (diff)
downloadfreebsd-ports-gnome-8dc80466329710d4ad48cc85853c7ab4d9af5c4f.tar.gz
freebsd-ports-gnome-8dc80466329710d4ad48cc85853c7ab4d9af5c4f.tar.zst
freebsd-ports-gnome-8dc80466329710d4ad48cc85853c7ab4d9af5c4f.zip
Fix compilation. There was an undefined variable.
Diffstat (limited to 'x11')
-rw-r--r--x11/XFree86/files/patch-h12
1 files changed, 7 insertions, 5 deletions
diff --git a/x11/XFree86/files/patch-h b/x11/XFree86/files/patch-h
index 079f97a0d241..3ff2fafc0adf 100644
--- a/x11/XFree86/files/patch-h
+++ b/x11/XFree86/files/patch-h
@@ -527,18 +527,20 @@ diff -u programs/xfs/os/waitfor.c:1.1 X11/xc/programs/xfs/os/waitfor.c:1.2
client = clients[conn];
if (!client)
continue;
---- programs/xauth/process.c.orig Fri Jul 23 06:50:50 1999
-+++ programs/xauth/process.c Sat Sep 23 15:31:27 2000
-@@ -769,7 +769,7 @@
+--- programs/xauth/process.c.orig Fri Jul 23 15:50:50 1999
++++ programs/xauth/process.c Mon Sep 25 20:48:02 2000
+@@ -769,21 +769,18 @@
static int write_auth_file (tmp_nam)
char *tmp_nam;
{
- FILE *fp;
+ FILE *fp = NULL;
AuthList *list;
-
+-
++ int fd;
/*
-@@ -778,12 +778,9 @@
+ * xdm and auth spec assumes auth file is 12 or fewer characters
+ */
strcpy (tmp_nam, xauth_filename);
strcat (tmp_nam, "-n"); /* for new */
(void) unlink (tmp_nam);