From: | "Kacper Kowalik (xarthisius)" <xarthisius@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in x11-misc/xbatt/files: xbatt-1.2.1-implicits.patch |
Date: | Sat, 28 Aug 2010 12:05:57 |
Message-Id: | 20100828120554.1C9BA20054@flycatcher.gentoo.org |
1 | xarthisius 10/08/28 12:05:53 |
2 | |
3 | Added: xbatt-1.2.1-implicits.patch |
4 | Log: |
5 | Respect CC,CFLAGS,LDFLAGS wrt bug 334965. Thanks to Diego for the report. Fix implicit functions declarations. Keyword on ~amd64. |
6 | (Portage version: 2.1.8.3/cvs/Linux x86_64) |
7 | |
8 | Revision Changes Path |
9 | 1.1 x11-misc/xbatt/files/xbatt-1.2.1-implicits.patch |
10 | |
11 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/xbatt/files/xbatt-1.2.1-implicits.patch?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/xbatt/files/xbatt-1.2.1-implicits.patch?rev=1.1&content-type=text/plain |
13 | |
14 | Index: xbatt-1.2.1-implicits.patch |
15 | =================================================================== |
16 | Fix implicit functions declarations |
17 | |
18 | --- xbatt.c |
19 | +++ xbatt.c |
20 | @@ -47,6 +47,9 @@ |
21 | #include <time.h> |
22 | #include <sys/file.h> |
23 | #include <sys/ioctl.h> |
24 | +#include <unistd.h> |
25 | +#include <stdlib.h> |
26 | +#include <X11/IntrinsicP.h> |
27 | #include <X11/StringDefs.h> |
28 | #include <X11/Intrinsic.h> |
29 | #include <X11/Shell.h> |