From owner-freebsd-office@FreeBSD.ORG Tue Dec 16 23:28:14 2014 Return-Path: Delivered-To: office@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 45A5E798 for ; Tue, 16 Dec 2014 23:28:14 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 32463250 for ; Tue, 16 Dec 2014 23:28:14 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id sBGNSEsi057006 for ; Tue, 16 Dec 2014 23:28:14 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: office@FreeBSD.org Subject: maintainer-feedback requested: [Bug 196044] devel/icu: unbreak on mips Date: Tue, 16 Dec 2014 23:28:14 +0000 X-Bugzilla-Type: request Message-ID: In-Reply-To: References: X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-office@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Office applications on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Dec 2014 23:28:14 -0000 Dmitry Marakasov has reassigned Bugzilla Automation '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 --- Auto-assigned to maintainer office@FreeBSD.org