From owner-svn-ports-head@freebsd.org Wed Feb 5 09:30:35 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 28426245008; Wed, 5 Feb 2020 09:30:35 +0000 (UTC) (envelope-from linimon@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 48CGWZ6c5Wz4J4y; Wed, 5 Feb 2020 09:30:34 +0000 (UTC) (envelope-from linimon@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 DC787779; Wed, 5 Feb 2020 09:30:34 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 0159UYSL065293; Wed, 5 Feb 2020 09:30:34 GMT (envelope-from linimon@FreeBSD.org) Received: (from linimon@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 0159UY6X065292; Wed, 5 Feb 2020 09:30:34 GMT (envelope-from linimon@FreeBSD.org) Message-Id: <202002050930.0159UY6X065292@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: linimon set sender to linimon@FreeBSD.org using -f From: Mark Linimon Date: Wed, 5 Feb 2020 09:30:34 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r525260 - head/audio/noise-repellent-lv2/files X-SVN-Group: ports-head X-SVN-Commit-Author: linimon X-SVN-Commit-Paths: head/audio/noise-repellent-lv2/files X-SVN-Commit-Revision: 525260 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: Wed, 05 Feb 2020 09:30:35 -0000 Author: linimon Date: Wed Feb 5 09:30:34 2020 New Revision: 525260 URL: https://svnweb.freebsd.org/changeset/ports/525260 Log: Fix build on !x86 !aarch64: cc1: error: unrecognized command line option "-msse" cc1: error: unrecognized command line option "-msse2" cc1: error: unrecognized command line option "-mfpmath=sse" This patch should be upstreamed. Tested on both amd64 and powerpc64. Approved by: portmgr (tier-2 blanket) Added: head/audio/noise-repellent-lv2/files/ head/audio/noise-repellent-lv2/files/patch-meson.build (contents, props changed) Added: head/audio/noise-repellent-lv2/files/patch-meson.build ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/audio/noise-repellent-lv2/files/patch-meson.build Wed Feb 5 09:30:34 2020 (r525260) @@ -0,0 +1,20 @@ +--- meson.build.orig 2020-01-07 01:30:53 UTC ++++ meson.build +@@ -25,8 +25,8 @@ current_os = build_machine.system() + current_arch = build_machine.cpu_family() + cflags = [] + +-# Add x86_64 optimization where appropriate (not for ARM) +-if current_arch != 'aarch64' ++# Add x86_64 optimization where appropriate ++if current_arch == 'x86' or current_arch == 'x86_64' + cflags += ['-msse','-msse2','-mfpmath=sse'] + endif + +@@ -82,4 +82,4 @@ nrepel_ttl = custom_target('nrepel_ttl', + if sord_validate.found() + test('LV2 validation', sord_validate, + args : [run_command('find','./lv2 -name "*.ttl"').stdout(), run_command('find','. -name "*.ttl"').stdout()]) +-endif +\ No newline at end of file ++endif