summaryrefslogtreecommitdiff
path: root/x11/xtrlock
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2004-08-22 16:10:38 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2004-08-22 16:10:38 +0000
commit123b82cb2122dc5a9e1e57315b8d53a442f474f6 (patch)
tree40c766238a39955bb970e96803cfa97fd45179d7 /x11/xtrlock
parentFix build with gcc-3.4 (diff)
Fix build with gcc-3.4
Notes
Notes: svn path=/head/; revision=117039
Diffstat (limited to 'x11/xtrlock')
-rw-r--r--x11/xtrlock/files/patch-xtrlock.c42
1 files changed, 26 insertions, 16 deletions
diff --git a/x11/xtrlock/files/patch-xtrlock.c b/x11/xtrlock/files/patch-xtrlock.c
index 41feb0ef7974..19ed97aaa232 100644
--- a/x11/xtrlock/files/patch-xtrlock.c
+++ b/x11/xtrlock/files/patch-xtrlock.c
@@ -1,16 +1,26 @@
-*** xtrlock.c.orig Sun Sep 1 08:46:29 2002
---- xtrlock.c Tue May 18 17:45:48 2004
-***************
-*** 31,41 ****
- #include <grp.h>
- #include <limits.h>
- #include <string.h>
-- #include <crypt.h>
- #include <unistd.h>
- #include <math.h>
- #include <ctype.h>
-- #include <values.h>
-
- #ifdef SHADOW_PWD
- #include <shadow.h>
---- 31,39 ----
+
+$FreeBSD$
+
+--- xtrlock.c.orig Sun Aug 22 18:08:41 2004
++++ xtrlock.c Sun Aug 22 18:08:58 2004
+@@ -31,11 +31,9 @@
+ #include <grp.h>
+ #include <limits.h>
+ #include <string.h>
+-#include <crypt.h>
+ #include <unistd.h>
+ #include <math.h>
+ #include <ctype.h>
+-#include <values.h>
+
+ #ifdef SHADOW_PWD
+ #include <shadow.h>
+@@ -203,7 +201,7 @@
+ break;
+ }
+ break;
+- default:
++ default: break;
+ }
+ }
+ loop_x: