diff options
author | Simon Parzer | 2025-02-10 11:43:35 +0100 |
---|---|---|
committer | Simon Parzer | 2025-02-10 11:43:35 +0100 |
commit | 8bb70cbcb588e27dba8f1bdda0efde7a0cef4912 (patch) | |
tree | 9b26e78a484afad59acc08bd711f633bb870de7b | |
parent | 36eeab91aafbc6d42c1fd68d4e8f48f397b29401 (diff) | |
download | aur-8bb70cbcb588e27dba8f1bdda0efde7a0cef4912.tar.gz |
fix compile errors caused by not including time.h
-rw-r--r-- | PKGBUILD | 2 | ||||
-rw-r--r-- | larn-bsdtolinux.diff | 322 |
2 files changed, 174 insertions, 150 deletions
@@ -9,7 +9,7 @@ url="http://www.netbsd.org" depends=('ncurses') makedepends=('cvs') source=('larn-bsdtolinux.diff') -md5sums=('fd26cceed04e59ade0e9ec85d721d7c5') +md5sums=('8ae468885a7984f3fa14def17943bfa0') package() { _cvsroot=":pserver:anoncvs@anoncvs.NetBSD.org:/cvsroot" diff --git a/larn-bsdtolinux.diff b/larn-bsdtolinux.diff index 22b4413b47af..45c43c62097e 100644 --- a/larn-bsdtolinux.diff +++ b/larn-bsdtolinux.diff @@ -1,100 +1,6 @@ -diff -Naur larn.bsd/Makefile larn.linux/Makefile ---- larn.bsd/Makefile 2008-02-19 07:05:26.000000000 +0100 -+++ larn.linux/Makefile 2009-09-06 00:27:03.208045111 +0200 -@@ -1,77 +1,17 @@ --# $NetBSD: Makefile,v 1.19 2008/02/19 06:05:26 dholland Exp $ --# @(#)Makefile 5.12 (Berkeley) 5/30/93 -- --# EXTRA --# Incorporates code to gather additional performance statistics --# --# TERMIO --# Use sysv termio --# TERMIOS --# Use posix termios --# BSD --# Use BSD specific features (mostly timer and signal stuff) --# BSD4.1 --# Use BSD4.1 to avoid some 4.2 dependencies (must be used with --# BSD above; do not mix with SYSV) --# HIDEBYLINK --# If defined, the program attempts to hide from ps --# DOCHECKPOINTS --# If not defined, checkpoint files are periodically written by the --# larn process (no forking) if enabled in the .larnopts description --# file. Checkpointing is handy on an unreliable system, but takes --# CPU. Inclusion of DOCHECKPOINTS will cause fork()ing to perform the --# checkpoints (again if enabled in the .larnopts file). This usually --# avoids pauses in larn while the checkpointing is being done (on --# large machines). --# VER --# This is the version of the software, example: 12 --# SUBVER --# This is the revision of the software, example: 1 --# FLUSHNO=# --# Set the input queue excess flushing threshold (default 5) --# NOVARARGS --# Define for systems that don't have varargs (a default varargs will --# be used). --# MACRORND --# Define to use macro version of rnd() and rund() (fast and big) --# UIDSCORE --# Define to use user id's to manage scoreboard. Leaving this out will --# cause player id's from the file ".playerids" to be used instead. --# (.playerids is created upon demand). Only one entry per id # is --# allowed in each scoreboard (winning & non-winning). --# VT100 --# Compile for using vt100 family of terminals. Omission of this --# define will cause larn to use termcap, but it will be MUCH slower --# due to an extra layer of output interpretation. Also, only VT100 --# mode allows 2 different standout modes, inverse video, and bold video. --# And only in VT100 mode is the scrolling region of the terminal used --# (much nicer than insert/delete line sequences to simulate it, if --# VT100 is omitted). --# NONAP --# This causes napms() to return immediately instead of delaying n --# milliseconds. This define may be needed on some systems if the nap --# stuff does not work correctly (possible hang). nap() is primarilly --# used to delay for effect when casting missile type spells. --# NOLOG --# Turn off logging. -- --.include <bsd.own.mk> -- --PROG= larn --MAN= larn.6 -+CC= gcc - CPPFLAGS+=-DBSD -DVER=12 -DSUBVER=0 -DNONAP -DUIDSCORE -DTERMIOS --SRCS= main.c object.c create.c tok.c display.c global.c data.c io.c \ -- monster.c store.c diag.c help.c config.c nap.c bill.c scores.c \ -- signal.c action.c moreobj.c movem.c regen.c fortune.c savelev.c -+OBJS= main.o object.o create.o tok.o display.o global.o data.o io.o \ -+ monster.o store.o diag.o help.o config.o nap.o bill.o scores.o \ -+ signal.o action.o moreobj.o movem.o regen.o fortune.o savelev.o -+CCFLAGS= -g -w -DVER=12 -DSUBVER=0 -DNONAP -DUIDSCORE -DTERMIOS -+LDFLAGS= -lcurses - DPADD= ${LIBTERM} --LDADD= -ltermcap --HIDEGAME=hidegame --SETGIDGAME=yes - --.if ${MKSHARE} != "no" --DAT=larnmaze larnopts larn.help --FILES=${DAT:S@^@${.CURDIR}/datfiles/@g} --FILESDIR=/usr/share/games/larn --.endif -+larn: $(OBJS) -+ $(CC) $(CCFLAGS) -o larn $(OBJS) $(LDFLAGS) -+ -+%.o: %.c -+ $(CC) $(CCFLAGS) -c $< - --.include <bsd.prog.mk> -+clean: -+ rm -f *.o larn -diff -Naur larn.bsd/action.c larn.linux/action.c +diff --color -Naur larn.bsd/action.c larn.linux/action.c --- larn.bsd/action.c 2008-02-19 07:05:26.000000000 +0100 -+++ larn.linux/action.c 2009-09-05 23:41:49.825278921 +0200 ++++ larn.linux/action.c 2025-02-10 11:36:17.018001856 +0100 @@ -8,9 +8,6 @@ * ... */ @@ -105,9 +11,9 @@ diff -Naur larn.bsd/action.c larn.linux/action.c #include <stdlib.h> #include <unistd.h> #include "header.h" -diff -Naur larn.bsd/bill.c larn.linux/bill.c +diff --color -Naur larn.bsd/bill.c larn.linux/bill.c --- larn.bsd/bill.c 2009-08-12 10:04:05.000000000 +0200 -+++ larn.linux/bill.c 2009-09-05 23:42:09.825407698 +0200 ++++ larn.linux/bill.c 2025-02-10 11:36:17.018001856 +0100 @@ -30,14 +30,6 @@ */ @@ -123,9 +29,9 @@ diff -Naur larn.bsd/bill.c larn.linux/bill.c #include <sys/file.h> #include <sys/wait.h> #include <stdio.h> -diff -Naur larn.bsd/config.c larn.linux/config.c +diff --color -Naur larn.bsd/config.c larn.linux/config.c --- larn.bsd/config.c 2008-01-28 06:38:53.000000000 +0100 -+++ larn.linux/config.c 2009-09-05 23:42:24.328307034 +0200 ++++ larn.linux/config.c 2025-02-10 11:36:17.018001856 +0100 @@ -9,9 +9,6 @@ * Larn is copyrighted 1986 by Noah Morgan. */ @@ -136,9 +42,9 @@ diff -Naur larn.bsd/config.c larn.linux/config.c #include "header.h" #include "pathnames.h" -diff -Naur larn.bsd/create.c larn.linux/create.c +diff --color -Naur larn.bsd/create.c larn.linux/create.c --- larn.bsd/create.c 2008-02-03 20:29:50.000000000 +0100 -+++ larn.linux/create.c 2009-09-05 23:42:21.681640475 +0200 ++++ larn.linux/create.c 2025-02-10 11:36:17.018001856 +0100 @@ -3,9 +3,6 @@ /* create.c Larn is copyrighted 1986 by Noah Morgan. */ @@ -149,9 +55,9 @@ diff -Naur larn.bsd/create.c larn.linux/create.c #include "header.h" #include "extern.h" -diff -Naur larn.bsd/data.c larn.linux/data.c +diff --color -Naur larn.bsd/data.c larn.linux/data.c --- larn.bsd/data.c 2008-02-03 21:11:04.000000000 +0100 -+++ larn.linux/data.c 2009-09-05 23:46:06.784977393 +0200 ++++ larn.linux/data.c 2025-02-10 11:36:17.018001856 +0100 @@ -30,13 +30,6 @@ */ @@ -166,9 +72,9 @@ diff -Naur larn.bsd/data.c larn.linux/data.c /* data.c Larn is copyrighted 1986 by Noah Morgan. */ /* #define NODEFS */ -diff -Naur larn.bsd/diag.c larn.linux/diag.c +diff --color -Naur larn.bsd/diag.c larn.linux/diag.c --- larn.bsd/diag.c 2008-02-03 20:20:41.000000000 +0100 -+++ larn.linux/diag.c 2009-09-05 23:42:29.991639447 +0200 ++++ larn.linux/diag.c 2025-02-10 11:36:55.684456108 +0100 @@ -2,9 +2,6 @@ /* diag.c Larn is copyrighted 1986 by Noah Morgan. */ @@ -179,9 +85,17 @@ diff -Naur larn.bsd/diag.c larn.linux/diag.c #include <sys/types.h> #include <sys/times.h> -diff -Naur larn.bsd/display.c larn.linux/display.c +@@ -12,6 +9,7 @@ + #include <stdlib.h> + #include <string.h> + #include <unistd.h> ++#include <time.h> + #include "header.h" + #include "extern.h" + +diff --color -Naur larn.bsd/display.c larn.linux/display.c --- larn.bsd/display.c 2009-08-12 10:04:05.000000000 +0200 -+++ larn.linux/display.c 2009-09-05 23:42:32.921644911 +0200 ++++ larn.linux/display.c 2025-02-10 11:36:17.018001856 +0100 @@ -2,9 +2,6 @@ /* display.c Larn is copyrighted 1986 by Noah Morgan. */ @@ -192,9 +106,9 @@ diff -Naur larn.bsd/display.c larn.linux/display.c #include "header.h" #include "extern.h" -diff -Naur larn.bsd/fortune.c larn.linux/fortune.c +diff --color -Naur larn.bsd/fortune.c larn.linux/fortune.c --- larn.bsd/fortune.c 2009-08-12 10:04:05.000000000 +0200 -+++ larn.linux/fortune.c 2009-09-05 23:42:39.328321121 +0200 ++++ larn.linux/fortune.c 2025-02-10 11:36:17.018001856 +0100 @@ -30,13 +30,6 @@ */ @@ -209,9 +123,9 @@ diff -Naur larn.bsd/fortune.c larn.linux/fortune.c #include <stdlib.h> -diff -Naur larn.bsd/global.c larn.linux/global.c +diff --color -Naur larn.bsd/global.c larn.linux/global.c --- larn.bsd/global.c 2008-02-04 02:07:01.000000000 +0100 -+++ larn.linux/global.c 2009-09-05 23:42:43.974971581 +0200 ++++ larn.linux/global.c 2025-02-10 11:36:17.024668415 +0100 @@ -20,9 +20,6 @@ * quit() subroutine to ask if the player really wants to quit */ @@ -222,9 +136,9 @@ diff -Naur larn.bsd/global.c larn.linux/global.c #include <string.h> #include <unistd.h> -diff -Naur larn.bsd/help.c larn.linux/help.c +diff --color -Naur larn.bsd/help.c larn.linux/help.c --- larn.bsd/help.c 2009-08-12 10:04:05.000000000 +0200 -+++ larn.linux/help.c 2009-09-05 23:42:46.784977216 +0200 ++++ larn.linux/help.c 2025-02-10 11:36:17.024668415 +0100 @@ -2,9 +2,6 @@ /* help.c Larn is copyrighted 1986 by Noah Morgan. */ @@ -235,9 +149,9 @@ diff -Naur larn.bsd/help.c larn.linux/help.c #include <unistd.h> -diff -Naur larn.bsd/io.c larn.linux/io.c +diff --color -Naur larn.bsd/io.c larn.linux/io.c --- larn.bsd/io.c 2009-08-12 10:04:05.000000000 +0200 -+++ larn.linux/io.c 2009-09-06 00:24:04.514728812 +0200 ++++ larn.linux/io.c 2025-02-10 11:36:37.474471665 +0100 @@ -61,9 +61,6 @@ * Note: ** entries are available only in termcap mode. */ @@ -248,7 +162,15 @@ diff -Naur larn.bsd/io.c larn.linux/io.c #include "header.h" #include "extern.h" -@@ -650,7 +647,7 @@ +@@ -75,6 +72,7 @@ + #include <fcntl.h> + #include <errno.h> + #include <ctype.h> ++#include <time.h> + + #ifdef TERMIO + #include <termio.h> +@@ -650,7 +648,7 @@ * obvious meanings. */ @@ -257,7 +179,7 @@ diff -Naur larn.bsd/io.c larn.linux/io.c static char *CM, *CE, *CD, *CL, *SO, *SE, *AL, *DL; /* Termcap capabilities */ static char *outbuf = 0; /* translated output buffer */ -@@ -661,8 +658,9 @@ +@@ -661,8 +659,9 @@ init_term() { char *term; @@ -268,7 +190,7 @@ diff -Naur larn.bsd/io.c larn.linux/io.c case -1: write(2, "Cannot open termcap file.\n", 26); exit(1); -@@ -673,16 +671,16 @@ +@@ -673,16 +672,16 @@ exit(1); }; @@ -293,7 +215,7 @@ diff -Naur larn.bsd/io.c larn.linux/io.c if (!CM) { /* can't find cursor motion entry */ write(2, "Sorry, for a ", 13); -@@ -820,7 +818,7 @@ +@@ -820,7 +819,7 @@ u_char *str; static int curx = 0; static int cury = 0; @@ -302,7 +224,7 @@ diff -Naur larn.bsd/io.c larn.linux/io.c if ((lpoint = lpnt - lpbuf) > 0) { #ifdef EXTRA -@@ -863,8 +861,7 @@ +@@ -863,8 +862,7 @@ case CURSOR: curx = *++str - 1; cury = *++str - 1; @@ -312,7 +234,7 @@ diff -Naur larn.bsd/io.c larn.linux/io.c tputs(tgoto_buf, 0, ttputch); break; -@@ -876,10 +873,7 @@ +@@ -876,10 +874,7 @@ if (++scrline > 23) scrline = 19; @@ -324,7 +246,7 @@ diff -Naur larn.bsd/io.c larn.linux/io.c tputs(tgoto_buf, 0, ttputch); -@@ -887,27 +881,18 @@ +@@ -887,27 +882,18 @@ if (--scrline < 19) scrline = 23; @@ -355,9 +277,9 @@ diff -Naur larn.bsd/io.c larn.linux/io.c tputs(tgoto_buf, 0, ttputch); -diff -Naur larn.bsd/main.c larn.linux/main.c +diff --color -Naur larn.bsd/main.c larn.linux/main.c --- larn.bsd/main.c 2009-08-12 10:04:05.000000000 +0200 -+++ larn.linux/main.c 2009-09-05 23:42:55.951643109 +0200 ++++ larn.linux/main.c 2025-02-10 11:36:17.024668415 +0100 @@ -2,9 +2,6 @@ /* main.c */ @@ -368,9 +290,103 @@ diff -Naur larn.bsd/main.c larn.linux/main.c #include <sys/types.h> #include <stdio.h> -diff -Naur larn.bsd/monster.c larn.linux/monster.c +diff --color -Naur larn.bsd/Makefile larn.linux/Makefile +--- larn.bsd/Makefile 2008-02-19 07:05:26.000000000 +0100 ++++ larn.linux/Makefile 2025-02-10 11:36:17.018001856 +0100 +@@ -1,77 +1,17 @@ +-# $NetBSD: Makefile,v 1.19 2008/02/19 06:05:26 dholland Exp $ +-# @(#)Makefile 5.12 (Berkeley) 5/30/93 +- +-# EXTRA +-# Incorporates code to gather additional performance statistics +-# +-# TERMIO +-# Use sysv termio +-# TERMIOS +-# Use posix termios +-# BSD +-# Use BSD specific features (mostly timer and signal stuff) +-# BSD4.1 +-# Use BSD4.1 to avoid some 4.2 dependencies (must be used with +-# BSD above; do not mix with SYSV) +-# HIDEBYLINK +-# If defined, the program attempts to hide from ps +-# DOCHECKPOINTS +-# If not defined, checkpoint files are periodically written by the +-# larn process (no forking) if enabled in the .larnopts description +-# file. Checkpointing is handy on an unreliable system, but takes +-# CPU. Inclusion of DOCHECKPOINTS will cause fork()ing to perform the +-# checkpoints (again if enabled in the .larnopts file). This usually +-# avoids pauses in larn while the checkpointing is being done (on +-# large machines). +-# VER +-# This is the version of the software, example: 12 +-# SUBVER +-# This is the revision of the software, example: 1 +-# FLUSHNO=# +-# Set the input queue excess flushing threshold (default 5) +-# NOVARARGS +-# Define for systems that don't have varargs (a default varargs will +-# be used). +-# MACRORND +-# Define to use macro version of rnd() and rund() (fast and big) +-# UIDSCORE +-# Define to use user id's to manage scoreboard. Leaving this out will +-# cause player id's from the file ".playerids" to be used instead. +-# (.playerids is created upon demand). Only one entry per id # is +-# allowed in each scoreboard (winning & non-winning). +-# VT100 +-# Compile for using vt100 family of terminals. Omission of this +-# define will cause larn to use termcap, but it will be MUCH slower +-# due to an extra layer of output interpretation. Also, only VT100 +-# mode allows 2 different standout modes, inverse video, and bold video. +-# And only in VT100 mode is the scrolling region of the terminal used +-# (much nicer than insert/delete line sequences to simulate it, if +-# VT100 is omitted). +-# NONAP +-# This causes napms() to return immediately instead of delaying n +-# milliseconds. This define may be needed on some systems if the nap +-# stuff does not work correctly (possible hang). nap() is primarilly +-# used to delay for effect when casting missile type spells. +-# NOLOG +-# Turn off logging. +- +-.include <bsd.own.mk> +- +-PROG= larn +-MAN= larn.6 ++CC= gcc + CPPFLAGS+=-DBSD -DVER=12 -DSUBVER=0 -DNONAP -DUIDSCORE -DTERMIOS +-SRCS= main.c object.c create.c tok.c display.c global.c data.c io.c \ +- monster.c store.c diag.c help.c config.c nap.c bill.c scores.c \ +- signal.c action.c moreobj.c movem.c regen.c fortune.c savelev.c ++OBJS= main.o object.o create.o tok.o display.o global.o data.o io.o \ ++ monster.o store.o diag.o help.o config.o nap.o bill.o scores.o \ ++ signal.o action.o moreobj.o movem.o regen.o fortune.o savelev.o ++CCFLAGS= -g -w -DVER=12 -DSUBVER=0 -DNONAP -DUIDSCORE -DTERMIOS ++LDFLAGS= -lcurses + DPADD= ${LIBTERM} +-LDADD= -ltermcap +-HIDEGAME=hidegame +-SETGIDGAME=yes + +-.if ${MKSHARE} != "no" +-DAT=larnmaze larnopts larn.help +-FILES=${DAT:S@^@${.CURDIR}/datfiles/@g} +-FILESDIR=/usr/share/games/larn +-.endif ++larn: $(OBJS) ++ $(CC) $(CCFLAGS) -o larn $(OBJS) $(LDFLAGS) ++ ++%.o: %.c ++ $(CC) $(CCFLAGS) -c $< + +-.include <bsd.prog.mk> ++clean: ++ rm -f *.o larn +diff --color -Naur larn.bsd/monster.c larn.linux/monster.c --- larn.bsd/monster.c 2009-08-12 10:04:05.000000000 +0200 -+++ larn.linux/monster.c 2009-09-05 23:43:02.118303359 +0200 ++++ larn.linux/monster.c 2025-02-10 11:36:17.024668415 +0100 @@ -99,9 +99,6 @@ * */ @@ -381,9 +397,9 @@ diff -Naur larn.bsd/monster.c larn.linux/monster.c #include <string.h> #include <stdlib.h> -diff -Naur larn.bsd/moreobj.c larn.linux/moreobj.c +diff --color -Naur larn.bsd/moreobj.c larn.linux/moreobj.c --- larn.bsd/moreobj.c 2008-02-19 07:05:26.000000000 +0100 -+++ larn.linux/moreobj.c 2009-09-05 23:43:05.805107273 +0200 ++++ larn.linux/moreobj.c 2025-02-10 11:36:17.024668415 +0100 @@ -8,9 +8,6 @@ * oaltar() othrone() ochest() ofountain() */ @@ -394,9 +410,9 @@ diff -Naur larn.bsd/moreobj.c larn.linux/moreobj.c #include <stdlib.h> #include <unistd.h> #include "header.h" -diff -Naur larn.bsd/movem.c larn.linux/movem.c +diff --color -Naur larn.bsd/movem.c larn.linux/movem.c --- larn.bsd/movem.c 2009-08-12 10:04:05.000000000 +0200 -+++ larn.linux/movem.c 2009-09-05 23:43:09.238308480 +0200 ++++ larn.linux/movem.c 2025-02-10 11:36:17.024668415 +0100 @@ -11,9 +11,6 @@ * movsphere() Function to look for and move spheres of annihilation */ @@ -407,9 +423,9 @@ diff -Naur larn.bsd/movem.c larn.linux/movem.c #include "header.h" #include "extern.h" -diff -Naur larn.bsd/nap.c larn.linux/nap.c +diff --color -Naur larn.bsd/nap.c larn.linux/nap.c --- larn.bsd/nap.c 1997-10-18 22:03:36.000000000 +0200 -+++ larn.linux/nap.c 2009-09-05 23:43:11.878307976 +0200 ++++ larn.linux/nap.c 2025-02-10 11:36:17.024668415 +0100 @@ -2,9 +2,6 @@ /* nap.c Larn is copyrighted 1986 by Noah Morgan. */ @@ -420,9 +436,9 @@ diff -Naur larn.bsd/nap.c larn.linux/nap.c #include <unistd.h> #include "header.h" -diff -Naur larn.bsd/object.c larn.linux/object.c +diff --color -Naur larn.bsd/object.c larn.linux/object.c --- larn.bsd/object.c 2009-08-12 10:04:05.000000000 +0200 -+++ larn.linux/object.c 2009-09-05 23:43:15.381635103 +0200 ++++ larn.linux/object.c 2025-02-10 11:36:17.024668415 +0100 @@ -3,9 +3,6 @@ /* object.c Larn is copyrighted 1986 by Noah Morgan. */ @@ -433,9 +449,9 @@ diff -Naur larn.bsd/object.c larn.linux/object.c #include "header.h" #include "extern.h" -diff -Naur larn.bsd/pathnames.h larn.linux/pathnames.h +diff --color -Naur larn.bsd/pathnames.h larn.linux/pathnames.h --- larn.bsd/pathnames.h 2003-08-07 11:37:23.000000000 +0200 -+++ larn.linux/pathnames.h 2009-09-06 01:03:03.644505585 +0200 ++++ larn.linux/pathnames.h 2025-02-10 11:36:17.024668415 +0100 @@ -31,8 +31,8 @@ * @(#)pathnames.h 5.2 (Berkeley) 4/27/95 */ @@ -450,9 +466,9 @@ diff -Naur larn.bsd/pathnames.h larn.linux/pathnames.h +#define _PATH_HELP "/usr/share/larn/larn.help" +#define _PATH_LEVELS "/usr/share/larn/larnmaze" +#define _PATH_PLAYERIDS "/var/games/larn.playerids" -diff -Naur larn.bsd/regen.c larn.linux/regen.c +diff --color -Naur larn.bsd/regen.c larn.linux/regen.c --- larn.bsd/regen.c 1997-10-18 22:03:43.000000000 +0200 -+++ larn.linux/regen.c 2009-09-05 23:43:19.598316927 +0200 ++++ larn.linux/regen.c 2025-02-10 11:36:17.024668415 +0100 @@ -2,9 +2,6 @@ /* regen.c Larn is copyrighted 1986 by Noah Morgan. */ @@ -463,9 +479,9 @@ diff -Naur larn.bsd/regen.c larn.linux/regen.c #include "header.h" #include "extern.h" -diff -Naur larn.bsd/savelev.c larn.linux/savelev.c +diff --color -Naur larn.bsd/savelev.c larn.linux/savelev.c --- larn.bsd/savelev.c 2008-02-03 20:29:50.000000000 +0100 -+++ larn.linux/savelev.c 2009-09-05 23:43:22.478307142 +0200 ++++ larn.linux/savelev.c 2025-02-10 11:36:17.024668415 +0100 @@ -2,9 +2,6 @@ /* savelev.c Larn is copyrighted 1986 by Noah Morgan. */ @@ -476,9 +492,9 @@ diff -Naur larn.bsd/savelev.c larn.linux/savelev.c #include "header.h" #include "extern.h" -diff -Naur larn.bsd/scores.c larn.linux/scores.c +diff --color -Naur larn.bsd/scores.c larn.linux/scores.c --- larn.bsd/scores.c 2009-08-12 10:04:05.000000000 +0200 -+++ larn.linux/scores.c 2009-09-05 23:43:26.791660452 +0200 ++++ larn.linux/scores.c 2025-02-10 11:37:15.541198080 +0100 @@ -25,9 +25,6 @@ * */ @@ -489,9 +505,17 @@ diff -Naur larn.bsd/scores.c larn.linux/scores.c #include <sys/types.h> #include <sys/times.h> #include <sys/stat.h> -diff -Naur larn.bsd/signal.c larn.linux/signal.c +@@ -35,6 +32,7 @@ + #include <string.h> + #include <unistd.h> + #include <stdlib.h> ++#include <time.h> + #include "header.h" + #include "extern.h" + +diff --color -Naur larn.bsd/signal.c larn.linux/signal.c --- larn.bsd/signal.c 2004-01-27 21:30:30.000000000 +0100 -+++ larn.linux/signal.c 2009-09-05 23:47:54.292060018 +0200 ++++ larn.linux/signal.c 2025-02-10 11:36:17.024668415 +0100 @@ -3,9 +3,6 @@ /* "Larn is copyrighted 1986 by Noah Morgan.\n" */ @@ -520,9 +544,9 @@ diff -Naur larn.bsd/signal.c larn.linux/signal.c write(2, buf, strlen(buf)); sleep(2); sncbr(); -diff -Naur larn.bsd/store.c larn.linux/store.c +diff --color -Naur larn.bsd/store.c larn.linux/store.c --- larn.bsd/store.c 2009-08-12 10:04:05.000000000 +0200 -+++ larn.linux/store.c 2009-09-05 23:43:39.478325585 +0200 ++++ larn.linux/store.c 2025-02-10 11:36:17.024668415 +0100 @@ -30,13 +30,6 @@ */ @@ -537,9 +561,9 @@ diff -Naur larn.bsd/store.c larn.linux/store.c /* store.c Larn is copyrighted 1986 by Noah Morgan. */ #include "header.h" -diff -Naur larn.bsd/tok.c larn.linux/tok.c +diff --color -Naur larn.bsd/tok.c larn.linux/tok.c --- larn.bsd/tok.c 2008-02-04 02:07:01.000000000 +0100 -+++ larn.linux/tok.c 2009-09-05 23:52:53.308676239 +0200 ++++ larn.linux/tok.c 2025-02-10 11:36:17.024668415 +0100 @@ -2,9 +2,6 @@ /* tok.c Larn is copyrighted 1986 by Noah Morgan. */ |