diff --git a/net-mgmt/send/files/patch-include-cga_keyutils.h b/net-mgmt/send/files/patch-include-cga_keyutils.h index 4b7465e08f98..fa4c8c6e7b3d 100644 --- a/net-mgmt/send/files/patch-include-cga_keyutils.h +++ b/net-mgmt/send/files/patch-include-cga_keyutils.h @@ -1,12 +1,12 @@ ---- include/cga_keyutils.h.orig 2014-08-20 04:17:35.000000000 +0900 -+++ include/cga_keyutils.h 2014-08-20 04:17:58.000000000 +0900 +--- include/cga_keyutils.h.orig 2010-08-28 17:58:02.000000000 +0900 ++++ include/cga_keyutils.h 2014-08-30 01:53:41.000000000 +0900 @@ -36,6 +36,9 @@ #include #include #include -+#ifndef STACK ++#if OPENSSL_VERSION_NUMBER >= 0x0090900fL +#define STACK _STACK +#endif #include extern int cga_add_key(cga_ctx_t *, EVP_PKEY *, int, uint16_t); diff --git a/net-mgmt/send/files/patch-include-pkixip_ext_asn.h b/net-mgmt/send/files/patch-include-pkixip_ext_asn.h index 145fcd909d5f..6ccde70c364c 100644 --- a/net-mgmt/send/files/patch-include-pkixip_ext_asn.h +++ b/net-mgmt/send/files/patch-include-pkixip_ext_asn.h @@ -1,13 +1,13 @@ ---- include/pkixip_ext_asn.h.orig 2014-08-20 04:16:53.000000000 +0900 -+++ include/pkixip_ext_asn.h 2014-08-20 04:17:09.000000000 +0900 +--- include/pkixip_ext_asn.h.orig 2010-08-28 17:58:02.000000000 +0900 ++++ include/pkixip_ext_asn.h 2014-08-30 01:54:23.000000000 +0900 @@ -33,6 +33,10 @@ #ifndef _PKIXIP_EXT_ASN_H #define _PKIXIP_EXT_ASN_H +#include -+#ifndef STACK ++#if OPENSSL_VERSION_NUMBER >= 0x0090900fL +#define STACK _STACK +#endif #include #include #include