From 123b82cb2122dc5a9e1e57315b8d53a442f474f6 Mon Sep 17 00:00:00 2001 From: Kirill Ponomarev <krion@FreeBSD.org> Date: Sun, 22 Aug 2004 16:10:38 +0000 Subject: Fix build with gcc-3.4 --- x11/xtrlock/files/patch-xtrlock.c | 42 ++++++++++++++++++++++++--------------- 1 file changed, 26 insertions(+), 16 deletions(-) (limited to 'x11/xtrlock') 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: -- cgit v1.2.3