View | Details | Raw Unified | Return to bug 241168
Collapse All | Expand All

(-)b/sysutils/grub2-bhyve/Makefile (+4 lines)
Lines 40-42 do-install: Link Here
40
.include <bsd.port.mk>
40
.include <bsd.port.mk>
41
41
42
RUN_DEPENDS:=	${RUN_DEPENDS:Ngcc*}
42
RUN_DEPENDS:=	${RUN_DEPENDS:Ngcc*}
43
44
.if ${OPSYS} == FreeBSD && ${OSVERSION} > 1300000
45
EXTRA_PATCHES=	${PATCHDIR}/extra-patch-grub-core_gnulib_stdio.in.h
46
.endif
(-)b/sysutils/grub2-bhyve/files/extra-patch-grub-core_gnulib_stdio.in.h (-1 / +11 lines)
Added Link Here
0
- 
1
--- grub-core/gnulib/stdio.in.h.orig	2019-10-16 17:49:25 UTC
2
+++ grub-core/gnulib/stdio.in.h
3
@@ -141,7 +141,7 @@ _GL_WARN_ON_USE (fflush, "fflush is not always POSIX c
4
    so any use of gets warrants an unconditional warning.  Assume it is
5
    always declared, since it is required by C89.  */
6
 #undef gets
7
-_GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
8
+/* _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead"); */
9
 
10
 #if @GNULIB_FOPEN@
11
 # if @REPLACE_FOPEN@

Return to bug 241168