diff options
author | Danny Rawlins <monster.romster@gmail.com> | 2008-10-30 20:44:47 +1100 |
---|---|---|
committer | Danny Rawlins <monster.romster@gmail.com> | 2008-10-30 20:44:47 +1100 |
commit | 2b6663cb0e0764bd4e1998a010cb1f21bf65850f (patch) | |
tree | 299bdb7b618d18a910eb74c5acabf5bb8e6fe382 /moc | |
parent | 0ed5cb1afcd16c672a13cb9b0b7d63974635b985 (diff) | |
download | contrib-2b6663cb0e0764bd4e1998a010cb1f21bf65850f.tar.gz contrib-2b6663cb0e0764bd4e1998a010cb1f21bf65850f.tar.xz |
moc: ffmpeg header patch (thanks Rotwang)
Diffstat (limited to 'moc')
-rw-r--r-- | moc/.md5sum | 1 | ||||
-rw-r--r-- | moc/Pkgfile | 9 | ||||
-rw-r--r-- | moc/moc-2.4.3-ffmpeg_headers.patch | 12 |
3 files changed, 19 insertions, 3 deletions
diff --git a/moc/.md5sum b/moc/.md5sum index 239a3aec4..7e05e0177 100644 --- a/moc/.md5sum +++ b/moc/.md5sum @@ -1 +1,2 @@ +f66eafc046d8d4b52983f78dd934d0f1 moc-2.4.3-ffmpeg_headers.patch 8808082848e90eeec5415baaec7e98ad moc-2.4.3.tar.bz2 diff --git a/moc/Pkgfile b/moc/Pkgfile index 6c0dc3bc8..1a7784a7d 100644 --- a/moc/Pkgfile +++ b/moc/Pkgfile @@ -7,11 +7,14 @@ name=moc version=2.4.3 -release=2 -source=(ftp://ftp.daper.net/pub/soft/moc/stable/moc-$version.tar.bz2) +release=3 +source=(ftp://ftp.daper.net/pub/soft/$name/stable/$name-$version.tar.bz2 + $name-2.4.3-ffmpeg_headers.patch) build() { - cd moc-$version + cd $name-$version + + patch -p 1 -i $SRC/$name-2.4.3-ffmpeg_headers.patch ./configure \ --prefix=/usr \ diff --git a/moc/moc-2.4.3-ffmpeg_headers.patch b/moc/moc-2.4.3-ffmpeg_headers.patch new file mode 100644 index 000000000..8015f3620 --- /dev/null +++ b/moc/moc-2.4.3-ffmpeg_headers.patch @@ -0,0 +1,12 @@ +diff -pruN moc-2.4.3.orig/decoder_plugins/ffmpeg/ffmpeg.c moc-2.4.3/decoder_plugins/ffmpeg/ffmpeg.c +--- moc-2.4.3.orig/decoder_plugins/ffmpeg/ffmpeg.c 2008-10-30 07:42:38.000000000 +0100 ++++ moc-2.4.3/decoder_plugins/ffmpeg/ffmpeg.c 2008-10-30 07:44:12.000000000 +0100 +@@ -22,7 +22,7 @@ + #ifdef HAVE_INTTYPES_H + # include <inttypes.h> + #endif +-#include <ffmpeg/avformat.h> ++#include <libavformat/avformat.h> + + /* FFmpeg also likes common names, without that, our common.h and log.h would + * not be included. */ |