Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Apr 2023 06:19:06 GMT
From:      Daniel Engberg <diizzy@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 4c280f29b25f - main - audio/libgme: Don't build with undefined behavior sanitizer (UBSAN)
Message-ID:  <202304140619.33E6J6cT018796@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by diizzy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=4c280f29b25f0671f88915edfbb1209876a31985

commit 4c280f29b25f0671f88915edfbb1209876a31985
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2023-04-13 23:41:35 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2023-04-14 06:18:53 +0000

    audio/libgme: Don't build with undefined behavior sanitizer (UBSAN)
    
    This error check should not be enabled by default and breaks
    build with some applications such as FFmpeg
    
    Reported by:    VVD <vvd@unislabs.com>
    Tested by:      VVD <vvd@unislabs.com>
    Sponsored by:   Blinkinblox
---
 audio/libgme/Makefile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/audio/libgme/Makefile b/audio/libgme/Makefile
index 3bb193c84c43..18f16a82f0f5 100644
--- a/audio/libgme/Makefile
+++ b/audio/libgme/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	libgme
 DISTVERSION=	0.6.3
+PORTREVISION=	1
 CATEGORIES=	audio
 MASTER_SITES=	https://bitbucket.org/mpyne/game-music-emu/downloads/
 DISTNAME=	game-music-emu-${DISTVERSION}
@@ -17,6 +18,8 @@ USE_LDCONFIG=	yes
 
 PORTDOCS=	changes.txt design.txt gme.txt readme.txt
 
+CMAKE_OFF=	ENABLE_UBSAN
+
 OPTIONS_DEFINE=	DOCS
 
 post-patch:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202304140619.33E6J6cT018796>