From owner-svn-ports-head@freebsd.org Sun Jan 12 02:59:42 2020 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 1BEF71FF9FB; Sun, 12 Jan 2020 02:59:42 +0000 (UTC) (envelope-from pkubaj@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47wLzd73SFz3Ll6; Sun, 12 Jan 2020 02:59:41 +0000 (UTC) (envelope-from pkubaj@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id ECE97D0A3; Sun, 12 Jan 2020 02:59:41 +0000 (UTC) (envelope-from pkubaj@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 00C2xfs7034752; Sun, 12 Jan 2020 02:59:41 GMT (envelope-from pkubaj@FreeBSD.org) Received: (from pkubaj@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 00C2xfMX034751; Sun, 12 Jan 2020 02:59:41 GMT (envelope-from pkubaj@FreeBSD.org) Message-Id: <202001120259.00C2xfMX034751@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pkubaj set sender to pkubaj@FreeBSD.org using -f From: Piotr Kubaj Date: Sun, 12 Jan 2020 02:59:41 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r522745 - in head/audio/ardour5: . files X-SVN-Group: ports-head X-SVN-Commit-Author: pkubaj X-SVN-Commit-Paths: in head/audio/ardour5: . files X-SVN-Commit-Revision: 522745 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Jan 2020 02:59:42 -0000 Author: pkubaj Date: Sun Jan 12 02:59:41 2020 New Revision: 522745 URL: https://svnweb.freebsd.org/changeset/ports/522745 Log: audio/ardour5: fix build on powerpc64 _POSIX_SOURCE causes some errors in errno.h not to be seen (like EAFNOSUPPORT), so remove it. On ELFv2 lld can't link it, throws errors like: ld: error: relocation R_PPC64_ADDR32 cannot be used against local symbol; recompile with -fPIC >>> defined in libs/ardour/cycle_timer.cc.1.o >>> referenced by cycle_timer.cc >>> libs/ardour/cycle_timer.cc.1.o:(__ftr_fixup+0x8) Recompiling with -fPIC doesn't help, so use GNU ld there. PR: 243281 Approved by: portmgr (blanket: build fix) MFH: 2020Q1 (blanket: build fix) Added: head/audio/ardour5/files/ head/audio/ardour5/files/patch-libs_fst_wscript (contents, props changed) Modified: head/audio/ardour5/Makefile Modified: head/audio/ardour5/Makefile ============================================================================== --- head/audio/ardour5/Makefile Sun Jan 12 02:43:06 2020 (r522744) +++ head/audio/ardour5/Makefile Sun Jan 12 02:59:41 2020 (r522745) @@ -49,7 +49,6 @@ USE_LDCONFIG= yes INSTALLS_ICONS= yes BROKEN_aarch64= fails to configure: Could not find the program gas,as,gcc -BROKEN_powerpc64= fails to compile: configuration_variable.cc: 'strtof' is not a member of 'std' PLIST_SUB= ARDOURVERSION=${PORTVERSION} @@ -104,6 +103,8 @@ post-install: WITH_ARCH_FLAGS= --arch='-msse -mfpmath=sse' --dist-target=i386 .elif ${ARCH} == "amd64" WITH_ARCH_FLAGS= --arch='-msse -mfpmath=sse' --dist-target=x86_64 +.elif ${ARCH} == "powerpc64" +LLD_UNSAFE= yes .endif .if defined(WITH_ARCH_FLAGS) Added: head/audio/ardour5/files/patch-libs_fst_wscript ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/audio/ardour5/files/patch-libs_fst_wscript Sun Jan 12 02:59:41 2020 (r522745) @@ -0,0 +1,10 @@ +--- libs/fst/wscript.orig 2020-01-11 19:16:19 UTC ++++ libs/fst/wscript +@@ -82,7 +82,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']) + '"',