Date: Fri, 15 Jan 2021 20:49: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: r561672 - head/devel/libudev-devd Message-ID: <202101152049.10FKnQKB047681@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pkubaj Date: Fri Jan 15 20:49:26 2021 New Revision: 561672 URL: https://svnweb.freebsd.org/changeset/ports/561672 Log: devel/libudev-devd: fix build with gcc10 Don't set -Werror: ../udev-device.c: In function 'udev_device_new_from_devnum': ../udev-device.c:93:2: error: 'strncpy' output may be truncated copying 31 bytes from a string of length 78 [-Werror=stringop-truncation] 93 | strncpy(devbuf, devpath + 1, 31); Modified: head/devel/libudev-devd/Makefile Modified: head/devel/libudev-devd/Makefile ============================================================================== --- head/devel/libudev-devd/Makefile Fri Jan 15 20:47:43 2021 (r561671) +++ head/devel/libudev-devd/Makefile Fri Jan 15 20:49:26 2021 (r561672) @@ -19,6 +19,8 @@ GH_ACCOUNT= FreeBSDDesktop USES= compiler:c11 localbase meson USE_LDCONFIG= yes +CFLAGS+= -Wno-error + PLIST_FILES= include/libudev.h \ lib/libudev.so \ lib/libudev.so.0 \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202101152049.10FKnQKB047681>