[Bug 196044] New: devel/icu: unbreak on mips

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Dec 16 23:28:14 UTC 2014


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196044

            Bug ID: 196044
           Summary: devel/icu: unbreak on mips
           Product: Ports Tree
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: office at FreeBSD.org
          Reporter: amdmi3 at FreeBSD.org
             Flags: maintainer-feedback?(office at FreeBSD.org)
          Assignee: office at FreeBSD.org

Created attachment 150659
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=150659&action=edit
Fix

icu detects platform endianess by checking widely used BYTE_ORDER define. On
FreeBSD, it is not defined unless sys/endian.h is included. As icu doesn't
include that header, endianess detection breaks and defaults to little endian,
which breaks at least mips build. The attached patch fixes it. Build checked on
amd64, i386, armv6 and mips - all successfully. This fix should unblock many
packages on mips and possibly other big endian architectures like sparc64.

Related upstream ticket:

https://ssl.icu-project.org/trac/ticket/11437

--- Comment #1 from Bugzilla Automation <bugzilla at FreeBSD.org> ---
Auto-assigned to maintainer office at FreeBSD.org

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list