Created attachment 168984 [details]
Disable custom max_align_t definition for devel/libdap
During the exp-run in bug 208158, it was found that devel/libdap gives errors with libc++ 3.8.0 :
In file included from ./gl/wchar.h:73:
./gl/stddef.h:104:3: error: typedef redefinition with different types ('union max_align_t' vs 'long double')
/usr/include/c++/v1/stddef.h:57:21: note: previous definition is here
typedef long double max_align_t;
1 error generated.
This is because libdap contains a gl/stddef.h, which tries to fix possible omissions in the standard stddef.h header. Unfortunately, this clashes in C++ mode with the stddef.h from libc++. Fix this similarly to bug 208175, by telling the configure script that the system already has max_align_t, through setting ac_cv_type_max_align_t=yes.
A commit references this bug:
Date: Fri Apr 8 16:29:17 UTC 2016
New revision: 412772
- Fix build with libc++ 3.8.0
Submitted by: dim