summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorwiedi <wiedi@pkgsrc.org>2017-07-06 09:09:02 +0000
committerwiedi <wiedi@pkgsrc.org>2017-07-06 09:09:02 +0000
commit9ac71573f89364daa65eff4b3f8bec6583a2a819 (patch)
treee7837ef6c472e37624893c9aa03c1a55eddbe350 /editors
parentd8b67c15877b18861f0f836bce6cfc1d2ae2197f (diff)
downloadpkgsrc-9ac71573f89364daa65eff4b3f8bec6583a2a819.tar.gz
Needs include for TIOCGWINSZ on SunOS
Diffstat (limited to 'editors')
-rw-r--r--editors/sandy/distinfo3
-rw-r--r--editors/sandy/patches/patch-sandy.c16
2 files changed, 18 insertions, 1 deletions
diff --git a/editors/sandy/distinfo b/editors/sandy/distinfo
index 388d086823d..3faa2a06069 100644
--- a/editors/sandy/distinfo
+++ b/editors/sandy/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.6 2015/11/03 03:32:21 agc Exp $
+$NetBSD: distinfo,v 1.7 2017/07/06 09:09:02 wiedi Exp $
SHA1 (sandy-0.4.tar.gz) = da5e8820e73ae3e849df469d32887c5227a15d74
RMD160 (sandy-0.4.tar.gz) = e230a230edf02f499ee5bbe57e3ac70cfcf228c0
SHA512 (sandy-0.4.tar.gz) = 3773c81aadeb4b55e3c77a9eecf447e2791ea43f9461d37a02a3e2eb84d9343f4951e3bb6d60f04059f12b4d9223aaaf1eed532fdad8f64726cc252af77dc7bb
Size (sandy-0.4.tar.gz) = 19243 bytes
+SHA1 (patch-sandy.c) = a9f09dc792314a2947a892961b995ce19a0c0c30
diff --git a/editors/sandy/patches/patch-sandy.c b/editors/sandy/patches/patch-sandy.c
new file mode 100644
index 00000000000..869c55a9409
--- /dev/null
+++ b/editors/sandy/patches/patch-sandy.c
@@ -0,0 +1,16 @@
+$NetBSD: patch-sandy.c,v 1.1 2017/07/06 09:09:02 wiedi Exp $
+
+Needs include for TIOCGWINSZ on SunOS
+--- sandy.c.orig 2011-04-01 16:05:58.000000000 +0000
++++ sandy.c
+@@ -14,6 +14,10 @@
+ #include <string.h>
+ #include <curses.h>
+
++#if defined(__sun)
++#include <sys/termios.h>
++#endif
++
+ /* Defines */
+ #ifndef PIPESIZ /* This is POSIX magic */
+ #define PIPESIZ 4096