--- Portfile.orig	2008-08-04 16:51:40.000000000 -0700
+++ Portfile	2008-08-04 17:05:42.000000000 -0700
@@ -47,7 +47,7 @@
     if {![file isdirectory ${distpath}/${svn_rev}]} {
         file mkdir ${distpath}/${svn_rev}
         system "svn export -r${svn_rev} --ignore-externals svn://svn.mplayerhq.hu/ffmpeg/trunk ${distpath}/${svn_rev}/trunk"
-        system "svn export -r27347 svn://svn.mplayerhq.hu/mplayer/trunk/libswscale ${distpath}/${svn_rev}/trunk/libswscale"
+        system "svn export -r27349 svn://svn.mplayerhq.hu/mplayer/trunk/libswscale ${distpath}/${svn_rev}/trunk/libswscale"
     }
 }
 
@@ -148,9 +148,8 @@
 	}
 }
 variant avfilter requires gpl description {video filter support (replaces vhook)} {
-	patchfiles-append patch-libswscale-Makefile.diff \
-		patch-Makefile.diff patch-libavfilter-Makefile.diff
-	configure.args-append --enable-swscaler --enable-avfilter
+	patchfiles-append patch-libswscale-Makefile.diff patch-configure.diff
+	configure.args-append --enable-swscale --enable-avfilter
 
 	# keep vhook as long as avfilter isnt working fully
 	configure.args-delete --disable-vhook
