From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Feb 2 16:50:00 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 95ED384F for ; Sat, 2 Feb 2013 16:50:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 62F19ABF for ; Sat, 2 Feb 2013 16:50:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r12Go0no012449 for ; Sat, 2 Feb 2013 16:50:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r12Go0xr012448; Sat, 2 Feb 2013 16:50:00 GMT (envelope-from gnats) Resent-Date: Sat, 2 Feb 2013 16:50:00 GMT Resent-Message-Id: <201302021650.r12Go0xr012448@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Andreas Tobler Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 7D5B9751 for ; Sat, 2 Feb 2013 16:40:25 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 662B4A7F for ; Sat, 2 Feb 2013 16:40:25 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.5/8.14.5) with ESMTP id r12GePAU010149 for ; Sat, 2 Feb 2013 16:40:25 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.5/8.14.5/Submit) id r12GePxa010148; Sat, 2 Feb 2013 16:40:25 GMT (envelope-from nobody) Message-Id: <201302021640.r12GePxa010148@red.freebsd.org> Date: Sat, 2 Feb 2013 16:40:25 GMT From: Andreas Tobler To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/175781: patch: libffi broken on powerpc X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Feb 2013 16:50:00 -0000 >Number: 175781 >Category: ports >Synopsis: patch: libffi broken on powerpc >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Feb 02 16:50:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Andreas Tobler >Release: CURRRENT >Organization: None >Environment: >Description: the libffi package 3.0.11 fails during compilation due to a upstream bug. Until this is fixed use the below. I'll take care that the upstream libffi gets fixed asap. >How-To-Repeat: >Fix: --- src/powerpc/ffi.c.orig 2013-02-02 17:22:50.000000000 +0100 +++ src/powerpc/ffi.c 2013-02-02 15:30:37.000000000 +0100 @@ -664,9 +664,11 @@ switch (type) { #ifndef __NO_FPRS__ +#if FFI_TYPE_LONGDOUBLE != FFI_TYPE_DOUBLE case FFI_TYPE_LONGDOUBLE: flags |= FLAG_RETURNS_128BITS; /* Fall through. */ +#endif case FFI_TYPE_DOUBLE: flags |= FLAG_RETURNS_64BITS; /* Fall through. */ >Release-Note: >Audit-Trail: >Unformatted: