From owner-svn-ports-all@freebsd.org Wed Apr 19 12:57:57 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EB07FD451B1; Wed, 19 Apr 2017 12:57:57 +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 mx1.freebsd.org (Postfix) with ESMTPS id BD6A414C1; Wed, 19 Apr 2017 12:57:57 +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 v3JCvujO089347; Wed, 19 Apr 2017 12:57:56 GMT (envelope-from demon@FreeBSD.org) Received: (from demon@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v3JCvuvx089343; Wed, 19 Apr 2017 12:57:56 GMT (envelope-from demon@FreeBSD.org) Message-Id: <201704191257.v3JCvuvx089343@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: demon set sender to demon@FreeBSD.org using -f From: Dmitry Sivachenko Date: Wed, 19 Apr 2017 12:57:56 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r438838 - in head/net: haproxy haproxy-devel haproxy-devel/files haproxy/files X-SVN-Group: ports-head 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.23 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: Wed, 19 Apr 2017 12:57:58 -0000 Author: demon Date: Wed Apr 19 12:57:56 2017 New Revision: 438838 URL: https://svnweb.freebsd.org/changeset/ports/438838 Log: Do not override CFLAGS defined in Makefile; use OPTIONS_CFLAGS to pass our CFLAGS env variable; Add -fwrap to CFLAGS to fix eventual haproxy spins when compiled with newer versions of clang (FreeBSD-11 is affected). -- obtained from haproxy source tree. Added: head/net/haproxy-devel/files/patch-Makefile (contents, props changed) head/net/haproxy/files/patch-Makefile (contents, props changed) Modified: head/net/haproxy-devel/Makefile head/net/haproxy/Makefile Modified: head/net/haproxy-devel/Makefile ============================================================================== --- head/net/haproxy-devel/Makefile Wed Apr 19 12:25:40 2017 (r438837) +++ head/net/haproxy-devel/Makefile Wed Apr 19 12:57:56 2017 (r438838) @@ -24,7 +24,7 @@ DEVICEATLAS_DISTFILE= deviceatlas-enterp DEVICEATLAS_REGISTRATION_URL= https://deviceatlas.com/deviceatlas-haproxy-module MAKE_ARGS= TARGET=freebsd DEFINE=-DFREEBSD_PORTS USE_GETADDRINFO=1 \ - USE_ZLIB=1 USE_CPU_AFFINITY=1 CC="${CC}" CFLAGS="${CFLAGS}" + USE_ZLIB=1 USE_CPU_AFFINITY=1 CC="${CC}" DEBUG_CFLAGS="" OPTIONS_CFLAGS="${CFLAGS}" OPTIONS_DEFINE= DOCS EXAMPLES LUA OPENSSL DEVICEATLAS OPTIONS_RADIO= PCRE Added: head/net/haproxy-devel/files/patch-Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/haproxy-devel/files/patch-Makefile Wed Apr 19 12:57:56 2017 (r438838) @@ -0,0 +1,11 @@ +--- Makefile.orig 2017-04-19 13:18:14.404480000 +0300 ++++ Makefile 2017-04-19 13:18:26.684393000 +0300 +@@ -128,7 +128,7 @@ DEBUG_CFLAGS = -g + #### Compiler-specific flags that may be used to disable some negative over- + # optimization or to silence some warnings. -fno-strict-aliasing is needed with + # gcc >= 4.4. +-SPEC_CFLAGS = -fno-strict-aliasing -Wdeclaration-after-statement ++SPEC_CFLAGS = -fno-strict-aliasing -Wdeclaration-after-statement -fwrapv + + #### Memory usage tuning + # If small memory footprint is required, you can reduce the buffer size. There Modified: head/net/haproxy/Makefile ============================================================================== --- head/net/haproxy/Makefile Wed Apr 19 12:25:40 2017 (r438837) +++ head/net/haproxy/Makefile Wed Apr 19 12:57:56 2017 (r438838) @@ -23,7 +23,7 @@ DEVICEATLAS_DISTFILE= deviceatlas-enterp DEVICEATLAS_REGISTRATION_URL= https://deviceatlas.com/deviceatlas-haproxy-module MAKE_ARGS= TARGET=freebsd DEFINE=-DFREEBSD_PORTS USE_GETADDRINFO=1 \ - USE_ZLIB=1 USE_CPU_AFFINITY=1 CC="${CC}" CFLAGS="${CFLAGS}" + USE_ZLIB=1 USE_CPU_AFFINITY=1 CC="${CC}" DEBUG_CFLAGS="" OPTIONS_CFLAGS="${CFLAGS}" OPTIONS_DEFINE= DOCS EXAMPLES LUA OPENSSL DEVICEATLAS OPTIONS_RADIO= PCRE Added: head/net/haproxy/files/patch-Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/haproxy/files/patch-Makefile Wed Apr 19 12:57:56 2017 (r438838) @@ -0,0 +1,11 @@ +--- Makefile.orig 2017-04-19 13:18:14.404480000 +0300 ++++ Makefile 2017-04-19 13:18:26.684393000 +0300 +@@ -128,7 +128,7 @@ DEBUG_CFLAGS = -g + #### Compiler-specific flags that may be used to disable some negative over- + # optimization or to silence some warnings. -fno-strict-aliasing is needed with + # gcc >= 4.4. +-SPEC_CFLAGS = -fno-strict-aliasing -Wdeclaration-after-statement ++SPEC_CFLAGS = -fno-strict-aliasing -Wdeclaration-after-statement -fwrapv + + #### Memory usage tuning + # If small memory footprint is required, you can reduce the buffer size. There