Mon May 14 07:06:16 2012 UTC ()
Use time_t to call time(), not "long int".


(dholland)
diff -r1.8 -r1.9 pkgsrc/editors/uemacs/distinfo
diff -r1.3 -r1.4 pkgsrc/editors/uemacs/patches/patch-ag

cvs diff -r1.8 -r1.9 pkgsrc/editors/uemacs/distinfo (expand / switch to unified diff)

--- pkgsrc/editors/uemacs/distinfo 2012/05/10 20:54:54 1.8
+++ pkgsrc/editors/uemacs/distinfo 2012/05/14 07:06:16 1.9
@@ -1,25 +1,25 @@ @@ -1,25 +1,25 @@
1$NetBSD: distinfo,v 1.8 2012/05/10 20:54:54 dholland Exp $ 1$NetBSD: distinfo,v 1.9 2012/05/14 07:06:16 dholland Exp $
2 2
3SHA1 (ue400dev.zip) = edbb0261cdaa1803d9f7dc7debfd4a9df3a668eb 3SHA1 (ue400dev.zip) = edbb0261cdaa1803d9f7dc7debfd4a9df3a668eb
4RMD160 (ue400dev.zip) = 75bc1b1e11035ed24d33ec4c6afad43880d5985f 4RMD160 (ue400dev.zip) = 75bc1b1e11035ed24d33ec4c6afad43880d5985f
5Size (ue400dev.zip) = 1179949 bytes 5Size (ue400dev.zip) = 1179949 bytes
6SHA1 (patch-aa) = f576f207dc6c55a21664b50c821d8e8280406a70 6SHA1 (patch-aa) = f576f207dc6c55a21664b50c821d8e8280406a70
7SHA1 (patch-ab) = bef63275aa8a88b12ce47fd568059360e1e972c8 7SHA1 (patch-ab) = bef63275aa8a88b12ce47fd568059360e1e972c8
8SHA1 (patch-ac) = beeba5d9686f6009248437f3eb0fd10e8b72057b 8SHA1 (patch-ac) = beeba5d9686f6009248437f3eb0fd10e8b72057b
9SHA1 (patch-ad) = 493eb3bf0c24d91d55f532029a0aa5d2ad5abe44 9SHA1 (patch-ad) = 493eb3bf0c24d91d55f532029a0aa5d2ad5abe44
10SHA1 (patch-ae) = 1651a3dea366cb93beff5965baa11b0d80637c7f 10SHA1 (patch-ae) = 1651a3dea366cb93beff5965baa11b0d80637c7f
11SHA1 (patch-af) = 6f65e648db55b4402d532f63532707ce883f7300 11SHA1 (patch-af) = 6f65e648db55b4402d532f63532707ce883f7300
12SHA1 (patch-ag) = 2f6e1bd24888f02083fba88d73bdcc5672cb3aab 12SHA1 (patch-ag) = 903cf891588c8d4fba9fe32787a2ba720be77279
13SHA1 (patch-h_ebind_h) = fd262c8559f86a923c4ca4d6ee237229c21e15c3 13SHA1 (patch-h_ebind_h) = fd262c8559f86a923c4ca4d6ee237229c21e15c3
14SHA1 (patch-h_eproto_h) = 20abd7755c63292cc87197a4de31d69491f973a8 14SHA1 (patch-h_eproto_h) = 20abd7755c63292cc87197a4de31d69491f973a8
15SHA1 (patch-h_evar_h) = 3491307028a9249a159abb3d92394dbdb475c289 15SHA1 (patch-h_evar_h) = 3491307028a9249a159abb3d92394dbdb475c289
16SHA1 (patch-src_abbrev_c) = 9252165a1a60f4984ba7e68ace5ab1e3b9aba5ff 16SHA1 (patch-src_abbrev_c) = 9252165a1a60f4984ba7e68ace5ab1e3b9aba5ff
17SHA1 (patch-src_basic_c) = 9c46f2526102342c2c0b13f7febfb04913245a58 17SHA1 (patch-src_basic_c) = 9c46f2526102342c2c0b13f7febfb04913245a58
18SHA1 (patch-src_buffer_c) = a2589f58e8adf6a227be33a3c97560b01a0f6af6 18SHA1 (patch-src_buffer_c) = a2589f58e8adf6a227be33a3c97560b01a0f6af6
19SHA1 (patch-src_crypt_c) = 5e76bada1614497596675026465a448fe2ea7779 19SHA1 (patch-src_crypt_c) = 5e76bada1614497596675026465a448fe2ea7779
20SHA1 (patch-src_display_c) = aad3a3e1e08eb60faf8fddda248b5d5e81cc3c96 20SHA1 (patch-src_display_c) = aad3a3e1e08eb60faf8fddda248b5d5e81cc3c96
21SHA1 (patch-src_dolock_c) = 76065c2713b521d4e82f1ee9c261ff392e254428 21SHA1 (patch-src_dolock_c) = 76065c2713b521d4e82f1ee9c261ff392e254428
22SHA1 (patch-src_eval_c) = fe624ff82f021eee53de21f4682bd28872703a37 22SHA1 (patch-src_eval_c) = fe624ff82f021eee53de21f4682bd28872703a37
23SHA1 (patch-src_exec_c) = 27238fd0b2948cbaff2ee83d2cc1547d7554d3c2 23SHA1 (patch-src_exec_c) = 27238fd0b2948cbaff2ee83d2cc1547d7554d3c2
24SHA1 (patch-src_file_c) = f62c778b710e2bd61e762514bbc3136ff8f7b201 24SHA1 (patch-src_file_c) = f62c778b710e2bd61e762514bbc3136ff8f7b201
25SHA1 (patch-src_fileio_c) = ee5034687a031a5d69e31ef6126fe7e34adcf8a3 25SHA1 (patch-src_fileio_c) = ee5034687a031a5d69e31ef6126fe7e34adcf8a3

