freebsd-ports/textproc/groff
Dimitry Andric a51402241e 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 an error similar to:

In file included from src/libs/libgroff/assert.cpp:20:
In file included from /usr/include/c++/v1/stdlib.h💯
./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
^

Fix this in the least intrusive way, by simply including config.h
instead of emitting an error message.

Approved by:	bapt (maintainer)
PR:		240701
MFH:		2019Q3
2019-09-20 19:48:00 +00:00
..
files Fix groff build with libc++ 9.0.0 2019-09-20 19:48:00 +00:00
distinfo
Makefile
pkg-descr
pkg-plist