Bug 234563 - textproc/libxml2: fix build with GCC-based architectures
Summary: textproc/libxml2: 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 Many People
Assignee: Mark Linimon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-01-02 11:14 UTC by Piotr Kubaj
Modified: 2019-01-05 23:56 UTC (History)
3 users (show)

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


Attachments
patch (402 bytes, patch)
2019-01-02 11:14 UTC, Piotr Kubaj
no flags 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-01-02 11:14:19 UTC
Created attachment 200704 [details]
patch

2.9.8 introduced -Wno-array-bounds which causes build issue with GCC.

Remove it when GCC is used.

Tested on powerpc64 and amd64.

Hardware sponsored by IntegriCloud.
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2019-01-02 15:13:10 UTC
Override assignment as this is an immediate problem for powerpc64.  Causes 11.5k ports to be skipped.
Comment 2 Steve Wills freebsd_committer freebsd_triage 2019-01-05 14:50:47 UTC
Looks fine, please go ahead, sorry for the breakage.
Comment 3 commit-hook freebsd_committer freebsd_triage 2019-01-05 23:55:29 UTC
A commit references this bug:

Author: swills
Date: Sat Jan  5 23:55:00 UTC 2019
New revision: 489423
URL: https://svnweb.freebsd.org/changeset/ports/489423

Log:
  textproc/libxml2: fix build with GCC-based architectures

  PR:		234563
  Submitted by:	Piotr Kubaj <pkubaj@anongoth.pl>
  Pointyhat to:	swills

Changes:
  head/textproc/libxml2/Makefile
Comment 4 Steve Wills freebsd_committer freebsd_triage 2019-01-05 23:56:26 UTC
Committed, thanks!