From owner-svn-ports-all@freebsd.org Sat Feb 17 18:22:28 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 25F95F01328; Sat, 17 Feb 2018 18:22:28 +0000 (UTC) (envelope-from demon@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 CBAFB8CFE3; Sat, 17 Feb 2018 18:22:27 +0000 (UTC) (envelope-from demon@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 C697A20544; Sat, 17 Feb 2018 18:22:27 +0000 (UTC) (envelope-from demon@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w1HIMRKA078394; Sat, 17 Feb 2018 18:22:27 GMT (envelope-from demon@FreeBSD.org) Received: (from demon@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w1HIMRsE078393; Sat, 17 Feb 2018 18:22:27 GMT (envelope-from demon@FreeBSD.org) Message-Id: <201802171822.w1HIMRsE078393@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: demon set sender to demon@FreeBSD.org using -f From: Dmitry Sivachenko Date: Sat, 17 Feb 2018 18:22:27 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r462183 - head/net/haproxy-devel/files X-SVN-Group: ports-head X-SVN-Commit-Author: demon X-SVN-Commit-Paths: head/net/haproxy-devel/files X-SVN-Commit-Revision: 462183 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 18:22:28 -0000 Author: demon Date: Sat Feb 17 18:22:27 2018 New Revision: 462183 URL: https://svnweb.freebsd.org/changeset/ports/462183 Log: Fix build on i386 arch. PR: 225749 Submitted by: Franco Fichtner Added: head/net/haproxy-devel/files/patch-include-common-hathreads.h (contents, props changed) Added: head/net/haproxy-devel/files/patch-include-common-hathreads.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/haproxy-devel/files/patch-include-common-hathreads.h Sat Feb 17 18:22:27 2018 (r462183) @@ -0,0 +1,11 @@ +--- include/common/hathreads.h.orig 2018-02-17 18:17:22.219400000 +0000 ++++ include/common/hathreads.h 2018-02-17 18:18:44.598422000 +0000 +@@ -104,7 +104,7 @@ extern THREAD_LOCAL unsigned long tid_bit; /* The bit + /* TODO: thread: For now, we rely on GCC builtins but it could be a good idea to + * have a header file regrouping all functions dealing with threads. */ + +-#if defined(__GNUC__) && (__GNUC__ < 4 || __GNUC__ == 4 && __GNUC_MINOR__ < 7) && !defined(__clang__) ++#if (defined(__GNUC__) && (__GNUC__ < 4 || __GNUC__ == 4 && __GNUC_MINOR__ < 7) && !defined(__clang__)) || (defined(__clang__) && defined(__i386__)) + /* gcc < 4.7 */ + + #define HA_ATOMIC_ADD(val, i) __sync_add_and_fetch(val, i)