audio/ardour6: fix build on GCC architectures
Undefine _POSIX_SOURCE to make macros in errno.h available:
error: 'EAFNOSUPPORT' was not declared in this scope
42 | address_family_not_supported = EAFNOSUPPORT,
error: 'EADDRINUSE' was not declared in this scope
43 | address_in_use = EADDRINUSE,
Also tested to build with Clang.
MFH: 2020Q4 (fix build blanket)
audio/ardour6: Fix broken 32-bit build
This fixes the Intel 32-bit build.
Modification of the original wscript file is no longer necessary.
Setting mmx and 3dnow compiler flags is not really needed.
Setting 3dnow can even be considered as a bug as this is a AMD only extension.
The build_host_supports_sse flag is only used to throw a warning if the set
configuration doesn't match with the build machines configuration.
The warning can be ignored.
The build requires a SSE capable CPU (>=i686) which was also the case in
Submitted by: Michael Beer (maintainer)
audio/ardour6: update to 6.3.0 and unbreak
attempt to fill in the blanks (like FreeBSD support) in this port's
wscript's CPU feature detection. Build time CPU detection is problematic
in the context of package builds, so for now this assumes that all
amd64 CPUs have SSE and i386 CPUs don't. Juggling the flags in this
way also fixes the breakage uncovered by the latest glib update.
Approved by: Michael Beer (maintainer)