Bug 213657

Summary: www/mongrel2: Fix conflict with max_align_t
Product: Ports & Packages Reporter: John Baldwin <jhb>
Component: Individual Port(s)Assignee: Veniamin Gvozdikov <vg>
Status: Closed FIXED    
Severity: Affects Only Me Flags: bugzilla: maintainer-feedback? (vg)
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Bug Depends on:    
Bug Blocks: 210890    
Attachments:
Description Flags
max_align.patch none

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!