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 <fuz@fuz.su> Obtained from: LLVM project https://reviews.llvm.org/D89557
This commit is contained in:
parent
d571f1f332
commit
fd14cb96eb
2 changed files with 15 additions and 1 deletions
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
PORTNAME= lame
|
||||
PORTVERSION= 3.100
|
||||
PORTREVISION= 2
|
||||
PORTREVISION= 3
|
||||
CATEGORIES= audio
|
||||
MASTER_SITES= SF/${PORTNAME:tl}/${PORTNAME:tl}/3.100
|
||||
|
||||
|
|
|
|||
14
audio/lame/files/patch-libmp3lame_util.c
Normal file
14
audio/lame/files/patch-libmp3lame_util.c
Normal file
|
|
@ -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;
|
||||
Loading…
Add table
Add a link
Reference in a new issue