diff options
author | krion <krion@FreeBSD.org> | 2004-08-23 00:10:38 +0800 |
---|---|---|
committer | krion <krion@FreeBSD.org> | 2004-08-23 00:10:38 +0800 |
commit | f44b4ed398f82d6e5fe095818e63c008041f034f (patch) | |
tree | 08435cfbc3d7856f2358add10272b877a26809df /x11/xtrlock | |
parent | 31f269d280fb9b6f09da2b91312576d05b09b602 (diff) | |
download | freebsd-ports-gnome-f44b4ed398f82d6e5fe095818e63c008041f034f.tar.gz freebsd-ports-gnome-f44b4ed398f82d6e5fe095818e63c008041f034f.tar.zst freebsd-ports-gnome-f44b4ed398f82d6e5fe095818e63c008041f034f.zip |
Fix build with gcc-3.4
Diffstat (limited to 'x11/xtrlock')
-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: |