pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/w3m w3m: remove -Wnull_reference to fix build with...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c79152878d03
branches:  trunk
changeset: 383156:c79152878d03
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sat Aug 13 11:27:56 2022 +0000

description:
w3m: remove -Wnull_reference to fix build with gcc5 (NetBSD 8)

diffstat:

 www/w3m/Makefile.common |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 4f51768e45ab -r c79152878d03 www/w3m/Makefile.common
--- a/www/w3m/Makefile.common   Sat Aug 13 11:27:32 2022 +0000
+++ b/www/w3m/Makefile.common   Sat Aug 13 11:27:56 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.73 2022/07/25 08:54:29 rin Exp $
+# $NetBSD: Makefile.common,v 1.74 2022/08/13 11:27:56 wiz Exp $
 #
 # used by www/w3m/Makefile
 # used by www/w3m-img/Makefile
@@ -35,6 +35,9 @@
 
 .include "../../mk/bsd.prefs.mk"
 
+# not supported by gcc 5
+BUILDLINK_TRANSFORM+=  rm:-Wnull-dereference
+
 # Configurable by environment variables at run-time.
 CONFIGURE_ARGS+=       --with-charset=US-ASCII
 



Home | Main Index | Thread Index | Old Index