Index: Makefile =================================================================== --- Makefile (revision 464548) +++ Makefile (working copy) @@ -13,8 +13,12 @@ .if !defined(REFERENCE_PORT) -LICENSE= MIT -LICENSE_FILE= ${WRKSRC}/COPYING +LICENSE= MIT TRIO +LICENSE_COMB= multi +LICENSE_NAME_TRIO= Trio License +LICENSE_FILE_MIT= ${WRKSRC}/COPYING +LICENSE_FILE_TRIO= ${FILESDIR}/LICENSE.TRIO +LICENSE_PERMS_TRIO= ${_LICENSE_PERMS_DEFAULT} GNU_CONFIGURE= yes USES+= cpe gmake iconv libtool pathfix pkgconfig shebangfix @@ -33,7 +37,7 @@ .if !defined(MASTERDIR) -OPTIONS_DEFINE= SCHEMA VALID THREADS MEM_DEBUG XMLLINT_HIST THREAD_ALLOC +OPTIONS_DEFINE= SCHEMA VALID THREADS MEM_DEBUG XMLLINT_HIST THREAD_ALLOC OPTIONS_DEFAULT=SCHEMA VALID THREADS SCHEMA_DESC= XML schema support SCHEMA_CONFIGURE_WITH= schemas @@ -41,11 +45,11 @@ VALID_CONFIGURE_OFF= --without-valid THREADS_DESC= Threads support THREADS_CONFIGURE_WITH= threads -MEM_DEBUG_DESC= Memory debugging (DEVELOPERS ONLY!) +MEM_DEBUG_DESC= Memory debugging (DEVELOPERS ONLY!) MEM_DEBUG_CONFIGURE_WITH= mem-debug -XMLLINT_HIST_DESC= History for xmllint +XMLLINT_HIST_DESC= History for xmllint XMLLINT_HIST_CONFIGURE_WITH= history -THREAD_ALLOC_DESC= Per-thread memory (DEVELOPERS ONLY!) +THREAD_ALLOC_DESC= Per-thread memory (DEVELOPERS ONLY!) THREAD_ALLOC_CONFIGURE_WITH= thread-alloc .endif # !defined(MASTERDIR) Index: files/LICENSE.TRIO =================================================================== --- files/LICENSE.TRIO (nonexistent) +++ files/LICENSE.TRIO (working copy) @@ -0,0 +1,12 @@ +(Following sentences are from trio.c of libxml2-2.9.4.tar.gz.) + +Copyright (C) 1998 Bjorn Reese and Daniel Stenberg. + +Permission to use, copy, modify, and distribute this software for any +purpose with or without fee is hereby granted, provided that the above +copyright notice and this permission notice appear in all copies. + +THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED +WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF +MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE AUTHORS AND +CONTRIBUTORS ACCEPT NO RESPONSIBILITY IN ANY CONCEIVABLE MANNER. Index: files/patch-Makefile.in =================================================================== --- files/patch-Makefile.in (revision 464548) +++ files/patch-Makefile.in (working copy) @@ -1,7 +1,7 @@ ---- Makefile.in.orig 2014-10-17 20:26:52.547793054 +0200 -+++ Makefile.in 2014-10-17 20:27:34.868791352 +0200 -@@ -1234,7 +1234,7 @@ - @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c `$(CYGPATH_W) '$<'` +--- Makefile.in.orig 2017-09-20 18:23:56 UTC ++++ Makefile.in +@@ -1245,7 +1245,7 @@ distclean-compile: + @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'` .c.lo: -@am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @@ -9,7 +9,7 @@ @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@@ -1712,7 +1712,7 @@ +@@ -1730,7 +1730,7 @@ distcleancheck: distclean check-am: all-am check: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) check-recursive @@ -18,7 +18,7 @@ config.h install-binPROGRAMS: install-libLTLIBRARIES -@@ -1780,7 +1780,7 @@ +@@ -1798,7 +1798,7 @@ info: info-recursive info-am: Index: files/patch-config.h.in =================================================================== --- files/patch-config.h.in (revision 464548) +++ files/patch-config.h.in (working copy) @@ -1,7 +1,8 @@ ---- config.h.in.orig 2012-05-23 10:56:31.000000000 +0200 -+++ config.h.in 2012-07-23 09:34:22.000000000 +0200 -@@ -1,5 +1,8 @@ - /* config.h.in. Generated from configure.in by autoheader. */ +--- config.h.in.orig 2016-05-23 08:00:35 UTC ++++ config.h.in +@@ -3,6 +3,9 @@ + /* Type cast for the gethostbyname() argument */ + #undef GETHOSTBYNAME_ARG_CAST +/* XXX */ +#define HAVE_VFSCANF Index: files/patch-configure =================================================================== --- files/patch-configure (revision 464548) +++ files/patch-configure (working copy) @@ -1,6 +1,6 @@ ---- configure.orig 2013-11-24 09:41:13.000000000 +0100 -+++ configure 2013-11-24 09:41:55.000000000 +0100 -@@ -14499,6 +14499,8 @@ +--- configure.orig 2016-05-23 08:00:35 UTC ++++ configure +@@ -15639,6 +15639,8 @@ fi fi fi ;; Index: files/patch-libxml-2.0-uninstalled.pc.in =================================================================== --- files/patch-libxml-2.0-uninstalled.pc.in (revision 464548) +++ files/patch-libxml-2.0-uninstalled.pc.in (working copy) @@ -1,6 +1,6 @@ ---- libxml-2.0-uninstalled.pc.in.orig 2014-10-03 11:00:53.000000000 +0200 -+++ libxml-2.0-uninstalled.pc.in 2015-07-31 13:26:13.641069000 +0200 -@@ -8,5 +8,5 @@ +--- libxml-2.0-uninstalled.pc.in.orig 2016-02-09 10:17:32 UTC ++++ libxml-2.0-uninstalled.pc.in +@@ -8,5 +8,5 @@ Name: libXML Version: @VERSION@ Description: libXML library version2. Requires: Index: files/patch-libxml-2.0.pc.in =================================================================== --- files/patch-libxml-2.0.pc.in (revision 464548) +++ files/patch-libxml-2.0.pc.in (working copy) @@ -1,6 +1,6 @@ ---- libxml-2.0.pc.in.orig 2014-10-03 11:00:53.000000000 +0200 -+++ libxml-2.0.pc.in 2015-07-31 13:26:13.647320000 +0200 -@@ -9,5 +9,5 @@ +--- libxml-2.0.pc.in.orig 2016-02-09 10:17:32 UTC ++++ libxml-2.0.pc.in +@@ -9,5 +9,5 @@ Version: @VERSION@ Description: libXML library version2. Requires: Libs: -L${libdir} -lxml2 Index: files/patch-python_Makefile.in =================================================================== --- files/patch-python_Makefile.in (revision 464548) +++ files/patch-python_Makefile.in (working copy) @@ -1,6 +1,6 @@ ---- python/Makefile.in.orig 2013-11-24 08:47:04.000000000 +0100 -+++ python/Makefile.in 2013-11-24 08:51:02.000000000 +0100 -@@ -415,7 +415,7 @@ +--- python/Makefile.in.orig 2017-09-20 18:23:56 UTC ++++ python/Makefile.in +@@ -489,7 +489,7 @@ top_srcdir = @top_srcdir@ # Makefile for libxml2 python library AUTOMAKE_OPTIONS = 1.4 foreign @@ -9,7 +9,7 @@ docsdir = $(datadir)/doc/libxml2-python-$(LIBXML_VERSION) dist_docs_DATA = TODO EXTRA_DIST = \ -@@ -435,7 +435,7 @@ +@@ -509,7 +509,7 @@ EXTRA_DIST = \ @WITH_PYTHON_TRUE@python_LTLIBRARIES = libxml2mod.la @WITH_PYTHON_TRUE@libxml2mod_la_SOURCES = libxml.c libxml_wrap.h libxml2-py.h libxml2-py.c types.c @WITH_PYTHON_TRUE@libxml2mod_la_LDFLAGS = $(CYGWIN_EXTRA_LDFLAGS) $(WIN32_EXTRA_LDFLAGS) -module -avoid-version \ Index: files/patch-python_tests_Makefile.in =================================================================== --- files/patch-python_tests_Makefile.in (revision 464548) +++ files/patch-python_tests_Makefile.in (working copy) @@ -1,7 +1,7 @@ ---- python/tests/Makefile.in.orig 2008-05-23 22:41:49.000000000 -0500 -+++ python/tests/Makefile.in 2008-05-23 22:42:12.000000000 -0500 -@@ -270,7 +270,7 @@ - target_alias = @target_alias@ +--- python/tests/Makefile.in.orig 2017-09-20 18:23:56 UTC ++++ python/tests/Makefile.in +@@ -385,7 +385,7 @@ target_alias = @target_alias@ + top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ -exampledir = $(datadir)/doc/libxml2-python-$(LIBXML_VERSION)/examples Index: files/patch-uri.c =================================================================== --- files/patch-uri.c (revision 464548) +++ files/patch-uri.c (working copy) @@ -12,9 +12,9 @@ (e.g. "urx:b:b" becomes "urx://b%3Ab" where "urx:b%3Ab" would be correct) ---- uri.c.orig 2014-10-03 13:28:06.000000000 +0200 -+++ uri.c 2014-10-20 14:22:57.677231158 +0200 -@@ -1198,6 +1198,8 @@ +--- uri.c.orig 2016-05-22 01:49:02 UTC ++++ uri.c +@@ -1199,6 +1199,8 @@ xmlSaveUri(xmlURIPtr uri) { if (temp == NULL) goto mem_error; ret = temp; } Index: files/patch-xml2Conf.sh.in =================================================================== --- files/patch-xml2Conf.sh.in (revision 464548) +++ files/patch-xml2Conf.sh.in (working copy) @@ -1,5 +1,5 @@ ---- xml2Conf.sh.in 2001/05/19 19:57:43 1.1 -+++ xml2Conf.sh.in 2001/05/19 19:59:40 +--- xml2Conf.sh.in.orig 2009-07-30 15:24:35 UTC ++++ xml2Conf.sh.in @@ -1,6 +1,12 @@ # # Configuration file for using the XML library in GNOME applications