pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/libxml2 libxml2: fix compilation on Solaris 11.3



details:   https://anonhg.NetBSD.org/pkgsrc/rev/110208dc50bb
branches:  trunk
changeset: 377235:110208dc50bb
user:      maya <maya%pkgsrc.org@localhost>
date:      Wed Mar 14 10:49:00 2018 +0000

description:
libxml2: fix compilation on Solaris 11.3

We use INFINITY which is available on C99 and later, so be explicit
that we compile C99 code.

Also tested as compiling fine on netbsd-current.

Fixes PR pkg/53098

diffstat:

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

diffs (18 lines):

diff -r 8296c6619f18 -r 110208dc50bb textproc/libxml2/Makefile
--- a/textproc/libxml2/Makefile Wed Mar 14 10:16:57 2018 +0000
+++ b/textproc/libxml2/Makefile Wed Mar 14 10:49:00 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.146 2017/09/10 20:49:20 wiz Exp $
+# $NetBSD: Makefile,v 1.147 2018/03/14 10:49:00 maya Exp $
 
 .include "../../textproc/libxml2/Makefile.common"
 
@@ -17,6 +17,8 @@
 
 PKGCONFIG_OVERRIDE=    libxml-2.0.pc.in
 
+USE_LANGUAGES+=                c99
+
 .include "options.mk"
 
 # allow thread-awareness, but make sure the library is not



Home | Main Index | Thread Index | Old Index