diff options
author | Matthias Schwarzott <zzam@gentoo.org> | 2007-07-03 14:22:13 +0000 |
---|---|---|
committer | Matthias Schwarzott <zzam@gentoo.org> | 2007-07-03 14:22:13 +0000 |
commit | a3398dd0f1e36a69b0266c9c48ffb5581ea385d8 (patch) | |
tree | e3d73dbaac4f040fb008df826e8e727618eaf55a /media-plugins/vdr-softdevice/files | |
parent | alpha/ia64/x86 stable (diff) | |
download | historical-a3398dd0f1e36a69b0266c9c48ffb5581ea385d8.tar.gz historical-a3398dd0f1e36a69b0266c9c48ffb5581ea385d8.tar.bz2 historical-a3398dd0f1e36a69b0266c9c48ffb5581ea385d8.zip |
Added patch to compile with ffmpeg-0.4.9_p20070616-r1
Package-Manager: portage-2.1.3_rc6
Diffstat (limited to 'media-plugins/vdr-softdevice/files')
-rw-r--r-- | media-plugins/vdr-softdevice/files/patches-0.4.0/new-ffmpeg-extern-c.diff | 28 | ||||
-rw-r--r-- | media-plugins/vdr-softdevice/files/patches-0.4.0/series | 1 |
2 files changed, 29 insertions, 0 deletions
diff --git a/media-plugins/vdr-softdevice/files/patches-0.4.0/new-ffmpeg-extern-c.diff b/media-plugins/vdr-softdevice/files/patches-0.4.0/new-ffmpeg-extern-c.diff new file mode 100644 index 000000000000..e4fca0bd738c --- /dev/null +++ b/media-plugins/vdr-softdevice/files/patches-0.4.0/new-ffmpeg-extern-c.diff @@ -0,0 +1,28 @@ +Index: softdevice-cvs/configure +=================================================================== +--- softdevice-cvs.orig/configure ++++ softdevice-cvs/configure +@@ -173,9 +173,11 @@ test_ffmpeg() + ffmpeg="yes"; + cat > ${TMPC} << EOF + #define __STDC_CONSTANT_MACROS ++extern "C" { + #include <stdlib.h> + #include <avcodec.h> + #include <avformat.h> ++} + int main(void) { + /* if ( avcodec_build() != LIBAVCODEC_BUILD ) { + fprintf(stderr,"Fatal Error! Libavcodec library build(%d) doesn't match avcodec.h build(%d)!!!\n",avcodec_build(),LIBAVCODEC_BUILD); +@@ -249,9 +251,11 @@ test_swscale() + cat > ${TMPC} << EOF + #define __STDC_CONSTANT_MACROS + #include <stdlib.h> ++extern "C" { + #include <avcodec.h> + #include <avformat.h> + #include <swscale.h> ++} + int main(void) { + /* if ( avcodec_build() != LIBAVCODEC_BUILD ) { + fprintf(stderr,"Fatal Error! Libavcodec library build(%d) doesn't match avcodec.h build(%d)!!!\n",avcodec_build(),LIBAVCODEC_BUILD); diff --git a/media-plugins/vdr-softdevice/files/patches-0.4.0/series b/media-plugins/vdr-softdevice/files/patches-0.4.0/series index f4d49416df58..3e52f157fc9e 100644 --- a/media-plugins/vdr-softdevice/files/patches-0.4.0/series +++ b/media-plugins/vdr-softdevice/files/patches-0.4.0/series @@ -1 +1,2 @@ +new-ffmpeg-extern-c.diff shm-fullscreen-parameter.diff |