Sat Jan 31 23:40:09 2015 UTC ()
SunOS inotify requires sys/filio.h for FIONREAD.


(jperkin)
diff -r1.15 -r1.16 pkgsrc/editors/emacs24/distinfo
diff -r0 -r1.1 pkgsrc/editors/emacs24/patches/patch-src_inotify.c

cvs diff -r1.15 -r1.16 pkgsrc/editors/emacs24/Attic/distinfo (expand / switch to unified diff)

--- pkgsrc/editors/emacs24/Attic/distinfo 2015/01/10 16:15:30 1.15
+++ pkgsrc/editors/emacs24/Attic/distinfo 2015/01/31 23:40:09 1.16
@@ -1,6 +1,7 @@ @@ -1,6 +1,7 @@
1$NetBSD: distinfo,v 1.15 2015/01/10 16:15:30 gdt Exp $ 1$NetBSD: distinfo,v 1.16 2015/01/31 23:40:09 jperkin Exp $
2 2
3SHA1 (emacs-24.4.tar.gz) = df540d889a685a3ccaae94682b3ff131968e2706 3SHA1 (emacs-24.4.tar.gz) = df540d889a685a3ccaae94682b3ff131968e2706
4RMD160 (emacs-24.4.tar.gz) = 52bec18c5f8e4ee7ea3b765620c0f19d2ee524c9 4RMD160 (emacs-24.4.tar.gz) = 52bec18c5f8e4ee7ea3b765620c0f19d2ee524c9
5Size (emacs-24.4.tar.gz) = 59020082 bytes 5Size (emacs-24.4.tar.gz) = 59020082 bytes
6SHA1 (patch-gnu_readlinkat.c) = 9252c92290ccf1d4094bbd3972d8309ebf9e57d6 6SHA1 (patch-gnu_readlinkat.c) = 9252c92290ccf1d4094bbd3972d8309ebf9e57d6
 7SHA1 (patch-src_inotify.c) = 9dfddb9db39e84f376cad1d5a5a32861e7838cac

File Added: pkgsrc/editors/emacs24/patches/Attic/patch-src_inotify.c
$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