Page MenuHomeFreeBSD

audio/flac: fix build on powerpc64
ClosedPublic

Authored by pkubaj on Aug 16 2019, 1:50 AM.

Details

Summary

FreeBSD doesn't support getauxval(), it has elf_aux_info() instead. Use this to fix build on powerpc64.

PR: 239870

Diff Detail

Repository
rP FreeBSD ports repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

pkubaj created this revision.Aug 16 2019, 1:50 AM
mat accepted this revision.Mon, Aug 19, 12:03 PM
This revision is now accepted and ready to land.Mon, Aug 19, 12:03 PM
pkubaj updated this revision to Diff 61022.Tue, Aug 20, 12:13 AM

One more fix is necessary.

Per maintainer request, disable VSX.

The cpu.c part is still necessary, otherwise flac won't build.

This revision now requires review to proceed.Tue, Aug 20, 12:13 AM
linimon accepted this revision.Tue, Aug 27, 10:19 PM

Approved by mentor.

This revision is now accepted and ready to land.Tue, Aug 27, 10:19 PM
This revision was automatically updated to reflect the committed changes.