maintainer-feedback requested: [Bug 256935] multimedia/gstreamer1-libav does not build on aarch64 (includes patch)

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 02 Jul 2021 10:42:56 UTC
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-multimedia
(Nobody) <multimedia@FreeBSD.org> for maintainer-feedback:
Bug 256935: multimedia/gstreamer1-libav does not build on aarch64 (includes
patch)
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256935



--- Description ---
multimedia/gstreamer1-libav fails with
ld: error: can't create dynamic relocation R_AARCH64_ABS64 against local symbol
in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext'
to allow text relocations in the output

The proposed patch adds LDFLAGS_aarch64=-Wl,-z,notext and fixes the problem
(clean build).