diff -uNr --exclude=CVS ../net/icecast/Makefile icecast/Makefile
--- ../net/icecast/Makefile	Mon Jul 23 02:19:45 2007
+++ icecast/Makefile	Mon Jul 30 02:13:11 2007
@@ -3,7 +3,7 @@
 COMMENT=	server for streaming various media formats
 
 DISTNAME=	icecast-2.3.1
-PKGNAME=	${DISTNAME}p1
+PKGNAME=	${DISTNAME}p2
 CATEGORIES=	net audio
 
 HOMEPAGE=	http://www.icecast.org/
@@ -32,6 +32,10 @@
 		theora.>=1::multimedia/libtheora
 
 SEPARATE_BUILD=	simple
+
+post-patch:
+	@perl -pi -e 's|text\/html|application\/xhtml+xml|g' ${WRKSRC}/src/admin.c \
+		${WRKSRC}/src/client.c ${WRKSRC}/src/xslt.c
 
 post-build:
 	@sed -e 's,##PREFIX##,${TRUEPREFIX},g' < ${FILESDIR}/README.OpenBSD > \
