svn commit: r519925 - head/devel/efl/files

Piotr Kubaj pkubaj at FreeBSD.org
Thu Dec 12 13:51:52 UTC 2019


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>


More information about the svn-ports-all mailing list