From owner-svn-ports-head@freebsd.org Thu Oct 17 10:39:02 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 3F3DA14D895; Thu, 17 Oct 2019 10:39:02 +0000 (UTC) (envelope-from woodsb02@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 46v5Hp0pfXz44Hc; Thu, 17 Oct 2019 10:39:02 +0000 (UTC) (envelope-from woodsb02@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 EF2191F3FB; Thu, 17 Oct 2019 10:39:01 +0000 (UTC) (envelope-from woodsb02@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x9HAd1Bp079712; Thu, 17 Oct 2019 10:39:01 GMT (envelope-from woodsb02@FreeBSD.org) Received: (from woodsb02@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x9HAd1mE079711; Thu, 17 Oct 2019 10:39:01 GMT (envelope-from woodsb02@FreeBSD.org) Message-Id: <201910171039.x9HAd1mE079711@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: woodsb02 set sender to woodsb02@FreeBSD.org using -f From: Ben Woods Date: Thu, 17 Oct 2019 10:39:01 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r514655 - head/sysutils/grub2-bhyve/files X-SVN-Group: ports-head X-SVN-Commit-Author: woodsb02 X-SVN-Commit-Paths: head/sysutils/grub2-bhyve/files X-SVN-Commit-Revision: 514655 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: Thu, 17 Oct 2019 10:39:02 -0000 Author: woodsb02 Date: Thu Oct 17 10:39:01 2019 New Revision: 514655 URL: https://svnweb.freebsd.org/changeset/ports/514655 Log: sysutils/grub2-bhyve: fix build on 13-CURRENT Build error: ./stdio.h:456:1: error: 'gets' undeclared here (not in a function); did you mean 'getw'? grub2 doesn't use gets() at all so it's just an error in the glib header file as a result of gets being excised from FreeBSD. Commenting out the _GL_WARN_ON_USE macro for that is fine. PR: 241168 Submitted by: Robert James Hernandez Approved by: grehan (maintainer) MFH: 2019Q4 Added: head/sysutils/grub2-bhyve/files/ head/sysutils/grub2-bhyve/files/patch-grub-core_gnulib_stdio.in.h (contents, props changed) Added: head/sysutils/grub2-bhyve/files/patch-grub-core_gnulib_stdio.in.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/grub2-bhyve/files/patch-grub-core_gnulib_stdio.in.h Thu Oct 17 10:39:01 2019 (r514655) @@ -0,0 +1,11 @@ +--- grub-core/gnulib/stdio.in.h.orig 2019-10-17 10:29:27 UTC ++++ grub-core/gnulib/stdio.in.h +@@ -141,7 +141,7 @@ _GL_WARN_ON_USE (fflush, "fflush is not always POSIX c + so any use of gets warrants an unconditional warning. Assume it is + always declared, since it is required by C89. */ + #undef gets +-_GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead"); ++//_GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead"); + + #if @GNULIB_FOPEN@ + # if @REPLACE_FOPEN@