From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Jun 21 03:20:01 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id E32D8F7B for ; Fri, 21 Jun 2013 03:20:01 +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 B037E173F for ; Fri, 21 Jun 2013 03:20:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r5L3K14k005879 for ; Fri, 21 Jun 2013 03:20:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r5L3K1fs005878; Fri, 21 Jun 2013 03:20:01 GMT (envelope-from gnats) Resent-Date: Fri, 21 Jun 2013 03:20:01 GMT Resent-Message-Id: <201306210320.r5L3K1fs005878@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, Justin Hibbits Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 2DB10F61 for ; Fri, 21 Jun 2013 03:18:03 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121]) by mx1.freebsd.org (Postfix) with ESMTP id 1FE5A1730 for ; Fri, 21 Jun 2013 03:18:03 +0000 (UTC) Received: from oldred.freebsd.org ([127.0.1.6]) by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id r5L3I29B037764 for ; Fri, 21 Jun 2013 03:18:02 GMT (envelope-from nobody@oldred.freebsd.org) Received: (from nobody@localhost) by oldred.freebsd.org (8.14.5/8.14.5/Submit) id r5L3I2Zf037763; Fri, 21 Jun 2013 03:18:02 GMT (envelope-from nobody) Message-Id: <201306210318.r5L3I2Zf037763@oldred.freebsd.org> Date: Fri, 21 Jun 2013 03:18:02 GMT From: Justin Hibbits To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/179799: Fix multimedia/mjpegtools 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: Fri, 21 Jun 2013 03:20:02 -0000 >Number: 179799 >Category: ports >Synopsis: Fix multimedia/mjpegtools 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: Fri Jun 21 03:20:01 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Justin Hibbits >Release: 10-CURRENT >Organization: >Environment: FreeBSD narn.knownspace 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r251882M: Tue Jun 18 07:09:21 PDT 2013 chmeee@zhabar:/usr/home/chmeee/world/narn/powerpc.powerpc/usr/home/chmeee/freebsd/head/sys/NARN powerpc >Description: multimedia/mjpegtools is broken on PowerPC due to the altivec assembly code. Here is a patch to fix it. With it, the port builds just fine on PowerPC. >How-To-Repeat: >Fix: Patch attached. Patch attached with submission follows: --- utils/altivec/sub_mean_reduction_ppc.S.old 2013-06-20 10:51:55.000000000 -0700 +++ utils/altivec/sub_mean_reduction_ppc.S 2013-06-20 10:52:12.000000000 -0700 @@ -18,7 +18,7 @@ */ /* register, local label and global macros */ -#ifdef __linux__ +#if defined(__linux__) || defined(__FreeBSD__) #define R(register_number) register_number #define L(label_name) .L##label_name #define G(global_name) global_name >Release-Note: >Audit-Trail: >Unformatted: