diff options
author | Kirill Ponomarev <krion@FreeBSD.org> | 2004-08-22 16:10:38 +0000 |
---|---|---|
committer | Kirill Ponomarev <krion@FreeBSD.org> | 2004-08-22 16:10:38 +0000 |
commit | 123b82cb2122dc5a9e1e57315b8d53a442f474f6 (patch) | |
tree | 40c766238a39955bb970e96803cfa97fd45179d7 /x11 | |
parent | 3059ad39db521b92b8f103df03ce3dfc44b96843 (diff) | |
download | freebsd-ports-123b82cb2122dc5a9e1e57315b8d53a442f474f6.zip |
Fix build with gcc-3.4
Diffstat (limited to 'x11')
-rw-r--r-- | x11/xtrlock/files/patch-xtrlock.c | 42 |
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: |