gegl: added patch for newest ffmpeg

thanks to Markus Heinz
This commit is contained in:
Simone Rota 2008-10-02 23:48:17 +00:00 committed by Tilman Sauerbeck
parent 3497d3899e
commit 4d62a0bba5
3 changed files with 25 additions and 2 deletions

View File

@ -1 +1,2 @@
e458409440a7b51f446df321c3657e4d gegl-0.0.18.tar.bz2
6adc97a0691022755d656935bb5cbb62 gegl-ffmpeg.patch

View File

@ -6,11 +6,13 @@
name=gegl
version=0.0.18
release=1
source=(ftp://ftp.gimp.org/pub/$name/0.0/$name-$version.tar.bz2)
release=2
source=(ftp://ftp.gimp.org/pub/$name/0.0/$name-$version.tar.bz2 \
$name-ffmpeg.patch)
build() {
cd $name-$version
patch -p1 < ../$name-ffmpeg.patch
./configure --prefix=/usr
make
make DESTDIR=$PKG install

20
gegl/gegl-ffmpeg.patch Normal file
View File

@ -0,0 +1,20 @@
diff -C 3 -r gegl-0.0.18-original/operations/external/ff-load.c gegl-0.0.18/operations/external/ff-load.c
*** gegl-0.0.18-original/operations/external/ff-load.c Sat Jun 14 18:40:04 2008
--- gegl-0.0.18/operations/external/ff-load.c Thu Oct 2 20:35:34 2008
***************
*** 27,33 ****
#include "gegl-chant.h"
#include <errno.h>
! #include <ffmpeg/avformat.h>
typedef struct
{
--- 27,33 ----
#include "gegl-chant.h"
#include <errno.h>
! #include <libavformat/avformat.h>
typedef struct
{