From 24b4037afadd4e714322c5d93291911ca083c6f3 Mon Sep 17 00:00:00 2001 From: Hiroki Sato Date: Sun, 3 Mar 2019 03:47:33 +0000 Subject: Update to 3.11.0, which supports OpenSSL 1.0.x and 1.1.x. --- .../files/patch-usr-lib-common-host_defs.h | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 security/opencryptoki/files/patch-usr-lib-common-host_defs.h (limited to 'security/opencryptoki/files/patch-usr-lib-common-host_defs.h') diff --git a/security/opencryptoki/files/patch-usr-lib-common-host_defs.h b/security/opencryptoki/files/patch-usr-lib-common-host_defs.h new file mode 100644 index 000000000000..263df0b9d661 --- /dev/null +++ b/security/opencryptoki/files/patch-usr-lib-common-host_defs.h @@ -0,0 +1,26 @@ +--- usr/lib/common/host_defs.h.orig 2018-11-16 14:53:03 UTC ++++ usr/lib/common/host_defs.h +@@ -8,12 +8,23 @@ + * https://opensource.org/licenses/cpl1.0.php + */ + ++#include + #include + #ifndef _HOST_DEFS_H + #define _HOST_DEFS_H + + #include ++#if defined(__OpenBSD__) || defined(__FreeBSD__) ++#include ++#ifdef _BYTE_ORDER ++#define __BYTE_ORDER _BYTE_ORDER ++#endif ++#ifdef _LITTLE_ENDIAN ++#define __LITTLE_ENDIAN _LITTLE_ENDIAN ++#endif ++#else + #include ++#endif + + #include "pkcs32.h" + #include -- cgit v1.2.3