diff options
author | Piotr Kubaj <pkubaj@FreeBSD.org> | 2022-03-20 01:43:48 +0000 |
---|---|---|
committer | Piotr Kubaj <pkubaj@FreeBSD.org> | 2022-03-20 01:43:48 +0000 |
commit | 7b5633d04690ab0194dcbe7edcf39584f2ac2c10 (patch) | |
tree | df17eab02f59671383b09cb1a84a78b571e6ac83 /multimedia/xvid | |
parent | www/unit-ruby: fix build with ruby 3.x (diff) |
multimedia/xvid: fix build on powerpc with LLVM 13
../../src/image/ppc_asm/colorspace_altivec.c:434:1: error: address of register variable requested
MAKE_COLORSPACE_ALTIVEC_FROM_RGB(bgra_to_yv12_altivec_c, 4, 8, 2, RGB_TO_YV12_ALTIVEC, 2, 1, 0, 0)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../src/image/ppc_asm/colorspace_altivec.c:65:5: note: expanded from macro 'MAKE_COLORSPACE_ALTIVEC_FROM_RGB'
shift_consts[0] = vec_add(vec_splat_u32(12), vec_splat_u32(12)); \
^~~~~~~~~~~~
Fix similar to 0efce95397d4b53be14448a803902191ab8c1df3.
Diffstat (limited to 'multimedia/xvid')
-rw-r--r-- | multimedia/xvid/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/multimedia/xvid/Makefile b/multimedia/xvid/Makefile index 0451c26a09cf..575d26f9ece5 100644 --- a/multimedia/xvid/Makefile +++ b/multimedia/xvid/Makefile @@ -21,6 +21,7 @@ USE_LDCONFIG= yes # PR230208 Allow relocations against read-only segments (override lld default) LDFLAGS_i386= -Wl,-z,notext +CFLAGS_powerpc= -Dregister= CONFIGURE_ENV+= ac_cv_prog_ac_yasm=no PLIST_FILES= include/xvid.h \ |