Revision: 99264 http://trac.macports.org//changeset/99264 Author: devans@macports.org Date: 2012-10-30 11:29:15 -0700 (Tue, 30 Oct 2012) Log Message: ----------- gegl: replace ffmpeg deprecated usage that was dropped in ffmpeg-1.0, fixes problem loading ff_load.so in gimp2. Modified Paths: -------------- trunk/dports/graphics/gegl/Portfile Added Paths: ----------- trunk/dports/graphics/gegl/files/patch-ffmpeg-1.0.diff Modified: trunk/dports/graphics/gegl/Portfile =================================================================== --- trunk/dports/graphics/gegl/Portfile 2012-10-30 18:13:01 UTC (rev 99263) +++ trunk/dports/graphics/gegl/Portfile 2012-10-30 18:29:15 UTC (rev 99264) @@ -6,7 +6,7 @@ name gegl version 0.2.0 -revision 3 +revision 4 license {GPL-3+ LGPL-3+} set branch [join [lrange [split ${version} .] 0 1] .] categories graphics @@ -46,7 +46,10 @@ port:libspiro \ port:lensfun -patchfiles patch-configure.diff opencl.patch rename-for-altivec.patch +patchfiles patch-configure.diff \ + opencl.patch \ + rename-for-altivec.patch \ + patch-ffmpeg-1.0.diff configure.args --disable-docs \ --disable-silent-rules \ Added: trunk/dports/graphics/gegl/files/patch-ffmpeg-1.0.diff =================================================================== --- trunk/dports/graphics/gegl/files/patch-ffmpeg-1.0.diff (rev 0) +++ trunk/dports/graphics/gegl/files/patch-ffmpeg-1.0.diff 2012-10-30 18:29:15 UTC (rev 99264) @@ -0,0 +1,11 @@ +--- operations/external/ff-load.c 2012-04-01 13:17:57.000000000 +0200 ++++ operations/external/ff-load.c 2012-07-11 12:42:05.174756560 +0200 +@@ -271,7 +271,7 @@ + gint err; + + ff_cleanup (o); +- err = av_open_input_file (&p->ic, o->path, NULL, 0, NULL); ++ err = avformat_open_input (&p->ic, o->path, NULL, NULL); + if (err < 0) + { + print_error (o->path, err);