From 5ec63a5ce1ff99ee8ea174ed835cc4411623d8f5 Mon Sep 17 00:00:00 2001 From: Tomas Mraz Date: Jun 19 2018 16:39:17 +0000 Subject: The hack is needed only on some architectures. --- diff --git a/openssl-1.1.0-build.patch b/openssl-1.1.0-build.patch index 3d035a8..7565642 100644 --- a/openssl-1.1.0-build.patch +++ b/openssl-1.1.0-build.patch @@ -41,7 +41,7 @@ diff -up openssl-1.1.0f/Configurations/10-main.conf.build openssl-1.1.0f/Configu diff -up openssl-1.1.0h/engines/afalg/e_afalg.c.build openssl-1.1.0h/engines/afalg/e_afalg.c --- openssl-1.1.0h/engines/afalg/e_afalg.c.build 2018-03-27 15:50:40.000000000 +0200 +++ openssl-1.1.0h/engines/afalg/e_afalg.c 2018-06-19 16:56:20.150950529 +0200 -@@ -36,14 +36,19 @@ void engine_load_afalg_int(void) +@@ -36,14 +36,25 @@ void engine_load_afalg_int(void) } #else @@ -60,6 +60,12 @@ diff -up openssl-1.1.0h/engines/afalg/e_afalg.c.build openssl-1.1.0h/engines/afa +# include +# include + ++# ifndef _LINUX_TIME_H ++# undef timespec ++# undef timeval ++# undef itimerspec ++# undef sigset_t ++# endif # include "e_afalg.h" # define AFALG_LIB_NAME "AFALG"