svn commit: r531048 - head/security/palisade/files
Yuri Victorovich
yuri at FreeBSD.org
Tue Apr 7 23:57:10 UTC 2020
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
More information about the svn-ports-head
mailing list