Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Nov 2017 15:36:29 +0000 (UTC)
From:      Vasil Dimov <vd@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r453977 - head/net-p2p/monero-cli/files
Message-ID:  <201711111536.vABFaTmG075041@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: vd
Date: Sat Nov 11 15:36:29 2017
New Revision: 453977
URL: https://svnweb.freebsd.org/changeset/ports/453977

Log:
  net-p2p/monero-cli: Fix compilation on i386

Added:
  head/net-p2p/monero-cli/files/patch-CMakeLists.txt   (contents, props changed)

Added: head/net-p2p/monero-cli/files/patch-CMakeLists.txt
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net-p2p/monero-cli/files/patch-CMakeLists.txt	Sat Nov 11 15:36:29 2017	(r453977)
@@ -0,0 +1,14 @@
+
+https://github.com/monero-project/monero/pull/2793
+
+--- CMakeLists.txt.orig	2017-11-11 15:31:39 UTC
++++ CMakeLists.txt
+@@ -682,7 +682,7 @@ endif()
+ if(ANDROID)
+   set(ATOMIC libatomic.a)
+ endif()
+-if(CMAKE_C_COMPILER_ID STREQUAL "Clang" AND ARCH_WIDTH EQUAL "32" AND NOT IOS)
++if(CMAKE_C_COMPILER_ID STREQUAL "Clang" AND ARCH_WIDTH EQUAL "32" AND NOT IOS AND NOT FREEBSD)
+   find_library(ATOMIC atomic)
+   list(APPEND EXTRA_LIBRARIES ${ATOMIC})
+ endif()



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