Index: head/editors/neovim/Makefile =================================================================== --- head/editors/neovim/Makefile (revision 416602) +++ head/editors/neovim/Makefile (revision 416603) @@ -1,48 +1,46 @@ # Created by: Anton Tornqvist # $FreeBSD$ PORTNAME= neovim PORTVERSION= 0.1.4 -PORTREVISION= 1 +PORTREVISION= 2 DISTVERSIONPREFIX= v CATEGORIES= editors MAINTAINER= ports@FreeBSD.org COMMENT= Next generation Vim LICENSE= APACHE20 - -BROKEN= fails to build BUILD_DEPENDS= ${LUA_MODLIBDIR}/bit.so:devel/lua-bitop \ ${LUA_MODLIBDIR}/lpeg.so:devel/lua-lpeg LIB_DEPENDS= libunibilium.so:devel/unibilium \ libvterm.so:devel/libvterm \ libtermkey.so:devel/libtermkey \ libluajit-5.1.so:lang/luajit \ libuv.so:devel/libuv \ libmsgpackc.so:devel/msgpack USES= cmake:outsource gettext iconv ninja lua:build pathfix pkgconfig USE_GITHUB= yes GH_TUPLE= tarruda:libmpack:1.0.2:libmpack CMAKE_ARGS= -DLUA_PRG:FILEPATH="${LUA_CMD}" \ -DCMAKE_INSTALL_MANDIR:PATH="${MANPREFIX}/man" \ -DDEPS_PREFIX:PATH="${LOCALBASE}" post-patch: @${REINPLACE_CMD} -e \ 's|lua_objlen|lua_rawlen| ; \ s|luaL_reg |luaL_Reg | ; \ s|luaL_register(L, NULL, \(.*\));|luaL_setfuncs(L, \1, 0);|' \ ${WRKSRC_libmpack}/binding/lua/lmpack.c pre-build: @${MKDIR} ${BUILD_WRKSRC}/src/nvim @(cd ${WRKSRC_libmpack}/binding/lua && ${CC} ${CFLAGS} -fPIC \ -I${LUA_INCDIR} -shared lmpack.c -o \ ${BUILD_WRKSRC}/src/nvim/mpack.so \ ${LUA_LIBDIR}/liblua-${LUA_VER}.so) .include Index: head/editors/neovim/files/patch-config_CMakeLists.txt =================================================================== --- head/editors/neovim/files/patch-config_CMakeLists.txt (nonexistent) +++ head/editors/neovim/files/patch-config_CMakeLists.txt (revision 416603) @@ -0,0 +1,11 @@ +--- config/CMakeLists.txt.orig 2016-06-09 12:33:52 UTC ++++ config/CMakeLists.txt +@@ -74,7 +74,7 @@ check_c_source_compiles(" + #define _BSD_SOURCE 1 + #define _DEFAULT_SOURCE 1 + ${SI} +- #include ++ #include + #ifndef be64toh + # error No be64toh macros + #endif Property changes on: head/editors/neovim/files/patch-config_CMakeLists.txt ___________________________________________________________________ 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 Index: head/editors/neovim/files/patch-src_nvim_event_pty__process.c =================================================================== --- head/editors/neovim/files/patch-src_nvim_event_pty__process.c (nonexistent) +++ head/editors/neovim/files/patch-src_nvim_event_pty__process.c (revision 416603) @@ -0,0 +1,11 @@ +--- src/nvim/event/pty_process.c.orig 2016-04-25 01:46:34 UTC ++++ src/nvim/event/pty_process.c +@@ -10,7 +10,7 @@ + #include + + // forkpty is not in POSIX, so headers are platform-specific +-#if defined(__FreeBSD__) ++#if defined(__FreeBSD__) || defined __DragonFly__ + # include + #elif defined(__OpenBSD__) || defined(__NetBSD__) || defined(__APPLE__) + # include Property changes on: head/editors/neovim/files/patch-src_nvim_event_pty__process.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 Index: head/editors/neovim/files/patch-src_nvim_shada.c =================================================================== --- head/editors/neovim/files/patch-src_nvim_shada.c (nonexistent) +++ head/editors/neovim/files/patch-src_nvim_shada.c (revision 416603) @@ -0,0 +1,10 @@ +--- src/nvim/shada.c.orig 2016-04-25 01:46:34 UTC ++++ src/nvim/shada.c +@@ -46,7 +46,6 @@ + #ifdef HAVE_BE64TOH + # define _BSD_SOURCE 1 + # define _DEFAULT_SOURCE 1 +-# include + #endif + + // Note: when using bufset hash pointers are intentionally casted to uintptr_t Property changes on: head/editors/neovim/files/patch-src_nvim_shada.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