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: axTLS-add-missing-include.patch |
Date: | Sat, 07 Apr 2012 21:47:22 |
Message-Id: | 20120407214709.0A02F2004C@flycatcher.gentoo.org |
1 | blueness 12/04/07 21:47:09 |
2 | |
3 | Added: axTLS-add-missing-include.patch |
4 | Log: |
5 | Add missing #include header for bigint_impl.h |
6 | |
7 | (Portage version: 2.1.10.49/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.1 net-libs/axTLS/files/axTLS-add-missing-include.patch |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/axTLS/files/axTLS-add-missing-include.patch?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/axTLS/files/axTLS-add-missing-include.patch?rev=1.1&content-type=text/plain |
14 | |
15 | Index: axTLS-add-missing-include.patch |
16 | =================================================================== |
17 | bigint_impl.h typedefs uint16_t and uint32_t but never includes the |
18 | header where they are defined. On a standard gnu/linux system that |
19 | means you need to #include <stdint.h>. This error occurs whenever |
20 | trying to use the API, eg. when compiling curl --with-axtls. |
21 | |
22 | http://sourceforge.net/tracker/?func=detail&aid=3515628&group_id=171217&atid=857113 |
23 | |
24 | diff -Naur axTLS.orig//crypto/bigint_impl.h axTLS/crypto/bigint_impl.h |
25 | --- axTLS.orig//crypto/bigint_impl.h 2011-01-02 02:45:25.000000000 -0500 |
26 | +++ axTLS/crypto/bigint_impl.h 2012-04-07 17:36:36.000000000 -0400 |
27 | @@ -31,6 +31,8 @@ |
28 | #ifndef BIGINT_IMPL_HEADER |
29 | #define BIGINT_IMPL_HEADER |
30 | |
31 | +#include <stdint.h> |
32 | + |
33 | /* Maintain a number of precomputed variables when doing reduction */ |
34 | #define BIGINT_M_OFFSET 0 /**< Normal modulo offset. */ |
35 | #ifdef CONFIG_BIGINT_CRT |