Date: Fri, 20 Sep 2019 06:06:20 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 240701] textproc/groff: Fix build with libc++ 9.0.0 Message-ID: <bug-240701-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D240701 Bug ID: 240701 Summary: textproc/groff: Fix build with libc++ 9.0.0 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: bapt@FreeBSD.org Reporter: dim@FreeBSD.org Assignee: bapt@FreeBSD.org Flags: maintainer-feedback?(bapt@FreeBSD.org) Created attachment 207643 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D207643&action= =3Dedit Fix groff build with libc++ 9.0.0 Because libc++ 9.0.0 now includes <math.h> from <stdlib.h>, groff fails to build with error similar to: n file included from src/libs/libgroff/assert.cpp:20: In file included from /usr/include/c++/v1/stdlib.h:100: ./lib/math.h:38:3: error: "Please include config.h first." #error "Please include config.h first." ^ ./lib/math.h:40:1: error: unknown type name '_GL_INLINE_HEADER_BEGIN' _GL_INLINE_HEADER_BEGIN ^ Here is a patch which fixes that in the least intrusive way. Another way w= ould be to #include "config.h" at the top of every .cpp file, but that is more m= ore churn. --=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-240701-7788>