From: | "Anthony G. Basile (blueness)" <blueness@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in net-libs/axtls/files: bigint_impl.h-add-missing-include.patch |
Date: | Thu, 07 Jun 2012 00:13:39 |
Message-Id: | 20120607001329.471752004C@flycatcher.gentoo.org |
1 | blueness 12/06/07 00:13:29 |
2 | |
3 | Added: bigint_impl.h-add-missing-include.patch |
4 | Log: |
5 | Fix crypto/bigint_impl.h so curl can build against axtls |
6 | |
7 | (Portage version: 2.1.10.49/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.1 net-libs/axtls/files/bigint_impl.h-add-missing-include.patch |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/axtls/files/bigint_impl.h-add-missing-include.patch?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/axtls/files/bigint_impl.h-add-missing-include.patch?rev=1.1&content-type=text/plain |
14 | |
15 | Index: bigint_impl.h-add-missing-include.patch |
16 | =================================================================== |
17 | crypto/bigint_impl.h: missing #include <stdint.h> |
18 | |
19 | bigint_impl.h typedefs uint16_t and uint32_t but never |
20 | includes the headers where those are defined. On a standard |
21 | gnu/linux system that means you need #include <stdint.h>. |
22 | I hit this error when compiling curl --with-axtls and |
23 | adding the include fixed the compile time error. |
24 | |
25 | See: |
26 | https://sourceforge.net/tracker/?func=detail&aid=3515628&group_id=171217&atid=857113 |
27 | https://sourceforge.net/tracker/?func=detail&aid=3532467&group_id=171217&atid=857113 |
28 | |
29 | --- crypto/bigint_impl.h.orig 2012-04-07 01:10:24.000000000 -0400 |
30 | +++ crypto/bigint_impl.h 2012-04-06 23:00:22.000000000 -0400 |
31 | @@ -31,6 +31,8 @@ |
32 | #ifndef BIGINT_IMPL_HEADER |
33 | #define BIGINT_IMPL_HEADER |
34 | |
35 | +#include <stdint.h> |
36 | + |
37 | /* Maintain a number of precomputed variables when doing reduction */ |
38 | #define BIGINT_M_OFFSET 0 /**< Normal modulo offset. */ |
39 | #ifdef CONFIG_BIGINT_CRT |