From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arnout Vandecappelle Date: Tue, 13 Jul 2021 21:47:29 +0200 Subject: [Buildroot] [PATCH 1/1] package/seatd: disable -Werror In-Reply-To: <20210612211502.594066-1-fontaine.fabrice@gmail.com> References: <20210612211502.594066-1-fontaine.fabrice@gmail.com> Message-ID: <96d63201-3dda-7371-d7a7-d72e29c12d3b@mind.be> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net On 12/06/2021 23:15, Fabrice Fontaine wrote: > Disable -Werror to avoid the following build failure which is raised > since the addition of the package in commit > daae31149017cbf8b03634cfc56da132f7e1ad83 > > ../seatd/seat.c: In function 'seat_activate_device': > ../seatd/seat.c:374:48: error: unused parameter 'client' [-Werror=unused-parameter] > 374 | static int seat_activate_device(struct client *client, struct seat_device *seat_device) { > | ~~~~~~~~~~~~~~~^~~~~~ > > Fixes: > - http://autobuild.buildroot.org/results/0ec925aab23d83c52684f5fea7a4395c93a674c4 > > Signed-off-by: Fabrice Fontaine Applied to master, thanks. Regards, Arnout > --- > package/seatd/seatd.mk | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/package/seatd/seatd.mk b/package/seatd/seatd.mk > index 2abcefbfaa..bf582f0d1d 100644 > --- a/package/seatd/seatd.mk > +++ b/package/seatd/seatd.mk > @@ -13,7 +13,8 @@ SEATD_INSTALL_STAGING = YES > > SEATD_CONF_OPTS += \ > -Dman-pages=disabled \ > - -Dexamples=disabled > + -Dexamples=disabled \ > + -Dwerror=false > > ifeq ($(BR2_PACKAGE_SYSTEMD_LOGIND),y) > SEATD_CONF_OPTS += -Dlogind=enabled >