From: | "Jeroen Roovers (jer)" <jer@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in net-misc/vncrec/files: vncrec-0.2-includes.patch |
Date: | Tue, 28 Sep 2010 18:28:47 |
Message-Id: | 20100928182834.C94B320051@flycatcher.gentoo.org |
1 | jer 10/09/28 18:28:34 |
2 | |
3 | Added: vncrec-0.2-includes.patch |
4 | Log: |
5 | Fix some missing includes. Make sure Makefile does not run make Makefiles as xmkmf -a already does that. Move xmkmf to src_configure(). Respect LDFLAGS (bug #336116), CC, CFLAGS. Add missing deps. Fix quoting issue. |
6 | |
7 | (Portage version: 2.2_rc86/cvs/Linux i686) |
8 | |
9 | Revision Changes Path |
10 | 1.1 net-misc/vncrec/files/vncrec-0.2-includes.patch |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/vncrec/files/vncrec-0.2-includes.patch?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/vncrec/files/vncrec-0.2-includes.patch?rev=1.1&content-type=text/plain |
14 | |
15 | Index: vncrec-0.2-includes.patch |
16 | =================================================================== |
17 | --- a/vncconnect/vncconnect.c 2001-06-09 05:41:45.000000000 +0200 |
18 | +++ b/vncconnect/vncconnect.c 2010-09-28 20:19:03.000000000 +0200 |
19 | @@ -5,6 +5,8 @@ |
20 | #include <stdio.h> |
21 | #include <X11/Xlib.h> |
22 | #include <X11/Xatom.h> |
23 | +#include <stdlib.h> /* exit() */ |
24 | +#include <string.h> /* strlen() */ |
25 | |
26 | static char *programName; |
27 | |
28 | --- a/libvncauth/vncauth.c 2001-06-09 05:41:45.000000000 +0200 |
29 | +++ b/libvncauth/vncauth.c 2010-09-28 20:19:44.000000000 +0200 |
30 | @@ -28,6 +28,7 @@ |
31 | #include <sys/stat.h> |
32 | #include <vncauth.h> |
33 | #include <d3des.h> |
34 | +#include <time.h> /* time() */ |
35 | |
36 | |
37 | /* |