editors/neovim: Return pty process patch to restore build on DF

The pty process file was relocated and renamed, so the previous patch
no longer applied and was removed with the last update.  Regenerate the
patch to restore build on DragonFly.

Approved by:	DragonFly blanket
This commit is contained in:
John Marino 2016-10-17 05:13:35 +00:00
parent 054762a42c
commit e4318a275f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=424094

View File

@ -0,0 +1,11 @@
--- src/nvim/os/pty_process_unix.c.orig 2016-08-22 02:14:28 UTC
+++ src/nvim/os/pty_process_unix.c
@@ -9,7 +9,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>