From 4802d37db01e13886f9c73032a35081e5fb019db Mon Sep 17 00:00:00 2001 From: christos Date: Sat, 29 Aug 2020 15:05:33 +0000 Subject: [PATCH] PR/55599: Valery Ushakov: libpcap gets SIGBUS on strictly aligned CPUs Define LBL_ALIGN as suggested --- external/bsd/libpcap/Makefile.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/external/bsd/libpcap/Makefile.inc b/external/bsd/libpcap/Makefile.inc index d14623df65c9..45ad056ef491 100644 --- a/external/bsd/libpcap/Makefile.inc +++ b/external/bsd/libpcap/Makefile.inc @@ -1,7 +1,9 @@ -# $NetBSD: Makefile.inc,v 1.1 2020/03/29 17:12:45 christos Exp $ +# $NetBSD: Makefile.inc,v 1.2 2020/08/29 15:05:33 christos Exp $ SRCDIR := ${.PARSEDIR}/dist +CPPFLAGS+=-DLBL_ALIGN + __sed: .USE @rm -f ${.TARGET} ${TOOL_SED} \