Bug 242233 - devel/efl: fix build on powerpc64 elfv2
Summary: devel/efl: fix build on powerpc64 elfv2
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-enlightenment mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-11-25 20:27 UTC by Piotr Kubaj
Modified: 2019-12-02 01:54 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (enlightenment)


Attachments
patch (954 bytes, patch)
2019-11-25 20:27 UTC, Piotr Kubaj
pkubaj: maintainer-approval? (enlightenment)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Piotr Kubaj freebsd_committer 2019-11-25 20:27:50 UTC
Created attachment 209423 [details]
patch

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);
        ^ ~~~~~~~~~~~~~~~~
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2019-12-02 01:54:27 UTC
Approved as mentor ("does no harm" on ppcports) pending maintainer review.