Bug 264942

Summary: x11/babl: fix build on armv7
Product: Ports & Packages Reporter: Robert Clausecker <fuz>
Component: Individual Port(s)Assignee: Dima Panov <fluffy>
Status: Closed FIXED    
Severity: Affects Some People CC: fluffy, gnome
Priority: --- Flags: fluffy: maintainer-feedback+
fluffy: merge-quarterly+
Version: Latest   
Hardware: arm   
OS: Any   
Attachments:
Description Flags
x11/babl: fix build on armv7 fuz: maintainer-approval? (gnome)

Description Robert Clausecker freebsd_committer freebsd_triage 2022-06-28 13:58:12 UTC
Created attachment 234983 [details]
x11/babl: fix build on armv7

We use a different method for fetching ELF aux vectors on FreeBSD.

Tested with poudriere on armv7 arm64 FreeBSD 13.
Please MFH if 2022Q3 has dropped by the time this is applied.
Comment 1 Dima Panov freebsd_committer freebsd_triage 2022-06-28 16:48:12 UTC
Is this affect arm6 too? 

I haven't any arm machine to run own tests :(
Comment 2 Robert Clausecker freebsd_committer freebsd_triage 2022-06-28 16:52:45 UTC
Unfortunately I've grilled my last armv6 box a while ago and will have to buy a new one.  But I'm positive it affects armv6, too, as armv6 and armv7 have the same header files.
Comment 3 commit-hook freebsd_committer freebsd_triage 2022-06-30 21:45:41 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=bb0f1da1920c245641a1f8a03dc17051631e66f0

commit bb0f1da1920c245641a1f8a03dc17051631e66f0
Author:     Dima Panov <fluffy@FreeBSD.org>
AuthorDate: 2022-06-30 21:44:03 +0000
Commit:     Dima Panov <fluffy@FreeBSD.org>
CommitDate: 2022-06-30 21:45:19 +0000

    x11/babl: fix build on armv7

    PR:     264942
    Submitted by:   Robert Clausecker

 x11/babl/files/patch-babl_babl-cpuaccel.c (new) | 43 +++++++++++++++++++++++++
 1 file changed, 43 insertions(+)
Comment 4 Robert Clausecker freebsd_committer freebsd_triage 2022-07-01 02:04:03 UTC
Thank you for committing this change.