mirror of
https://git.freebsd.org/ports.git
synced 2025-05-18 01:53:13 -04:00
Add ALTIVEC option to enable/disable AltiVec easily when needed. Fix build with LLVM and AltiVec, altivec.h defines its own bool. Add USES=localbase. PR: 240537 Approved by: linimon (mentor), multimedia (maintainer timeout)
12 lines
318 B
C
12 lines
318 B
C
--- modules/video_chroma/i420_yuy2.c.orig 2019-09-12 13:09:52 UTC
|
|
+++ modules/video_chroma/i420_yuy2.c
|
|
@@ -37,7 +37,9 @@
|
|
#include <vlc_cpu.h>
|
|
|
|
#if defined (MODULE_NAME_IS_i420_yuy2_altivec) && defined(HAVE_ALTIVEC_H)
|
|
+# undef bool
|
|
# include <altivec.h>
|
|
+# define bool _Bool
|
|
#endif
|
|
|
|
#include "i420_yuy2.h"
|