--- Portfile.orig	2007-10-22 16:50:33.000000000 -0600
+++ Portfile	2008-03-14 08:59:56.000000000 -0600
@@ -44,3 +44,9 @@
 		port:gnome-platform-suite \
 		port:libgnomeprintui
 }
+
+platform darwin 9 {
+	post-patch {
+		reinplace "s|#define ICONV_CONST const|#define ICONV_CONST|g" ${worksrcpath}/src/af/util/xp/ut_iconv.cpp
+	}
+}
