From: | "Alexis Ballier (aballier)" <aballier@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in sys-freebsd/freebsd-sources/files: freebsd-sources-9.0-sysctluint.patch |
Date: | Fri, 25 May 2012 15:28:17 |
Message-Id: | 20120525152806.A1BA02004C@flycatcher.gentoo.org |
1 | aballier 12/05/25 15:28:06 |
2 | |
3 | Added: freebsd-sources-9.0-sysctluint.patch |
4 | Log: |
5 | Make the disable-optimizations patch unconditional and add a patch to allow sys/sysctl.h to be included alone |
6 | |
7 | (Portage version: 2.2.0_alpha108/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.1 sys-freebsd/freebsd-sources/files/freebsd-sources-9.0-sysctluint.patch |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-freebsd/freebsd-sources/files/freebsd-sources-9.0-sysctluint.patch?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-freebsd/freebsd-sources/files/freebsd-sources-9.0-sysctluint.patch?rev=1.1&content-type=text/plain |
14 | |
15 | Index: freebsd-sources-9.0-sysctluint.patch |
16 | =================================================================== |
17 | u_int is defined in sys/types.h |
18 | makes header usable alone. |
19 | |
20 | --- sys/sys/sysctl.h.old 2012-05-25 11:08:53.000000000 -0400 |
21 | +++ sys/sys/sysctl.h 2012-05-25 11:09:16.000000000 -0400 |
22 | @@ -788,6 +788,7 @@ |
23 | struct sysctl_req *); |
24 | #else /* !_KERNEL */ |
25 | #include <sys/cdefs.h> |
26 | +#include <sys/types.h> /* for u_int */ |
27 | |
28 | __BEGIN_DECLS |
29 | int sysctl(const int *, u_int, void *, size_t *, const void *, size_t); |