[Bug 208175] security/gnutls: Rename max_align_t definition conflicting with libc++
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Mar 21 10:15:45 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=208175
Bug ID: 208175
Summary: security/gnutls: Rename max_align_t definition
conflicting with libc++
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: Individual Port(s)
Assignee: bdrewery at FreeBSD.org
Reporter: dim at FreeBSD.org
Flags: maintainer-feedback?(bdrewery at FreeBSD.org)
Assignee: bdrewery at FreeBSD.org
Created attachment 168448
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=168448&action=edit
Rename conflicting max_align_t definition
In bug 208158, I asked for an exp-run with updated libc++. It turns out that
security/gnutls attempts to redefine max_align_t, which is also present in
libc++'s copy of stddef.h, and this conflicts.
Since gnutls doesn't really use the type at all, I thought it was easiest to
simply rename the type to gnu_max_align_t. This avoids any compilation errors
of C++ sources in gnutls.
Alternatively, the whole block defining max_align_t could be deleted, but that
is a more invasive change, and I don't know how the configure script will
handle that...
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list