pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/libxml2 Avoid trying to disable warnings for ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/08d9366a92b8
branches:  trunk
changeset: 335948:08d9366a92b8
user:      sevan <sevan%pkgsrc.org@localhost>
date:      Wed Jul 03 16:54:32 2019 +0000

description:
Avoid trying to disable warnings for array boundary checks on Darwin.
On legacy toolchains e.g Tiger, it results in a hard error as it's not recognised.

diffstat:

 textproc/libxml2/Makefile |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r c0c510d1349b -r 08d9366a92b8 textproc/libxml2/Makefile
--- a/textproc/libxml2/Makefile Wed Jul 03 14:38:13 2019 +0000
+++ b/textproc/libxml2/Makefile Wed Jul 03 16:54:32 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.152 2019/01/09 19:09:02 adam Exp $
+# $NetBSD: Makefile,v 1.153 2019/07/03 16:54:32 sevan Exp $
 
 .include "../../textproc/libxml2/Makefile.common"
 
@@ -35,6 +35,7 @@
 SUBST_SED.cat=         -e "s,@@SGML_DEFAULT_CATALOG@@,${SGML_DEFAULT_CATALOG},g"
 SUBST_SED.cat+=                -e "s,@@XML_DEFAULT_CATALOG@@,${XML_DEFAULT_CATALOG},g"
 
+BUILDLINK_TRANSFORM.Darwin+=   rm:-Wno-array-bounds
 BUILDLINK_TRANSFORM.SunOS+=    rm:-Werror=format=2
 
 LDFLAGS.SCO_SV+=       -lm



Home | Main Index | Thread Index | Old Index