svn commit: r552103 - head/security/heaan/files

Piotr Kubaj pkubaj at FreeBSD.org
Mon Oct 12 07:26:21 UTC 2020


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;


More information about the svn-ports-head mailing list