svn commit: r416603 - in head/editors/neovim: . files

John Marino marino at FreeBSD.org
Thu Jun 9 13:41:05 UTC 2016


Author: marino
Date: Thu Jun  9 13:41:03 2016
New Revision: 416603
URL: https://svnweb.freebsd.org/changeset/ports/416603

Log:
  editors/neovim: Unbreak using dports patches
  
  One of the 3 patches is for DF, the other two are commonly needed.

Added:
  head/editors/neovim/files/patch-config_CMakeLists.txt   (contents, props changed)
  head/editors/neovim/files/patch-src_nvim_event_pty__process.c   (contents, props changed)
  head/editors/neovim/files/patch-src_nvim_shada.c   (contents, props changed)
Modified:
  head/editors/neovim/Makefile

Modified: head/editors/neovim/Makefile
==============================================================================
--- head/editors/neovim/Makefile	Thu Jun  9 13:28:14 2016	(r416602)
+++ head/editors/neovim/Makefile	Thu Jun  9 13:41:03 2016	(r416603)
@@ -3,7 +3,7 @@
 
 PORTNAME=	neovim
 PORTVERSION=	0.1.4
-PORTREVISION=	1
+PORTREVISION=	2
 DISTVERSIONPREFIX=	v
 CATEGORIES=	editors
 
@@ -12,8 +12,6 @@ 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 \

Added: head/editors/neovim/files/patch-config_CMakeLists.txt
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/editors/neovim/files/patch-config_CMakeLists.txt	Thu Jun  9 13:41:03 2016	(r416603)
@@ -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 <endian.h>
++  #include <sys/endian.h>
+   #ifndef be64toh
+   # error No be64toh macros
+   #endif

Added: head/editors/neovim/files/patch-src_nvim_event_pty__process.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/editors/neovim/files/patch-src_nvim_event_pty__process.c	Thu Jun  9 13:41:03 2016	(r416603)
@@ -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 <sys/ioctl.h>
+ 
+ // forkpty is not in POSIX, so headers are platform-specific
+-#if defined(__FreeBSD__)
++#if defined(__FreeBSD__) || defined __DragonFly__
+ # include <libutil.h>
+ #elif defined(__OpenBSD__) || defined(__NetBSD__) || defined(__APPLE__)
+ # include <util.h>

Added: head/editors/neovim/files/patch-src_nvim_shada.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/editors/neovim/files/patch-src_nvim_shada.c	Thu Jun  9 13:41:03 2016	(r416603)
@@ -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 <endian.h>
+ #endif
+ 
+ // Note: when using bufset hash pointers are intentionally casted to uintptr_t


More information about the svn-ports-head mailing list