Index: files/patch-readxml.c.diff
===================================================================
--- files/patch-readxml.c.diff	(revision 0)
+++ files/patch-readxml.c.diff	(revision 0)
@@ -0,0 +1,11 @@
+--- src/readxml.c	2005-01-31 20:26:19.000000000 -0600
++++ src/readxml.c	2007-12-03 03:43:50.000000000 -0600
+@@ -27,6 +27,8 @@
+ 
+ #include <libxml/xmlreader.h>
+ 
++#include "iconv.h"
++
+ #include "readxml.h"
+ 
+ #ifdef HAVE_LANGINFO_CODESET
Index: Portfile
===================================================================
--- Portfile	(revision 31680)
+++ Portfile	(working copy)
@@ -24,5 +24,7 @@
 		port:libpng \
 		port:libiconv
 
+patchfiles	patch-readxml.c.diff
+
 configure.args --mandir=${prefix}/share/man
 

