Bug 213657 - www/mongrel2: Fix conflict with max_align_t
Summary: www/mongrel2: Fix conflict with max_align_t
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: Veniamin Gvozdikov
URL:
Keywords:
Depends on:
Blocks: 210890
  Show dependency treegraph
 
Reported: 2016-10-20 22:02 UTC by John Baldwin
Modified: 2016-10-31 10:31 UTC (History)
0 users

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


Attachments
max_align.patch (1.25 KB, patch)
2016-10-20 22:02 UTC, John Baldwin
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description John Baldwin freebsd_committer freebsd_triage 2016-10-20 22:02:54 UTC
Created attachment 175995 [details]
max_align.patch

C11 adds max_align_t as a standard type, but mongrel2 defines a local symbol named max_align_t.  This results in build failures when the base system is patched to add max_align_t.  Upstream fixed this in in commit https://github.com/mongrel2/mongrel2/commit/563bac8c59b9b32205164d237cf1ec0cb48d189f which is included in 1.10.0 and later.  Upgrading the port would be option, but for now I've just backported the upstream commit as a patch.
Comment 1 commit-hook freebsd_committer freebsd_triage 2016-10-31 10:26:42 UTC
A commit references this bug:

Author: vg
Date: Mon Oct 31 10:26:28 UTC 2016
New revision: 424994
URL: https://svnweb.freebsd.org/changeset/ports/424994

Log:
  - Fix conflict with max_align_t

  PR:		ports/213657
  Submitted by:	jhb

Changes:
  head/www/mongrel2/Makefile
  head/www/mongrel2/files/patch-src_mem_align.h
  head/www/mongrel2/files/patch-src_mem_halloc.c
Comment 2 Veniamin Gvozdikov freebsd_committer freebsd_triage 2016-10-31 10:31:35 UTC
Committed, thank you!