1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-01 05:45:45 +00:00
freebsd-ports/audio/ardour6/files
Piotr Kubaj 0b1b28e7dd audio/ardour6: fix build on GCC architectures
Undefine _POSIX_SOURCE to make macros in errno.h available:
/usr/local/lib/gcc9/include/c++/powerpc64-portbld-freebsd12.1/bits/error_constants.h:42:40: error: 'EAFNOSUPPORT' was not declared in this scope
   42 |       address_family_not_supported =   EAFNOSUPPORT,
      |                                        ^~~~~~~~~~~~
/usr/local/lib/gcc9/include/c++/powerpc64-portbld-freebsd12.1/bits/error_constants.h:43:28: error: 'EADDRINUSE' was not declared in this scope
   43 |       address_in_use =     EADDRINUSE,
      |                            ^~~~~~~~~~

Also tested to build with Clang.

MFH:		2020Q4 (fix build blanket)
2020-10-27 14:23:42 +00:00
..
patch-libs_fst_wscript audio/ardour6: fix build on GCC architectures 2020-10-27 14:23:42 +00:00