git: d6905f919509 - main - devel/libqsbr: Mark BROKEN on armv7
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 03 Jan 2024 05:28:03 UTC
The branch main has been updated by bofh:
URL: https://cgit.FreeBSD.org/ports/commit/?id=d6905f9195093f505110f59cdb7871a0088a10de
commit d6905f9195093f505110f59cdb7871a0088a10de
Author: Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-02 18:21:50 +0000
Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-03 05:27:52 +0000
devel/libqsbr: Mark BROKEN on armv7
Fix build with llvm17 on i386
---
devel/libqsbr/Makefile | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/devel/libqsbr/Makefile b/devel/libqsbr/Makefile
index 0b5aa2889ecb..bde54502a183 100644
--- a/devel/libqsbr/Makefile
+++ b/devel/libqsbr/Makefile
@@ -9,6 +9,8 @@ WWW= https://github.com/rmind/libqsbr
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/../LICENSE
+BROKEN_FreeBSD_armv7= static assertion failed due to requirement 'sizeof(unsigned long) == 8': expected 64-bit counter
+
USES= compiler:c11 gmake libtool:build
USE_GITHUB= yes
GH_ACCOUNT= rmind
@@ -21,4 +23,10 @@ MAKE_ENV= DESTDIR=${STAGEDIR}${PREFIX} \
MANDIR=${LOCALBASE}/man
TEST_TARGET= tests
+.include <bsd.port.options.mk>
+
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1500006
+CFLAGS_i386= -Wno-error=sync-alignment
+.endif
+
.include <bsd.port.mk>