diff options
author | jperkin <jperkin@pkgsrc.org> | 2014-09-23 22:37:29 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2014-09-23 22:37:29 +0000 |
commit | 7f0579ab4013ca8c9160dada49c226c714ad5721 (patch) | |
tree | 55e47a8bbe3870183d106aa48cb7241246010e76 /editors/uemacs | |
parent | 413cb6fa5f11f3f532139fab308dccb7ffb42c08 (diff) | |
download | pkgsrc-7f0579ab4013ca8c9160dada49c226c714ad5721.tar.gz |
Don't include termcap.h on SunOS.
Diffstat (limited to 'editors/uemacs')
-rw-r--r-- | editors/uemacs/distinfo | 4 | ||||
-rw-r--r-- | editors/uemacs/patches/patch-ag | 24 |
2 files changed, 15 insertions, 13 deletions
diff --git a/editors/uemacs/distinfo b/editors/uemacs/distinfo index 331a0ac1a94..4623ccf13f2 100644 --- a/editors/uemacs/distinfo +++ b/editors/uemacs/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.11 2012/05/23 04:51:38 dholland Exp $ +$NetBSD: distinfo,v 1.12 2014/09/23 22:40:27 jperkin Exp $ SHA1 (ue400dev.zip) = edbb0261cdaa1803d9f7dc7debfd4a9df3a668eb RMD160 (ue400dev.zip) = 75bc1b1e11035ed24d33ec4c6afad43880d5985f @@ -9,7 +9,7 @@ SHA1 (patch-ac) = beeba5d9686f6009248437f3eb0fd10e8b72057b SHA1 (patch-ad) = 493eb3bf0c24d91d55f532029a0aa5d2ad5abe44 SHA1 (patch-ae) = 1651a3dea366cb93beff5965baa11b0d80637c7f SHA1 (patch-af) = 8171e11cc9f7a3a421ad762885da08a992020656 -SHA1 (patch-ag) = 8fe75cd0399411bc5ffa09c85fb0c95d4ad82e75 +SHA1 (patch-ag) = 3721489258cb194b3137c8de0b0d682f4b35c20d SHA1 (patch-h_ebind_h) = fd262c8559f86a923c4ca4d6ee237229c21e15c3 SHA1 (patch-h_eproto_h) = 20abd7755c63292cc87197a4de31d69491f973a8 SHA1 (patch-h_evar_h) = 3491307028a9249a159abb3d92394dbdb475c289 diff --git a/editors/uemacs/patches/patch-ag b/editors/uemacs/patches/patch-ag index 4dc28e03d2c..8187f06e97b 100644 --- a/editors/uemacs/patches/patch-ag +++ b/editors/uemacs/patches/patch-ag @@ -1,4 +1,4 @@ -$NetBSD: patch-ag,v 1.5 2012/05/14 07:07:41 dholland Exp $ +$NetBSD: patch-ag,v 1.6 2014/09/23 22:40:27 jperkin Exp $ - needs term.h for termcap - get terminal size from termcap only if LINES and COLUMNS aren't set @@ -11,17 +11,19 @@ $NetBSD: patch-ag,v 1.5 2012/05/14 07:07:41 dholland Exp $ - use correct type signature for signal handler - use time_t for calling time() ---- src/unix.c.orig 1995-11-18 21:36:58.000000000 +0000 +--- src/unix.c.orig 1995-11-18 16:36:58.000000000 +0000 +++ src/unix.c -@@ -123,6 +123,7 @@ int scnothing() +@@ -123,6 +123,9 @@ int scnothing() #include <curses.h> /* Curses screen output */ #undef WINDOW /* Oh no! */ #endif /* CURSES */ ++#ifndef __sun +#include <termcap.h> ++#endif /** Completion include files **/ /** Directory accessing: Try and figure this out... if you can! **/ -@@ -816,9 +817,19 @@ int scopen() +@@ -816,9 +819,19 @@ int scopen() exit(1); } @@ -44,7 +46,7 @@ $NetBSD: patch-ag,v 1.5 2012/05/14 07:07:41 dholland Exp $ if (term.t_nrow < 3 || term.t_ncol < 3) { puts("Screen size is too small!"); exit(1); -@@ -956,6 +967,7 @@ int sckopen() +@@ -956,6 +969,7 @@ int sckopen() dis_ufk(); #endif #endif @@ -52,7 +54,7 @@ $NetBSD: patch-ag,v 1.5 2012/05/14 07:07:41 dholland Exp $ } /* close keyboard -hm */ -@@ -968,6 +980,7 @@ int sckclose() +@@ -968,6 +982,7 @@ int sckclose() dis_sfk(); #endif #endif @@ -60,7 +62,7 @@ $NetBSD: patch-ag,v 1.5 2012/05/14 07:07:41 dholland Exp $ } /** Move cursor **/ -@@ -1063,7 +1076,7 @@ int state; /* New state */ +@@ -1063,7 +1078,7 @@ int state; /* New state */ } /** Beep **/ @@ -69,7 +71,7 @@ $NetBSD: patch-ag,v 1.5 2012/05/14 07:07:41 dholland Exp $ { #if TERMCAP || TERMIOS #if !NOISY -@@ -1085,7 +1098,9 @@ scbeep() +@@ -1085,7 +1100,9 @@ scbeep() } #if COLOR @@ -79,7 +81,7 @@ $NetBSD: patch-ag,v 1.5 2012/05/14 07:07:41 dholland Exp $ /** Set foreground color **/ int scfcol(color) -@@ -1230,11 +1245,9 @@ int bktoshell(f, n) +@@ -1230,11 +1247,9 @@ int bktoshell(f, n) /** Get time of day **/ char * timeset() { @@ -92,7 +94,7 @@ $NetBSD: patch-ag,v 1.5 2012/05/14 07:07:41 dholland Exp $ /* Get system time */ time(&buf); -@@ -1553,7 +1566,6 @@ char *fspec; /* Filename specificatio +@@ -1553,7 +1568,6 @@ char *fspec; /* Filename specificatio /** Get next filename from pattern **/ char *getnfile() { @@ -100,7 +102,7 @@ $NetBSD: patch-ag,v 1.5 2012/05/14 07:07:41 dholland Exp $ struct DIRENTRY * dp; struct stat fstat; -@@ -1706,15 +1718,15 @@ char *name; /* name of directory to dele +@@ -1706,15 +1720,15 @@ char *name; /* name of directory to dele /* * Window size changes handled via signals. */ |