svn commit: r547059 - head/sysutils/seatd
Piotr Kubaj
pkubaj at FreeBSD.org
Sun Aug 30 15:12:26 UTC 2020
Author: pkubaj
Date: Sun Aug 30 15:12:26 2020
New Revision: 547059
URL: https://svnweb.freebsd.org/changeset/ports/547059
Log:
sysutils/seatd: fix build on GCC architectures
Disable -Werror:
../seatd/client.c: In function 'get_peer':
../seatd/client.c:49:51: error: operand of ?: changes signedness from 'int' to 'gid_t' {aka 'unsigned int'} due to unsignedness of other operand [-Werror=sign-compare]
49 | *gid = cred.cr_ngroups > 0 ? cred.cr_groups[0] : -1;
| ^~
../seatd/client.c: At top level:
cc1: error: unrecognized command line option '-Wno-unused-command-line-argument' [-Werror]
cc1: error: unrecognized command line option '-Wno-unknown-warning-option' [-Werror]
cc1: all warnings being treated as errors
Modified:
head/sysutils/seatd/Makefile
Modified: head/sysutils/seatd/Makefile
==============================================================================
--- head/sysutils/seatd/Makefile Sun Aug 30 15:06:30 2020 (r547058)
+++ head/sysutils/seatd/Makefile Sun Aug 30 15:12:26 2020 (r547059)
@@ -14,7 +14,8 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
USES= compiler:c11 meson pkgconfig
USE_LDCONFIG= yes
USE_RC_SUBR= ${PORTNAME}
-MESON_ARGS= -Dbuiltin=enabled # SUID fallback
+MESON_ARGS= -Dwerror=false \
+ -Dbuiltin=enabled # SUID fallback
PLIST_FILES= bin/${PORTNAME} \
include/libseat.h \
lib/libseat.so \
More information about the svn-ports-all
mailing list