summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorwiedi <wiedi@pkgsrc.org>2016-12-13 13:40:05 +0000
committerwiedi <wiedi@pkgsrc.org>2016-12-13 13:40:05 +0000
commit5deaf9c1807a9bb6aeefceaddfdf0b18eb9cc7f6 (patch)
tree6651a8512feb8040f5ad2d4bb4ce051d09df4a5d /editors
parent4dd75af014eb217ade90a621495e0f6ba1ec8966 (diff)
downloadpkgsrc-5deaf9c1807a9bb6aeefceaddfdf0b18eb9cc7f6.tar.gz
add patch to include sys/filio.h for FIONREAD on SunOS
Diffstat (limited to 'editors')
-rw-r--r--editors/emacs25/distinfo3
-rw-r--r--editors/emacs25/patches/patch-src_inotify.c17
2 files changed, 19 insertions, 1 deletions
diff --git a/editors/emacs25/distinfo b/editors/emacs25/distinfo
index 9642a1235b5..f4513186985 100644
--- a/editors/emacs25/distinfo
+++ b/editors/emacs25/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.1 2016/09/18 13:36:18 ryoon Exp $
+$NetBSD: distinfo,v 1.2 2016/12/13 13:40:05 wiedi Exp $
SHA1 (emacs-25.1.tar.gz) = 78fd1683bbb77bbab7453aedc2be457258bbae8c
RMD160 (emacs-25.1.tar.gz) = d29ddba846024c7df3e1dc02ac32690f3650e7b9
SHA512 (emacs-25.1.tar.gz) = c933483071c42a277c7b09c77b93a057cfbb68456dc90c6f4eaf881d478c0f64383330c5b9c6a2a70a008f30f8b303862e5434d442b8a9cddaa5926e54d5a251
Size (emacs-25.1.tar.gz) = 62345581 bytes
+SHA1 (patch-src_inotify.c) = 1fdc6566ed57e8418f1ddc85bb03518d7d9d6bb3
diff --git a/editors/emacs25/patches/patch-src_inotify.c b/editors/emacs25/patches/patch-src_inotify.c
new file mode 100644
index 00000000000..a914443097d
--- /dev/null
+++ b/editors/emacs25/patches/patch-src_inotify.c
@@ -0,0 +1,17 @@
+$NetBSD: patch-src_inotify.c,v 1.1 2016/12/13 13:40:05 wiedi 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>