pkgsrc/editors/emacs26/patches/patch-src_inotify.c
mef 76b74e27a4 editors/emacs26: import emacs26-26.1
GNU Emacs is an extensible, customizable editor textand more.  At its
core is an interpreter for Emacs Lisp, a dialect of the Lisp
programming language with extensions to support text editing.  The
features of GNU Emacs include:

- Content-sensitive editing modes, including syntax coloring, for a
  wide variety of file types including plain text, source code, and
  HTML.
- Complete built-in documentation, including a tutorial for new users.
- Support for many languages and their scripts, including all scripts,
  Russian, Greek, Japanese, Chinese, Korean, Thai, Vietnamese, Lao,
  Ethiopian, and some Indian scripts.
- Highly customizable, using Emacs Lisp code or a graphical
  customization interface.
- A large number of extensions that add other functionality, including
  a project planner, mail and news reader, debugger interface,
  calendar, and more.  Many of these extensions are distributed with
  GNU Emacs; others are available separately.

This package contains Emacs version 26.
2018-06-20 11:04:19 +00:00

17 lines
416 B
C

$NetBSD: patch-src_inotify.c,v 1.1 2018/06/20 11:04:19 mef Exp $
need sys/filio.h for FIONREAD on SunOS
--- src/inotify.c.orig 2016-06-29 09:49:22.000000000 +0000
+++ src/inotify.c
@@ -27,6 +27,10 @@ along with GNU Emacs. If not, see <http
#include "keyboard.h"
#include "termhooks.h"
+#if defined(__sun)
+#include <sys/filio.h>
+#endif
+
#include <errno.h>
#include <sys/inotify.h>
#include <sys/ioctl.h>