From owner-svn-ports-all@freebsd.org Sat Feb 17 11:39:25 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 49031F03460; Sat, 17 Feb 2018 11:39:25 +0000 (UTC) (envelope-from jhale@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id ECD6D76584; Sat, 17 Feb 2018 11:39:24 +0000 (UTC) (envelope-from jhale@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id E6FCF1C208; Sat, 17 Feb 2018 11:39:24 +0000 (UTC) (envelope-from jhale@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w1HBdO4j067468; Sat, 17 Feb 2018 11:39:24 GMT (envelope-from jhale@FreeBSD.org) Received: (from jhale@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w1HBdOaU067467; Sat, 17 Feb 2018 11:39:24 GMT (envelope-from jhale@FreeBSD.org) Message-Id: <201802171139.w1HBdOaU067467@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jhale set sender to jhale@FreeBSD.org using -f From: "Jason E. Hale" Date: Sat, 17 Feb 2018 11:39:24 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r462099 - head/x11-toolkits/fox17/files X-SVN-Group: ports-head X-SVN-Commit-Author: jhale X-SVN-Commit-Paths: head/x11-toolkits/fox17/files X-SVN-Commit-Revision: 462099 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Feb 2018 11:39:25 -0000 Author: jhale Date: Sat Feb 17 11:39:24 2018 New Revision: 462099 URL: https://svnweb.freebsd.org/changeset/ports/462099 Log: Fix build on i386 /wrkdirs/usr/ports/x11-toolkits/fox17/work/fox-1.7.62/lib/.libs/libFOX-1.7.so: undefined reference to `__atomic_fetch_add_8' c++: error: linker command failed with exit code 1 (use -v to see invocation) *** Error code 1 Reported by: pkg-fallout Modified: head/x11-toolkits/fox17/files/patch-lib_FXAtomic.cpp Modified: head/x11-toolkits/fox17/files/patch-lib_FXAtomic.cpp ============================================================================== --- head/x11-toolkits/fox17/files/patch-lib_FXAtomic.cpp Sat Feb 17 11:35:12 2018 (r462098) +++ head/x11-toolkits/fox17/files/patch-lib_FXAtomic.cpp Sat Feb 17 11:39:24 2018 (r462099) @@ -1,11 +1,20 @@ ---- lib/FXAtomic.cpp.orig 2016-11-19 22:24:23 UTC +--- lib/FXAtomic.cpp.orig 2017-11-29 04:44:13 UTC +++ lib/FXAtomic.cpp @@ -54,7 +54,7 @@ // New __atomic_XXX() builtins are available -#if ((__GNUC__ > 4) || ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 7))) -+#if ((__GNUC__ > 4) || ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 7))) || defined(__clang__) ++#if ((__GNUC__ > 4) || ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 7))) || (defined(__clang__) && defined(__x86_64__)) #define HAVE_BUILTIN_ATOMIC 1 + #endif + +@@ -64,7 +64,7 @@ + #endif + + // Can we use inline-assembly +-#if (defined(__GNUC__) || defined(__INTEL_COMPILER)) ++#if (defined(__GNUC__) || defined(__INTEL_COMPILER)) || defined(__clang__) + #define HAVE_INLINE_ASSEMBLY 1 #endif