From: | "Jeroen Roovers (jer)" <jer@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in net-misc/netkit-rusers/files: netkit-rusers-0.17-include.patch |
Date: | Fri, 31 Dec 2010 18:40:42 |
Message-Id: | 20101231184032.4395D20057@flycatcher.gentoo.org |
1 | jer 10/12/31 18:40:32 |
2 | |
3 | Added: netkit-rusers-0.17-include.patch |
4 | Log: |
5 | Respect LDFLAGS (bug #337620), CC. Fix some includes. Remove empty DEPEND. |
6 | |
7 | (Portage version: 2.2.0_alpha10/cvs/Linux i686) |
8 | |
9 | Revision Changes Path |
10 | 1.1 net-misc/netkit-rusers/files/netkit-rusers-0.17-include.patch |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/netkit-rusers/files/netkit-rusers-0.17-include.patch?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/netkit-rusers/files/netkit-rusers-0.17-include.patch?rev=1.1&content-type=text/plain |
14 | |
15 | Index: netkit-rusers-0.17-include.patch |
16 | =================================================================== |
17 | --- ./rup/err.c.orig 1997-04-06 00:13:31.000000000 +0200 |
18 | +++ ./rup/err.c 2010-12-31 19:29:41.000000000 +0100 |
19 | @@ -8,6 +8,7 @@ |
20 | #include <stdio.h> |
21 | #include <stdarg.h> |
22 | #include <err.h> |
23 | +#include <stdlib.h> /* exit() */ |
24 | |
25 | void err(int eval, const char *fmt, ...) { |
26 | va_list ap; |
27 | --- ./rpc.rusersd/rusers_proc.c.orig 2000-07-23 05:11:56.000000000 +0200 |
28 | +++ ./rpc.rusersd/rusers_proc.c 2010-12-31 19:27:50.000000000 +0100 |
29 | @@ -40,6 +40,7 @@ |
30 | #include <sys/socket.h> |
31 | #include <sys/param.h> |
32 | #include <sys/stat.h> |
33 | +#include <time.h> /* time() */ |
34 | #ifdef XIDLE |
35 | #include <setjmp.h> |
36 | #include <X11/Xlib.h> |
37 | --- ./rusers/rusers.c.orig 1999-12-12 20:32:05.000000000 +0100 |
38 | +++ ./rusers/rusers.c 2010-12-31 19:30:33.000000000 +0100 |
39 | @@ -44,6 +44,7 @@ |
40 | #include <utmp.h> |
41 | #include <stdlib.h> |
42 | #include <unistd.h> |
43 | +#include <time.h> /* ctime() */ |
44 | |
45 | #include "../version.h" |