Date: Fri, 21 Jun 2013 03:18:02 GMT From: Justin Hibbits <jrh29@alumni.cwru.edu> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/179799: Fix multimedia/mjpegtools on powerpc Message-ID: <201306210318.r5L3I2Zf037763@oldred.freebsd.org> Resent-Message-ID: <201306210320.r5L3K1fs005878@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201306210318.r5L3I2Zf037763>