Created attachment 168982 [details] Remove C++ keyword overriding defines from devel/ddd During the exp-run in bug 208158, it was found that devel/ddd gives errors with libc++ 3.8.0 [1]: In file included from LabelH.C:36: In file included from /usr/local/include/Xm/XmP.h:45: In file included from /usr/local/include/Xm/Xm.h:59: In file included from /usr/local/include/X11/Intrinsic.h:53: In file included from /usr/local/include/X11/Xlib.h:51: In file included from /usr/include/c++/v1/stddef.h:51: /usr/include/c++/v1/__nullptr:35:15: error: unknown type name 'a_class'; did you mean 'class'? template <class _Tp> ^ LabelH.C:34:15: note: expanded from macro 'class' #define class a_class ^ This is because several source files in this package attempt to redefine the C++ keywords 'new' and 'class' with different identifiers, probably because very old Motif headers abused those keywords as variables or parameters. This is not needed anymore, and the keyword redefinitions can be deleted without problems. [1] http://package18.nyi.freebsd.org/data/headamd64PR208158-default/2016-03-22_18h30m05s/logs/errors/ddd-3.3.12_1.log
Committed, thanks.
A commit references this bug: Author: pi Date: Fri Apr 29 21:13:29 UTC 2016 New revision: 414293 URL: https://svnweb.freebsd.org/changeset/ports/414293 Log: devel/ddd: Fix build with libc++ 3.8.0 PR: 208528 Submitted by: dim Approved by: sergio@softshark.org (maintainer timeout) Changes: head/devel/ddd/files/patch-ddd-GraphEditP.h head/devel/ddd/files/patch-ddd-LabelH.C head/devel/ddd/files/patch-ddd-PannedGEP.h head/devel/ddd/files/patch-ddd-Sash.h head/devel/ddd/files/patch-ddd-ScrolleGEP.h head/devel/ddd/files/patch-ddd-SwallowerP.h head/devel/ddd/files/patch-ddd-converters.C