pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/editors/emacs25 add patch to include sys/filio.h for F...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8d2f53cef85c
branches:  trunk
changeset: 355841:8d2f53cef85c
user:      wiedi <wiedi%pkgsrc.org@localhost>
date:      Tue Dec 13 13:40:05 2016 +0000

description:
add patch to include sys/filio.h for FIONREAD on SunOS

diffstat:

 editors/emacs25/distinfo                    |   3 ++-
 editors/emacs25/patches/patch-src_inotify.c |  17 +++++++++++++++++
 2 files changed, 19 insertions(+), 1 deletions(-)

diffs (33 lines):

diff -r 54e4cf0a2991 -r 8d2f53cef85c editors/emacs25/distinfo
--- a/editors/emacs25/distinfo  Tue Dec 13 10:58:37 2016 +0000
+++ b/editors/emacs25/distinfo  Tue Dec 13 13:40:05 2016 +0000
@@ -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 -r 54e4cf0a2991 -r 8d2f53cef85c editors/emacs25/patches/patch-src_inotify.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/editors/emacs25/patches/patch-src_inotify.c       Tue Dec 13 13:40:05 2016 +0000
@@ -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>



Home | Main Index | Thread Index | Old Index