aboutsummaryrefslogtreecommitdiffstats
path: root/comms/hcidump/Makefile
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-06-18 02:58:10 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-06-18 02:58:10 +0800
commit3d6fef06316cfd8ea79b8472152ef04f017e620b (patch)
tree3fee7d9fec13e376de5bd0725234416ed092ad01 /comms/hcidump/Makefile
parente2795deae7374fd67e0fa3ea40a729730f880b48 (diff)
downloadfreebsd-ports-gnome-3d6fef06316cfd8ea79b8472152ef04f017e620b.tar.gz
freebsd-ports-gnome-3d6fef06316cfd8ea79b8472152ef04f017e620b.tar.zst
freebsd-ports-gnome-3d6fef06316cfd8ea79b8472152ef04f017e620b.zip
- Fix build on CURRENT
In base revision r281198, sockaddr_l2cap structure was changed, and an #error which fires by default was added as a safety measure to make sure all structure consumers are updated to initialize new fields. This port, however, doesn't seem to use this structure, so it should be safe to just disable the error.
Diffstat (limited to 'comms/hcidump/Makefile')
-rw-r--r--comms/hcidump/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/comms/hcidump/Makefile b/comms/hcidump/Makefile
index 59615376db27..d4f8137c2e8b 100644
--- a/comms/hcidump/Makefile
+++ b/comms/hcidump/Makefile
@@ -14,6 +14,8 @@ LICENSE= GPLv2
USES= uidfix
WRKSRC= ${WRKDIR}/${PORTNAME}
+CFLAGS+= -DL2CAP_SOCKET_CHECKED=yes
+
PLIST_FILES= bin/hcidump man/man1/hcidump.1.gz
.include <bsd.port.mk>