Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Oct 2020 14:23:42 +0000 (UTC)
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r553443 - head/audio/ardour6/files
Message-ID:  <202010271423.09RENglr092219@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pkubaj
Date: Tue Oct 27 14:23:42 2020
New Revision: 553443
URL: https://svnweb.freebsd.org/changeset/ports/553443

Log:
  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)

Added:
  head/audio/ardour6/files/
  head/audio/ardour6/files/patch-libs_fst_wscript   (contents, props changed)

Added: head/audio/ardour6/files/patch-libs_fst_wscript
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/audio/ardour6/files/patch-libs_fst_wscript	Tue Oct 27 14:23:42 2020	(r553443)
@@ -0,0 +1,10 @@
+--- libs/fst/wscript.orig	2020-10-27 11:30:54 UTC
++++ libs/fst/wscript
+@@ -80,7 +80,6 @@ def build(bld):
+ 
+     obj.includes  = [ '../pbd/', '../ardour/', '.' ]
+     obj.defines = [
+-        '_POSIX_SOURCE',
+         'USE_WS_PREFIX',
+         'VST_SCANNER_APP',
+         'PACKAGE="' + I18N_PACKAGE + str(bld.env['MAJOR']) + '"',



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202010271423.09RENglr092219>