summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorjperkin <jperkin>2015-01-31 22:52:56 +0000
committerjperkin <jperkin>2015-01-31 22:52:56 +0000
commit9cb4271667e0ab6b7469c98506420aa899317f01 (patch)
tree5ec97c9259b1969f77011e596a315e83655e827e /editors
parentd75c50f85ed9edbbb9f70ffe7687faf975f429b5 (diff)
downloadpkgsrc-9cb4271667e0ab6b7469c98506420aa899317f01.tar.gz
SunOS inotify requires sys/filio.h for FIONREAD.
Diffstat (limited to 'editors')
-rw-r--r--editors/emacs24/distinfo3
-rw-r--r--editors/emacs24/patches/patch-src_inotify.c16
2 files changed, 18 insertions, 1 deletions
diff --git a/editors/emacs24/distinfo b/editors/emacs24/distinfo
index ff6788a973f..498c2dc2c44 100644
--- a/editors/emacs24/distinfo
+++ b/editors/emacs24/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.15 2015/01/10 16:15:30 gdt Exp $
+$NetBSD: distinfo,v 1.16 2015/01/31 23:40:09 jperkin Exp $
SHA1 (emacs-24.4.tar.gz) = df540d889a685a3ccaae94682b3ff131968e2706
RMD160 (emacs-24.4.tar.gz) = 52bec18c5f8e4ee7ea3b765620c0f19d2ee524c9
Size (emacs-24.4.tar.gz) = 59020082 bytes
SHA1 (patch-gnu_readlinkat.c) = 9252c92290ccf1d4094bbd3972d8309ebf9e57d6
+SHA1 (patch-src_inotify.c) = 9dfddb9db39e84f376cad1d5a5a32861e7838cac
diff --git a/editors/emacs24/patches/patch-src_inotify.c b/editors/emacs24/patches/patch-src_inotify.c
new file mode 100644
index 00000000000..5c00a19b52e
--- /dev/null
+++ b/editors/emacs24/patches/patch-src_inotify.c
@@ -0,0 +1,16 @@
+$NetBSD: patch-src_inotify.c,v 1.1 2015/01/31 23:40:09 jperkin Exp $
+
+SunOS inotify requires sys/filio.h for FIONREAD.
+
+--- src/inotify.c.orig 2014-03-21 05:34:40.000000000 +0000
++++ src/inotify.c
+@@ -59,6 +59,9 @@ static Lisp_Object Qunmount; /* IN
+
+ #include <sys/inotify.h>
+ #include <sys/ioctl.h>
++#ifdef __sun
++#include <sys/filio.h>
++#endif
+
+ /* Ignore bits that might be undefined on old GNU/Linux systems. */
+ #ifndef IN_EXCL_UNLINK