Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Apr 2020 23:57:10 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r531048 - head/security/palisade/files
Message-ID:  <202004072357.037NvA7Z015414@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Tue Apr  7 23:57:09 2020
New Revision: 531048
URL: https://svnweb.freebsd.org/changeset/ports/531048

Log:
  security/palisade: Fix build
  
  Backport the upstream pull request fixing the issue.
  
  Reported by:	fallout

Added:
  head/security/palisade/files/patch-src_core_include_utils_parallel.h   (contents, props changed)

Added: head/security/palisade/files/patch-src_core_include_utils_parallel.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/palisade/files/patch-src_core_include_utils_parallel.h	Tue Apr  7 23:57:09 2020	(r531048)
@@ -0,0 +1,14 @@
+Backport of the patch fixing build: https://gitlab.com/palisade/palisade-development/-/commit/7a6c36e61fb060dc592357b99916a88467022325
+The upstream patch doesn't apply due to other incompatible chages.
+
+--- src/core/include/utils/parallel.h.orig	2020-04-07 23:38:54 UTC
++++ src/core/include/utils/parallel.h
+@@ -56,7 +56,7 @@ namespace lbcrypto {
+     // @Brief returns current number of threads that are usable
+     // @return int # threads
+     int GetNumThreads() {
+-      int out, nthreads, tid;
++      int out = 0, nthreads = 0, tid;
+ 	  	
+       // Fork a team of threads giving them their own copies of variables
+       //so we can see how many threads we have to work with



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202004072357.037NvA7Z015414>