Bug 45836

Summary: [FIX BENTO] lang/aleph on -current
Product: Ports & Packages Reporter: Stefan Farfeleder <e0026813>
Component: Individual Port(s)Assignee: Ying-Chieh Liao <ijliao>
Status: Closed FIXED    
Severity: Affects Only Me CC: e0026813
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
aleph.diff none

Description Stefan Farfeleder 2002-11-29 13:30:01 UTC
Aleph currently fails to build on -current because the code assumes that time_t
has type long which is not true on -current.  The problem is fixed by assigning
the long value to a temporary time_t variable.

How-To-Repeat: portinstall aleph

<...>
c++ -Wall -Werror -MMD -fno-builtin  -fPIC -DPIC  -O -pipe -mcpu=pentiumpro    -D_THREAD_SAFE        -I. -I../acf -o cclk.o -c cclk.cxx
cclk.cxx: In function `aleph::s_tinfo* aleph::c_getlocal(long int)':
cclk.cxx:56: invalid conversion from `const long int*' to `const time_t*'
cclk.cxx: In function `aleph::s_tinfo* aleph::c_getutc(long int)':
cclk.cxx:75: invalid conversion from `const long int*' to `const time_t*'
gmake[3]: *** [cclk.o] Error 1
Comment 1 Tilman Keskinoz freebsd_committer freebsd_triage 2002-11-29 14:49:48 UTC
Responsible Changed
From-To: freebsd-ports->ijliao

Over to Maintainer
Comment 2 Ying-Chieh Liao freebsd_committer freebsd_triage 2002-12-01 08:37:28 UTC
State Changed
From-To: open->closed

committed, thanks