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 context 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,4 +1,4 @@
-$NetBSD: distinfo,v 1.8 2012/05/10 20:54:54 dholland Exp $
+$NetBSD: distinfo,v 1.9 2012/05/14 07:06:16 dholland Exp $
 
 SHA1 (ue400dev.zip) = edbb0261cdaa1803d9f7dc7debfd4a9df3a668eb
 RMD160 (ue400dev.zip) = 75bc1b1e11035ed24d33ec4c6afad43880d5985f
@@ -9,7 +9,7 @@
 SHA1 (patch-ad) = 493eb3bf0c24d91d55f532029a0aa5d2ad5abe44
 SHA1 (patch-ae) = 1651a3dea366cb93beff5965baa11b0d80637c7f
 SHA1 (patch-af) = 6f65e648db55b4402d532f63532707ce883f7300
-SHA1 (patch-ag) = 2f6e1bd24888f02083fba88d73bdcc5672cb3aab
+SHA1 (patch-ag) = 903cf891588c8d4fba9fe32787a2ba720be77279
 SHA1 (patch-h_ebind_h) = fd262c8559f86a923c4ca4d6ee237229c21e15c3
 SHA1 (patch-h_eproto_h) = 20abd7755c63292cc87197a4de31d69491f973a8
 SHA1 (patch-h_evar_h) = 3491307028a9249a159abb3d92394dbdb475c289

cvs diff -r1.3 -r1.4 pkgsrc/editors/uemacs/patches/patch-ag (expand / switch to context 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,4 +1,4 @@
-$NetBSD: patch-ag,v 1.3 2012/05/10 20:53:30 dholland Exp $
+$NetBSD: patch-ag,v 1.4 2012/05/14 07:06:16 dholland Exp $
 
 - needs term.h for termcap
 - get terminal size from termcap only if LINES and COLUMNS aren't set
@@ -9,6 +9,7 @@
 - add missing conditionals around conditionally-used declaration
 - remove unused variables
 - 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
@@ -78,7 +79,20 @@
  
  /** Set foreground color **/
  int scfcol(color)
-@@ -1553,7 +1568,6 @@ char *fspec;				/* Filename specificatio
+@@ -1230,11 +1245,9 @@ int bktoshell(f, n)
+ /** Get time of day **/
+ char * timeset()
+ {
+-	long int buf; /* Should be time_t */
++	time_t buf;
+ 	char * sp, * cp;
+ 
+-	char * ctime();
+-
+ 	/* Get system time */
+ 	time(&buf);
+ 
+@@ -1553,7 +1566,6 @@ char *fspec;				/* Filename specificatio
  /** Get next filename from pattern **/
  char *getnfile()
  {
@@ -86,7 +100,7 @@
  	struct DIRENTRY * dp;
  	struct stat fstat;
  
-@@ -1706,15 +1720,15 @@ char *name;	/* name of directory to dele
+@@ -1706,15 +1718,15 @@ char *name;	/* name of directory to dele
  /*
   * Window size changes handled via signals.
   */