fix for 32-bit arches with 64-bit time_t; from Jens Johansson

update license information/PERMIT_* text
This commit is contained in:
sthen 2019-05-23 09:37:30 +00:00
parent d390afa349
commit 2dcd382134
2 changed files with 15 additions and 7 deletions

View File

@ -1,15 +1,16 @@
# $OpenBSD: Makefile,v 1.23 2019/05/17 16:19:38 sthen Exp $
# $OpenBSD: Makefile,v 1.24 2019/05/23 09:37:30 sthen Exp $
COMMENT= full screen simple editor
DISTNAME= uemacs
PKGNAME= uemacs-4.0
CATEGORIES= editors
REVISION = 1
REVISION= 2
HOMEPAGE= http://uemacs.tripod.com/
PERMIT_PACKAGE_CDROM= weird no fee license
# see doc/readme
PERMIT_PACKAGE_CDROM= can be copied and distributed freely for any non-commercial purposes
PERMIT_PACKAGE_FTP= Yes
WANTLIB += c curses

View File

@ -1,6 +1,7 @@
$OpenBSD: patch-src_unix_c,v 1.1 2004/01/06 03:29:09 espie Exp $
--- src/unix.c.orig 1995-11-18 16:36:58.000000000 +0100
+++ src/unix.c 2004-01-06 04:20:22.000000000 +0100
$OpenBSD: patch-src_unix_c,v 1.2 2019/05/23 09:37:30 sthen Exp $
Index: src/unix.c
--- src/unix.c.orig
+++ src/unix.c
@@ -81,7 +81,7 @@ int scnothing()
}
@ -58,7 +59,7 @@ $OpenBSD: patch-src_unix_c,v 1.1 2004/01/06 03:29:09 espie Exp $
/* Surely more than just BSD systems do this */
/** Perform a stop signal **/
@@ -1225,7 +1225,7 @@ int bktoshell(f, n)
@@ -1225,12 +1225,12 @@ int bktoshell(f, n)
return(0);
}
@ -67,6 +68,12 @@ $OpenBSD: patch-src_unix_c,v 1.1 2004/01/06 03:29:09 espie Exp $
/** Get time of day **/
char * timeset()
{
- long int buf; /* Should be time_t */
+ time_t buf;
char * sp, * cp;
char * ctime();
@@ -1327,9 +1327,9 @@ int n; /* Argument count */
/* Get shell path */
sh = getenv("SHELL");