pkgsrc/misc/hanzim/patches/patch-ab
rxg 45c0e5f6f9 Initial import hanzim-1.3.
Hanzim is a program designed to help you memorize characters by helping you
internalize their various systematicities.  It displays lists of characters
with the same radicals, same remaining parts, and same pronunciations.  Along
with the characters it displays pin-yin pronunciations and lists of compounds.

Oked by wiz & closed pkg/17408.
2006-01-16 13:18:29 +00:00

18 lines
384 B
Text

$NetBSD: patch-ab,v 1.1.1.1 2006/01/16 13:18:29 rxg Exp $
--- hanzim.c.orig Wed Jun 26 17:26:48 2002
+++ hanzim.c
@@ -460,10 +460,10 @@
struct _timeb tp;
_ftime(&tp);
#else
- struct timeb tp;
- ftime(&tp);
+ time_t t;
+ time(&t);
#endif
- srand(tp.millitm);
+ srand(t);
if (!quiet) {
printf("\n\nWelcome to Hanzi Master, where YOU will master the hanzi.\n");