pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc Revert bogus warning flags.
details: https://anonhg.NetBSD.org/pkgsrc/rev/88cb106b3598
branches: trunk
changeset: 610013:88cb106b3598
user: joerg <joerg%pkgsrc.org@localhost>
date: Mon Oct 15 21:27:08 2012 +0000
description:
Revert bogus warning flags.
diffstat:
net/libfetch/Makefile | 7 +------
pkgtools/pkg_install/Makefile | 6 +-----
2 files changed, 2 insertions(+), 11 deletions(-)
diffs (41 lines):
diff -r 73f39898d9d2 -r 88cb106b3598 net/libfetch/Makefile
--- a/net/libfetch/Makefile Mon Oct 15 20:47:56 2012 +0000
+++ b/net/libfetch/Makefile Mon Oct 15 21:27:08 2012 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.43 2012/10/09 02:48:04 sbd Exp $
+# $NetBSD: Makefile,v 1.44 2012/10/15 21:27:08 joerg Exp $
#
DISTNAME= libfetch-2.34
@@ -19,11 +19,6 @@
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
diff -r 73f39898d9d2 -r 88cb106b3598 pkgtools/pkg_install/Makefile
--- a/pkgtools/pkg_install/Makefile Mon Oct 15 20:47:56 2012 +0000
+++ b/pkgtools/pkg_install/Makefile Mon Oct 15 21:27:08 2012 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.188 2012/10/09 07:36:08 marino Exp $
+# $NetBSD: Makefile,v 1.189 2012/10/15 21:27:08 joerg Exp $
# Notes to package maintainers:
#
@@ -61,10 +61,6 @@
CPPFLAGS+= -DDEF_UMASK=${DEF_UMASK}
-# pkg_install uses the files from net/libfetch. The file ftp.c intentionally
-# violates strict-aliasing rules, so a flag is needed to compile it on gcc 4.7
-CFLAGS+= -Wno-strict-aliasing
-
MAKE_ENV+= MACHINE_ARCH=${MACHINE_ARCH:Q}
MAKE_ENV+= OPSYS=${OPSYS:Q}
MAKE_ENV+= MANINSTALL=${MANINSTALL:Q}
Home |
Main Index |
Thread Index |
Old Index