Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Jan 2025 06:22:11 GMT
From:      Zsolt Udvari <uzsolt@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 342f30257a4d - main - graphics/timg: Set NOT_FOR_ARCHS=i386
Message-ID:  <202501140622.50E6MB5h075308@gitrepo.freebsd.org>

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

URL: https://cgit.FreeBSD.org/ports/commit/?id=342f30257a4d6ff0320f4cf88770b798da08ec69

commit 342f30257a4d6ff0320f4cf88770b798da08ec69
Author:     Zsolt Udvari <uzsolt@FreeBSD.org>
AuthorDate: 2025-01-14 06:20:02 +0000
Commit:     Zsolt Udvari <uzsolt@FreeBSD.org>
CommitDate: 2025-01-14 06:21:43 +0000

    graphics/timg: Set NOT_FOR_ARCHS=i386
    
    On i386 the build causes an error:
    /wrkdirs/usr/ports/graphics/timg/work/timg-1.6.1/src/timg-time.h:59:37:
    error: non-constant-expression cannot be narrowed from type 'int64_t'
    (aka 'long long') to 'long' in initializer list [-Wc++11-narrowing]
---
 graphics/timg/Makefile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/graphics/timg/Makefile b/graphics/timg/Makefile
index 79f6f8b10af4..798c98bf0721 100644
--- a/graphics/timg/Makefile
+++ b/graphics/timg/Makefile
@@ -10,6 +10,9 @@ WWW=		https://github.com/hzeller/timg
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+NOT_FOR_ARCHS=	i386
+NOT_FOR_ARCHS_REASON=	non-constant-expression cannot be narrowed from type 'int64_t' (aka 'long long') to 'long' in initializer list
+
 LIB_DEPENDS=	libavutil.so:multimedia/ffmpeg \
 		libdeflate.so:archivers/libdeflate \
 		libexif.so:graphics/libexif \



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