Date: Mon, 12 Oct 2020 07:26:20 +0000 (UTC) From: Piotr Kubaj <pkubaj@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r552103 - head/security/heaan/files Message-ID: <202010120726.09C7QK2o047273@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pkubaj Date: Mon Oct 12 07:26:20 2020 New Revision: 552103 URL: https://svnweb.freebsd.org/changeset/ports/552103 Log: security/heaan: fix build on GCC architectures Patch created manually, because WRKSRC differs. Add include sys/time.h: In file included from ../src/TestScheme.cpp:20: ../src/TimeUtils.h:20:17: error: field 'startTime' has incomplete type 'timeval' 20 | struct timeval startTime, stopTime; | ^~~~~~~~~ MFH: 2020Q4 (fix build blanket) Added: head/security/heaan/files/patch-TimeUtils.h (contents, props changed) Added: head/security/heaan/files/patch-TimeUtils.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/security/heaan/files/patch-TimeUtils.h Mon Oct 12 07:26:20 2020 (r552103) @@ -0,0 +1,10 @@ +--- ../src/TimeUtils.h.orig 2020-10-12 09:20:15.992285000 +0200 ++++ ../src/TimeUtils.h 2020-10-12 09:20:25.674915000 +0200 +@@ -8,6 +8,7 @@ + #ifndef HEAAN_TIMEUTILS_H_ + #define HEAAN_TIMEUTILS_H_ + ++#include <sys/time.h> + #include <iostream> + + struct timeval;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202010120726.09C7QK2o047273>