From owner-freebsd-office@freebsd.org Thu Oct 27 21:44:36 2016 Return-Path: Delivered-To: freebsd-office@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 238C3C24D7F for ; Thu, 27 Oct 2016 21:44:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 0CDBC7A5 for ; Thu, 27 Oct 2016 21:44:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 08E7CC24D7E; Thu, 27 Oct 2016 21:44:36 +0000 (UTC) Delivered-To: office@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 08853C24D7D for ; Thu, 27 Oct 2016 21:44:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id EBDD07A4 for ; Thu, 27 Oct 2016 21:44:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u9RLiZ7h055447 for ; Thu, 27 Oct 2016 21:44:35 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: office@FreeBSD.org Subject: [Bug 213768] editors/libreoffice: Fix build with lang/gcc5 on 11.0-RELEASE Date: Thu, 27 Oct 2016 21:44:36 +0000 X-Bugzilla-Reason: CC AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: easy, needs-qa, patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: kennethsalerno@yahoo.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: office@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? merge-quarterly? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-office@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Office applications on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Oct 2016 21:44:36 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D213768 --- Comment #21 from Kenneth Salerno --- (In reply to Jung-uk Kim from comment #20) Ok, I could test with -include cstdio instead. It should already be included for every preprocess, that's one of the two major problems here with the gc= c5 port. The first problem is that the lang/gcc5 includes for C++ seem to be missing= a lot of things the system /usr/include/c++/v1 have, things that should be brought in as internal includes for named includes in the source, which is = why I need to explicitely include stdio/cstdio here. The second problem is g++5 expects C99 defined to enter the include bodies, which is addressed in the patch as well. If the supported compiler for x86 ports is clang, what's the harm in this p= atch as part of the if !clang? At worst it's redundant for other arches with a supported g++. --=20 You are receiving this mail because: You are on the CC list for the bug. You are the assignee for the bug.=