www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 5512] New: Compile error(FreeBSD8.1): not defined lstat64()

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=5512

           Summary: Compile error(FreeBSD8.1): not defined lstat64()
           Product: D
           Version: D2
          Platform: All
        OS/Version: FreeBSD
            Status: NEW
          Severity: critical
          Priority: P2
         Component: Phobos
        AssignedTo: nobody puremagic.com
        ReportedBy: sohgo sohgo.dyndns.org



PST ---
Created an attachment (id=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

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Feb 01 2011
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=5512


Walter Bright <bugzilla digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugzilla digitalmars.com



11:08:14 PST ---
The attachment does not fix it.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Feb 01 2011
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=5512


Sohgo Takeuchi <sohgo sohgo.dyndns.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------

           obsolete|                            |



JST ---
(From update of attachment 892)
Sorry, I uploaded a wrong patch.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Feb 01 2011
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=5512




JST ---
Created an attachment (id=899)
define lstat64() for FreeBSD

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Feb 01 2011
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=5512


Sohgo Takeuchi <sohgo sohgo.dyndns.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED



JST ---
The patch was accepted.

https://github.com/D-Programming-Language/phobos/commit/f63e193de6ccfabc94cb52b637a7189f12e76d5a

Thank you.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Feb 03 2011