cvs diff -r1.3 -r1.4 pkgsrc/editors/uemacs/patches/patch-ag (expand / switch to unified diff)

--- pkgsrc/editors/uemacs/patches/patch-ag 2012/05/10 20:53:30 1.3
+++ pkgsrc/editors/uemacs/patches/patch-ag 2012/05/14 07:06:16 1.4
@@ -1,24 +1,25 @@ @@ -1,24 +1,25 @@
1$NetBSD: patch-ag,v 1.3 2012/05/10 20:53:30 dholland Exp $ 1$NetBSD: patch-ag,v 1.4 2012/05/14 07:06:16 dholland Exp $
2 2
3- needs term.h for termcap 3- needs term.h for termcap
4- get terminal size from termcap only if LINES and COLUMNS aren't set 4- get terminal size from termcap only if LINES and COLUMNS aren't set
5 in the environment 5 in the environment
6- return values from non-void functions 6- return values from non-void functions
7 (arguably these should be made void but it causes complications) 7 (arguably these should be made void but it causes complications)
8- don't use implicit int 8- don't use implicit int
9- add missing conditionals around conditionally-used declaration 9- add missing conditionals around conditionally-used declaration
10- remove unused variables 10- remove unused variables
11- use correct type signature for signal handler 11- use correct type signature for signal handler
 12- use time_t for calling time()
12 13
13--- src/unix.c.orig 1995-11-18 21:36:58.000000000 +0000 14--- src/unix.c.orig 1995-11-18 21:36:58.000000000 +0000
14+++ src/unix.c 15+++ src/unix.c
15@@ -123,6 +123,7 @@ int scnothing() 16@@ -123,6 +123,7 @@ int scnothing()
16 #include <curses.h> /* Curses screen output */ 17 #include <curses.h> /* Curses screen output */
17 #undef WINDOW /* Oh no! */ 18 #undef WINDOW /* Oh no! */
18 #endif /* CURSES */ 19 #endif /* CURSES */
19+#include <term.h> 20+#include <term.h>
20  21
21 /** Completion include files **/ 22 /** Completion include files **/
22 /** Directory accessing: Try and figure this out... if you can! **/ 23 /** Directory accessing: Try and figure this out... if you can! **/
23@@ -816,9 +817,19 @@ int scopen() 24@@ -816,9 +817,19 @@ int scopen()
24 exit(1); 25 exit(1);
@@ -68,35 +69,48 @@ $NetBSD: patch-ag,v 1.3 2012/05/10 20:53 @@ -68,35 +69,48 @@ $NetBSD: patch-ag,v 1.3 2012/05/10 20:53
68 { 69 {
69 #if TERMCAP || TERMIOS 70 #if TERMCAP || TERMIOS
70 #if !NOISY 71 #if !NOISY
71@@ -1085,7 +1098,9 @@ scbeep() 72@@ -1085,7 +1098,9 @@ scbeep()
72 } 73 }
73  74
74 #if COLOR 75 #if COLOR
75+#if USG || AUX 76+#if USG || AUX
76 static char cmap[8] = { 0, 4, 2, 6, 1, 5, 3, 7 }; 77 static char cmap[8] = { 0, 4, 2, 6, 1, 5, 3, 7 };
77+#endif 78+#endif
78  79
79 /** Set foreground color **/ 80 /** Set foreground color **/
80 int scfcol(color) 81 int scfcol(color)
81@@ -1553,7 +1568,6 @@ char *fspec; /* Filename specificatio 82@@ -1230,11 +1245,9 @@ int bktoshell(f, n)
 83 /** Get time of day **/
 84 char * timeset()
 85 {
 86- long int buf; /* Should be time_t */
 87+ time_t buf;
 88 char * sp, * cp;
 89
 90- char * ctime();
 91-
 92 /* Get system time */
 93 time(&buf);
 94
 95@@ -1553,7 +1566,6 @@ char *fspec; /* Filename specificatio
82 /** Get next filename from pattern **/ 96 /** Get next filename from pattern **/
83 char *getnfile() 97 char *getnfile()
84 { 98 {
85- int index; 99- int index;
86 struct DIRENTRY * dp; 100 struct DIRENTRY * dp;
87 struct stat fstat; 101 struct stat fstat;
88  102
89@@ -1706,15 +1720,15 @@ char *name; /* name of directory to dele 103@@ -1706,15 +1718,15 @@ char *name; /* name of directory to dele
90 /* 104 /*
91 * Window size changes handled via signals. 105 * Window size changes handled via signals.
92 */ 106 */
93-void winch_changed() 107-void winch_changed()
94+void winch_changed(int sig) 108+void winch_changed(int sig)
95 { 109 {
96+ (void)sig; 110+ (void)sig;
97 signal(SIGWINCH,winch_changed); 111 signal(SIGWINCH,winch_changed);
98 winch_flag = 1; 112 winch_flag = 1;
99 } 113 }
100  114
101 void winch_new_size() 115 void winch_new_size()
102 { 116 {