Date: Thu, 12 Dec 2019 13:51:52 +0000 (UTC) From: Piotr Kubaj <pkubaj@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r519925 - head/devel/efl/files Message-ID: <201912121351.xBCDpq3g002214@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pkubaj Date: Thu Dec 12 13:51:51 2019 New Revision: 519925 URL: https://svnweb.freebsd.org/changeset/ports/519925 Log: devel/efl: fix build on powerpc64 elfv2 Explicitly include altivec.h if AltiVec build is done. Otherwise build with clang fails with: lib/evas/common/evas_cpu.c:89:11: warning: implicit declaration of function 'vec_splat_u32' is invalid in C99 [-Wimplicit-function-declaration] zero = vec_splat_u32(0); ^ lib/evas/common/evas_cpu.c:89:9: error: assigning to '__vector unsigned int' (vector of 4 'unsigned int' values) from incompatible type 'int' zero = vec_splat_u32(0); ^ ~~~~~~~~~~~~~~~~ PR: 242233 Approved by: enlightenment (maintainer timeout) Added: head/devel/efl/files/patch-src_lib_evas_common_evas__cpu.c (contents, props changed) Added: head/devel/efl/files/patch-src_lib_evas_common_evas__cpu.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/efl/files/patch-src_lib_evas_common_evas__cpu.c Thu Dec 12 13:51:51 2019 (r519925) @@ -0,0 +1,12 @@ +--- src/lib/evas/common/evas_cpu.c.orig 2019-11-25 13:47:47 UTC ++++ src/lib/evas/common/evas_cpu.c +@@ -10,6 +10,9 @@ + #if defined BUILD_SSE3 + #include <immintrin.h> + #endif ++#if defined BUILD_ALTIVEC ++#include <altivec.h> ++#endif + + #if defined (HAVE_STRUCT_SIGACTION) && defined (HAVE_SIGLONGJMP) + #include <signal.h>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201912121351.xBCDpq3g002214>