Date: Wed, 27 Apr 2016 17:50:05 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 209103] texproc/irstlm: Fix build with libc++ 3.8.0 Message-ID: <bug-209103-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D209103 Bug ID: 209103 Summary: texproc/irstlm: Fix build with libc++ 3.8.0 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: freebsd-ports-bugs@FreeBSD.org Reporter: dim@FreeBSD.org Created attachment 169763 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D169763&action= =3Dedit Remove -isystem from CXXFLAGS to fix build During the exp-run in bug 208158, it was found that textproc/irstlm gives errors with libc++ 3.8.0 [1]: In file included from dictionary.cpp:23: In file included from ./mfstream.h:26: In file included from /usr/include/c++/v1/iostream:38: In file included from /usr/include/c++/v1/ios:216: In file included from /usr/include/c++/v1/__locale:15: In file included from /usr/include/c++/v1/string:439: In file included from /usr/include/c++/v1/algorithm:624: In file included from /usr/include/c++/v1/initializer_list:47: /usr/include/c++/v1/cstddef:43:15: fatal error: 'stddef.h' file not found #include_next <stddef.h> ^ This is because the port inexplicably tries to add /usr/include as a system include directory, using -isystem, and this screws up the order of include directories. Fix it by removing the unnecessary -isystem flag. [1] http://package18.nyi.freebsd.org/data/headamd64PR208158-default/2016-03-22_= 18h30m05s/logs/errors/irstlm-5.80.03_4.log --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-209103-13>