From owner-dev-commits-ports-main@freebsd.org Sat Jun 19 12:44:33 2021 Return-Path: Delivered-To: dev-commits-ports-main@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 8EAF3658D14; Sat, 19 Jun 2021 12:44:33 +0000 (UTC) (envelope-from git@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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4G6b8d3GRCz3PS4; Sat, 19 Jun 2021 12:44:33 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 5917E16A03; Sat, 19 Jun 2021 12:44:33 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 15JCiX83065832; Sat, 19 Jun 2021 12:44:33 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 15JCiXen065831; Sat, 19 Jun 2021 12:44:33 GMT (envelope-from git) Date: Sat, 19 Jun 2021 12:44:33 GMT Message-Id: <202106191244.15JCiXen065831@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Alexander Leidinger Subject: git: fd14cb96eb4d - main - audio/lame: fix build on riscv MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: netchild X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: fd14cb96eb4d160d6d173447546ea025f55b2882 Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-main@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commits to the main branch of the FreeBSD ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Jun 2021 12:44:33 -0000 The branch main has been updated by netchild: URL: https://cgit.FreeBSD.org/ports/commit/?id=fd14cb96eb4d160d6d173447546ea025f55b2882 commit fd14cb96eb4d160d6d173447546ea025f55b2882 Author: Alexander Richardson AuthorDate: 2021-06-19 12:39:17 +0000 Commit: Alexander Leidinger CommitDate: 2021-06-19 12:43:54 +0000 audio/lame: fix build on riscv The previous commit only removed the BROKEN for riscv, but didn't add a patch. PR: 256583 Reported by: Robert Clausecker Obtained from: LLVM project https://reviews.llvm.org/D89557 --- audio/lame/Makefile | 2 +- audio/lame/files/patch-libmp3lame_util.c | 14 ++++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/audio/lame/Makefile b/audio/lame/Makefile index 5287c5cd8eca..6bae97c986f9 100644 --- a/audio/lame/Makefile +++ b/audio/lame/Makefile @@ -2,7 +2,7 @@ PORTNAME= lame PORTVERSION= 3.100 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= audio MASTER_SITES= SF/${PORTNAME:tl}/${PORTNAME:tl}/3.100 diff --git a/audio/lame/files/patch-libmp3lame_util.c b/audio/lame/files/patch-libmp3lame_util.c new file mode 100644 index 000000000000..984bf2af9976 --- /dev/null +++ b/audio/lame/files/patch-libmp3lame_util.c @@ -0,0 +1,14 @@ +--- libmp3lame/util.c.orig 2021-06-11 15:08:59 UTC ++++ libmp3lame/util.c +@@ -843,9 +843,8 @@ disable_FPE(void) + */ + + +- +- +-#if defined(__FreeBSD__) && !defined(__alpha__) ++/* https://reviews.llvm.org/D89557 */ ++#if defined(__FreeBSD__) && defined(FP_X_INV) && defined(FP_X_DZ) + { + /* seet floating point mask to the Linux default */ + fp_except_t mask;