summaryrefslogtreecommitdiff
path: root/net/libfetch
diff options
context:
space:
mode:
Diffstat (limited to 'net/libfetch')
-rw-r--r--net/libfetch/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/net/libfetch/Makefile b/net/libfetch/Makefile
index 983bb13a9ec..4cda7e526f4 100644
--- a/net/libfetch/Makefile
+++ b/net/libfetch/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.41 2011/12/17 00:12:29 sbd Exp $
+# $NetBSD: Makefile,v 1.42 2012/10/07 07:23:21 marino Exp $
#
DISTNAME= libfetch-2.33
@@ -19,6 +19,11 @@ USE_BSD_MAKEFILE= yes
MAKE_JOBS_SAFE= NO
+# GCC4.7 detects the intentional type-punned pointer dereference on ftp.c:149
+# libfetch is built with -Werror, so this strict-alias rule violation breaks
+# the build. Disable the check.
+CFLAGS+= -Wno-strict-aliasing
+
.include "../../mk/bsd.prefs.mk"
.if !empty(FETCH_USING:Mfetch)
CHECK_PERMS= no