1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-05 22:43:24 +00:00
freebsd-ports/japanese/iv/files/patch-bf
Satoshi Taoka 418136972c Modified to build on 4-current
PR:		13744
Submiited by:	maintainer
1999-09-20 05:36:53 +00:00

12 lines
386 B
Plaintext

--- src/bin/dclock/clocktime.c.orig Thu May 27 21:32:07 1999
+++ src/bin/dclock/clocktime.c Thu May 27 21:33:07 1999
@@ -55,7 +55,7 @@
#if defined(hpux) || defined(AIXV3)
local = * localtime((time_t*) &gmt.tv_sec);
#else
-#ifdef __DECCXX
+#if defined(__DECCXX) || defined(__FreeBSD__)
local = * localtime((time_t*)&gmt.tv_sec);
#else
local = * localtime(&gmt.tv_sec);