git: 69e9da7fbc9e - main - audio/nyquist: Fix build on 13+

Yuri Victorovich yuri at FreeBSD.org
Thu Apr 29 19:05:03 UTC 2021


The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=69e9da7fbc9e6fcc6fd34f44dd2aff2f61d66567

commit 69e9da7fbc9e6fcc6fd34f44dd2aff2f61d66567
Author:     Yuri Victorovich <yuri at FreeBSD.org>
AuthorDate: 2021-04-29 19:03:39 +0000
Commit:     Yuri Victorovich <yuri at FreeBSD.org>
CommitDate: 2021-04-29 19:04:56 +0000

    audio/nyquist: Fix build on 13+
    
    Error was 'ld: error: duplicate symbol: IOinputfd'
    Fixed by adding -fcommon.
    
    Reported by:    fallout
---
 audio/nyquist/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/audio/nyquist/Makefile b/audio/nyquist/Makefile
index a179a4688710..69fab047b500 100644
--- a/audio/nyquist/Makefile
+++ b/audio/nyquist/Makefile
@@ -15,6 +15,7 @@ USE_CSTD=	c99
 WRKSRC=		${WRKDIR}/${PORTNAME}
 
 CFLAGS+=	-Dulong=uint32_t -DXL_BIG_ENDIAN -DHAVE_SYS_SOUNDCARD_H
+CFLAGS+=	-fcommon # notified the author vie e-mail on 2021-04-29
 
 USE_JAVA=	yes
 


More information about the dev-commits-ports-all mailing list