Bug 5512 – Compile error(FreeBSD8.1): not defined lstat64()

Status
RESOLVED
Resolution
FIXED
Severity
critical
Priority
P2
Component
phobos
Product
D
Version
D2
Platform
All
OS
FreeBSD
Creation time
2011-02-01T03:01:00Z
Last change time
2011-02-03T20:01:14Z
Assigned to
nobody
Creator
sohgo

Attachments

IDFilenameSummaryContent-TypeSize
892time.d.patchdefine lstat64 for FreeBSDapplication/octet-stream360
899file.d.patchdefine lstat64() for FreeBSDtext/plain386

Comments

Comment #0 by sohgo — 2011-02-01T03:01:32Z
Created attachment 892 define lstat64 for FreeBSD When compiling phobos2 on FreeBSD 8.1(i386 and amd64), I have got a following error. I attach a patch to fix this problem. std/file.d(1177): Error: undefined identifier lstat64, did you mean alias stat64? gmake[1]: *** [generated/freebsd/debug/64/libphobos2.a] Error 1
Comment #1 by bugzilla — 2011-02-01T11:08:14Z
The attachment does not fix it.
Comment #2 by sohgo — 2011-02-01T19:32:32Z
Comment on attachment 892 define lstat64 for FreeBSD Sorry, I uploaded a wrong patch.
Comment #3 by sohgo — 2011-02-01T19:34:16Z
Created attachment 899 define lstat64() for FreeBSD
Comment #4 by sohgo — 2011-02-03T20:01:14Z