diff options
author | Anthony G. Basile <blueness@gentoo.org> | 2012-06-07 00:13:29 +0000 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2012-06-07 00:13:29 +0000 |
commit | 26e3d7a38f8d92c6623a5f38674e4e986c6e7b69 (patch) | |
tree | 5fda5a6a238d01823ec90b41b70e9be0085a6922 /net-libs/axtls/files | |
parent | Version bump, fixes bug 410891, 289733, 326367, 367257, 398175, 410171 and 41... (diff) | |
download | gentoo-2-26e3d7a38f8d92c6623a5f38674e4e986c6e7b69.tar.gz gentoo-2-26e3d7a38f8d92c6623a5f38674e4e986c6e7b69.tar.bz2 gentoo-2-26e3d7a38f8d92c6623a5f38674e4e986c6e7b69.zip |
Fix crypto/bigint_impl.h so curl can build against axtls
(Portage version: 2.1.10.49/cvs/Linux x86_64)
Diffstat (limited to 'net-libs/axtls/files')
-rw-r--r-- | net-libs/axtls/files/bigint_impl.h-add-missing-include.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/net-libs/axtls/files/bigint_impl.h-add-missing-include.patch b/net-libs/axtls/files/bigint_impl.h-add-missing-include.patch new file mode 100644 index 000000000000..1e29aca71482 --- /dev/null +++ b/net-libs/axtls/files/bigint_impl.h-add-missing-include.patch @@ -0,0 +1,23 @@ +crypto/bigint_impl.h: missing #include <stdint.h> + +bigint_impl.h typedefs uint16_t and uint32_t but never +includes the headers where those are defined. On a standard +gnu/linux system that means you need #include <stdint.h>. +I hit this error when compiling curl --with-axtls and +adding the include fixed the compile time error. + +See: +https://sourceforge.net/tracker/?func=detail&aid=3515628&group_id=171217&atid=857113 +https://sourceforge.net/tracker/?func=detail&aid=3532467&group_id=171217&atid=857113 + +--- crypto/bigint_impl.h.orig 2012-04-07 01:10:24.000000000 -0400 ++++ crypto/bigint_impl.h 2012-04-06 23:00:22.000000000 -0400 +@@ -31,6 +31,8 @@ + #ifndef BIGINT_IMPL_HEADER + #define BIGINT_IMPL_HEADER + ++#include <stdint.h> ++ + /* Maintain a number of precomputed variables when doing reduction */ + #define BIGINT_M_OFFSET 0 /**< Normal modulo offset. */ + #ifdef CONFIG_BIGINT_CRT |