Bug 237276 - www/squid: fix build with GCC-based architectures
Summary: www/squid: fix build with GCC-based architectures
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Piotr Kubaj
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-04-14 09:22 UTC by Piotr Kubaj
Modified: 2019-04-30 19:13 UTC (History)
3 users (show)

See Also:
bugzilla: maintainer-feedback? (timp87)


Attachments
patch (684 bytes, patch)
2019-04-14 09:22 UTC, Piotr Kubaj
pkubaj: maintainer-approval? (timp87)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Piotr Kubaj freebsd_committer freebsd_triage 2019-04-14 09:22:39 UTC
Created attachment 203659 [details]
patch

Add -Wno-error=stringop-truncation to CFLAGS when using GCC.

This fixes build when on GCC architectures.

Tested on powerpc64 and amd64.
Comment 1 commit-hook freebsd_committer freebsd_triage 2019-04-30 19:12:27 UTC
A commit references this bug:

Author: pkubaj
Date: Tue Apr 30 19:10:40 UTC 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

Changes:
  head/www/squid/Makefile