pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/editors/sandy Needs include for TIOCGWINSZ on SunOS



details:   https://anonhg.NetBSD.org/pkgsrc/rev/24c15c5ccdd3
branches:  trunk
changeset: 364863:24c15c5ccdd3
user:      wiedi <wiedi%pkgsrc.org@localhost>
date:      Thu Jul 06 09:09:02 2017 +0000

description:
Needs include for TIOCGWINSZ on SunOS

diffstat:

 editors/sandy/distinfo              |   3 ++-
 editors/sandy/patches/patch-sandy.c |  16 ++++++++++++++++
 2 files changed, 18 insertions(+), 1 deletions(-)

diffs (32 lines):

diff -r a516803b1234 -r 24c15c5ccdd3 editors/sandy/distinfo
--- a/editors/sandy/distinfo    Thu Jul 06 08:42:04 2017 +0000
+++ b/editors/sandy/distinfo    Thu Jul 06 09:09:02 2017 +0000
@@ -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 -r a516803b1234 -r 24c15c5ccdd3 editors/sandy/patches/patch-sandy.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/editors/sandy/patches/patch-sandy.c       Thu Jul 06 09:09:02 2017 +0000
@@ -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



Home | Main Index | Thread Index | Old Index