svn commit: r556602 - head/security/highwayhash/files

Piotr Kubaj pkubaj at FreeBSD.org
Sun Nov 29 23:22:13 UTC 2020


Author: pkubaj
Date: Sun Nov 29 23:22:13 2020
New Revision: 556602
URL: https://svnweb.freebsd.org/changeset/ports/556602

Log:
  security/highwayhash: fix build on powerpc64*

Added:
  head/security/highwayhash/files/patch-highwayhash_os__specific.cc   (contents, props changed)
Modified:
  head/security/highwayhash/files/patch-highwayhash_arch__specific.cc

Modified: head/security/highwayhash/files/patch-highwayhash_arch__specific.cc
==============================================================================
--- head/security/highwayhash/files/patch-highwayhash_arch__specific.cc	Sun Nov 29 22:50:24 2020	(r556601)
+++ head/security/highwayhash/files/patch-highwayhash_arch__specific.cc	Sun Nov 29 23:22:13 2020	(r556602)
@@ -1,5 +1,15 @@
---- highwayhash/arch_specific.cc.orig	2020-11-14 08:32:41 UTC
+--- highwayhash/arch_specific.cc.orig	2020-09-22 06:18:43 UTC
 +++ highwayhash/arch_specific.cc
+@@ -24,8 +24,8 @@
+ #if __GLIBC__
+ #include <sys/platform/ppc.h>  // __ppc_get_timebase_freq
+ #elif __FreeBSD__
+-#include <sys/sysctl.h>
+ #include <sys/types.h>
++#include <sys/sysctl.h>
+ #endif
+ #endif
+ 
 @@ -174,7 +174,7 @@ double InvariantTicksPerSecond() {
  #elif __FreeBSD__
    static double cycles_per_second = 0;

Added: head/security/highwayhash/files/patch-highwayhash_os__specific.cc
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/highwayhash/files/patch-highwayhash_os__specific.cc	Sun Nov 29 23:22:13 2020	(r556602)
@@ -0,0 +1,10 @@
+--- highwayhash/os_specific.cc.orig	2020-11-29 23:19:18 UTC
++++ highwayhash/os_specific.cc
+@@ -53,6 +53,7 @@
+ 
+ #ifdef __FreeBSD__
+ #define OS_FREEBSD 1
++#include <sys/types.h>
+ #include <sys/cpuset.h>
+ #include <sys/param.h>
+ #include <unistd.h>


More information about the svn-ports-all mailing list