Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Aug 2020 15:12:26 +0000 (UTC)
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r547059 - head/sysutils/seatd
Message-ID:  <202008301512.07UFCQ9w007168@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 \



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