Bug 45836 - [FIX BENTO] lang/aleph on -current
Summary: [FIX BENTO] lang/aleph on -current
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Ying-Chieh Liao
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-11-29 13:30 UTC by Stefan Farfeleder
Modified: 2002-12-01 08:37 UTC (History)
1 user (show)

See Also:


Attachments
aleph.diff (1.13 KB, patch)
2002-11-29 13:30 UTC, Stefan Farfeleder
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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