Index: head/sysutils/grub2-bhyve/Makefile =================================================================== --- head/sysutils/grub2-bhyve/Makefile (revision 387491) +++ head/sysutils/grub2-bhyve/Makefile (revision 387492) @@ -1,47 +1,48 @@ # Created by: kmoore@FreeBSD.org # $FreeBSD$ PORTNAME= grub2-bhyve DISTVERSIONPREFIX= v DISTVERSION= 0.30 +PORTREVISION= 1 CATEGORIES= sysutils MAINTAINER= kmoore@FreeBSD.org COMMENT= Grub-emu loader for bhyve LICENSE= GPLv3 BUILD_DEPENDS= ${LOCALBASE}/bin/flex:${PORTSDIR}/textproc/flex \ help2man:${PORTSDIR}/misc/help2man ONLY_FOR_ARCHS= amd64 SSP_UNSAFE= yes USE_GITHUB= yes GH_ACCOUNT= grehan-freebsd USES= bison gmake USE_GCC= yes PLIST_FILES= sbin/grub-bhyve MAKE_JOBS_UNSAFE= yes CONFIGURE_ARGS= --with-platform=emu CC=${CC} LEX=${LOCALBASE}/bin/flex \ --enable-grub-mount=no --enable-grub-mkfont=no \ --enable-grub-emu-sdl=no --disable-nls --disable-werror .include .if ${OSVERSION} <= 1000000 IGNORE= for FreeBSD 10 and higher .endif post-patch: @${REINPLACE_CMD} -e "s/libintl\.h/I_do_not_want_libintl.h/g" ${WRKSRC}/configure @${REINPLACE_CMD} -e "s/-lintl//g" ${WRKSRC}/grub-core/Makefile.in do-configure: @ cd ${WRKSRC}/ && ./configure ${CONFIGURE_ARGS} do-install: ${INSTALL_PROGRAM} ${WRKSRC}/grub-core/grub-emu ${STAGEDIR}${LOCALBASE}/sbin/grub-bhyve .include RUN_DEPENDS:= ${RUN_DEPENDS:Ngcc*} Index: head/sysutils/grub2-bhyve/files/patch-grub-core_term_emu_console.c =================================================================== --- head/sysutils/grub2-bhyve/files/patch-grub-core_term_emu_console.c (nonexistent) +++ head/sysutils/grub2-bhyve/files/patch-grub-core_term_emu_console.c (revision 387492) @@ -0,0 +1,11 @@ +--- grub-core/term/emu/console.c.orig 2015-05-26 09:58:09 UTC ++++ grub-core/term/emu/console.c +@@ -260,7 +260,7 @@ grub_ncurses_init (struct grub_term_outp + + if (g_cdev != NULL) { + /* Open user-supplied console device. */ +- fd = open (g_cdev, O_RDWR); ++ fd = open (g_cdev, O_RDWR | O_NONBLOCK); + if (fd < 0) + return (GRUB_ERR_UNKNOWN_DEVICE); + Property changes on: head/sysutils/grub2-bhyve/files/patch-grub-core_term_emu_console.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property