Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Dec 2014 23:28:14 +0000
From:      bugzilla-noreply@freebsd.org
To:        office@FreeBSD.org
Subject:   maintainer-feedback requested: [Bug 196044] devel/icu: unbreak on mips
Message-ID:  <bug-196044-25061-8QOaKHE8Qr@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-196044-25061@https.bugs.freebsd.org/bugzilla/>
References:  <bug-196044-25061@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
Dmitry Marakasov <amdmi3@FreeBSD.org> has reassigned Bugzilla Automation
<bugzilla@FreeBSD.org>'s request for maintainer-feedback to office@FreeBSD.org:
Bug 196044: devel/icu: unbreak on mips
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196044



--- Description ---
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@FreeBSD.org> ---
Auto-assigned to maintainer office@FreeBSD.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-196044-25061-8QOaKHE8Qr>