Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Apr 2019 19:10:40 +0000 (UTC)
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r500555 - head/www/squid
Message-ID:  <201904301910.x3UJAeBr031916@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pkubaj
Date: Tue Apr 30 19:10:40 2019
New Revision: 500555
URL: https://svnweb.freebsd.org/changeset/ports/500555

Log:
  www/squid: fix build with GCC-based architectures
  
  Add -Wno-error=stringop-truncation to CFLAGS when using GCC.
  
  PR:		237276
  Approved by:	timp87@gmail.com (maintainer timeout), mat (mentor)
  Differential Revision:	https://reviews.freebsd.org/D20104

Modified:
  head/www/squid/Makefile

Modified: head/www/squid/Makefile
==============================================================================
--- head/www/squid/Makefile	Tue Apr 30 19:09:15 2019	(r500554)
+++ head/www/squid/Makefile	Tue Apr 30 19:10:40 2019	(r500555)
@@ -25,8 +25,6 @@ COMMENT=	HTTP Caching Proxy
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-BROKEN_powerpc64=	fails to link: ext_time_quota_acl.cc: undefined reference to std::ctype
-
 USES=		compiler:c++11-lib cpe perl5 shebangfix tar:xz
 
 CONFLICTS=	squid*-3.*
@@ -190,6 +188,9 @@ TP_PF_DESC=		Transparent proxying with PF
 VIA_DB_DESC=		Forward/Via database
 WCCPV2_DESC=		Web Cache Coordination Protocol v2
 WCCP_DESC=		Web Cache Coordination Protocol
+
+CFLAGS+=	${CFLAGS_${CHOSEN_COMPILER_TYPE}}
+CFLAGS_gcc=	-Wno-error=stringop-truncation
 
 change_files=	ChangeLog \
 		contrib/nextstep/makepkg \



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