Index: textproc/libxml2/Makefile =================================================================== RCS file: /home/pcvs/ports/textproc/libxml2/Makefile,v retrieving revision 1.165 diff -a -u -r1.165 Makefile --- textproc/libxml2/Makefile 24 Jun 2010 17:20:01 -0000 1.165 +++ textproc/libxml2/Makefile 4 Oct 2010 10:21:44 -0000 @@ -25,6 +25,7 @@ .if !defined(REFERENCE_PORT) +USE_CSTD= gnu89 USE_GMAKE= yes MAKE_JOBS_SAFE= yes USE_ICONV= yes Index: textproc/libxml2/files/patch-python_libxml.c =================================================================== RCS file: textproc/libxml2/files/patch-python_libxml.c diff -N textproc/libxml2/files/patch-python_libxml.c --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ textproc/libxml2/files/patch-python_libxml.c 4 Oct 2010 10:21:44 -0000 @@ -0,0 +1,11 @@ +--- python/libxml.c.orig 2009-09-24 17:31:59.000000000 +0200 ++++ python/libxml.c 2010-10-03 09:34:16.000000000 +0200 +@@ -30,7 +30,7 @@ + + #if (defined(_MSC_VER) || defined(__MINGW32__)) && !defined(vsnprintf) + #define vsnprintf(b,c,f,a) _vsnprintf(b,c,f,a) +-#elif defined(WITH_TRIO) ++#elif defined(WITH_TRIO) && !defined(vsnprintf) + #include "trio.h" + #define vsnprintf trio_vsnprintf + #endif