ports/179799: Fix multimedia/mjpegtools on powerpc
Justin Hibbits
jrh29 at alumni.cwru.edu
Fri Jun 21 03:20:02 UTC 2013
>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 at 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:
More information about the freebsd-ports-bugs
mailing list