From owner-svn-ports-head@freebsd.org Fri Sep 20 19:48:01 2019 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 478A212575D; Fri, 20 Sep 2019 19:48:01 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46Zklj191Rz4Xw2; Fri, 20 Sep 2019 19:48:01 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 0B0FB29D2; Fri, 20 Sep 2019 19:48:01 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x8KJm02C049420; Fri, 20 Sep 2019 19:48:00 GMT (envelope-from dim@FreeBSD.org) Received: (from dim@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x8KJm0SD049419; Fri, 20 Sep 2019 19:48:00 GMT (envelope-from dim@FreeBSD.org) Message-Id: <201909201948.x8KJm0SD049419@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: dim set sender to dim@FreeBSD.org using -f From: Dimitry Andric Date: Fri, 20 Sep 2019 19:48:00 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r512436 - head/textproc/groff/files X-SVN-Group: ports-head X-SVN-Commit-Author: dim X-SVN-Commit-Paths: head/textproc/groff/files X-SVN-Commit-Revision: 512436 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Sep 2019 19:48:01 -0000 Author: dim (src committer) Date: Fri Sep 20 19:48:00 2019 New Revision: 512436 URL: https://svnweb.freebsd.org/changeset/ports/512436 Log: Fix groff build with libc++ 9.0.0 Because libc++ 9.0.0 now includes from , 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: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 ^ 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 Added: head/textproc/groff/files/patch-lib_math.in.h (contents, props changed) Added: head/textproc/groff/files/patch-lib_math.in.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/groff/files/patch-lib_math.in.h Fri Sep 20 19:48:00 2019 (r512436) @@ -0,0 +1,11 @@ +--- lib/math.in.h.orig 2018-12-23 14:34:15 UTC ++++ lib/math.in.h +@@ -34,7 +34,7 @@ + #endif + + #ifndef _GL_INLINE_HEADER_BEGIN +- #error "Please include config.h first." ++# include "config.h" + #endif + _GL_INLINE_HEADER_BEGIN + #ifndef _GL_MATH_INLINE