From: | "Ryan Hill (dirtyepic)" <dirtyepic@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in media-libs/wxsvg/files: wxsvg-1.1.2-libav.patch |
Date: | Thu, 29 Sep 2011 03:19:53 |
Message-Id: | 20110929031943.D3F112004C@flycatcher.gentoo.org |
1 | dirtyepic 11/09/29 03:19:43 |
2 | |
3 | Added: wxsvg-1.1.2-libav.patch |
4 | Log: |
5 | Version bump. Fix build with libav (bug #384281 by DaggyStyle). Remove old. |
6 | |
7 | (Portage version: 2.2.0_alpha59/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.1 media-libs/wxsvg/files/wxsvg-1.1.2-libav.patch |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/wxsvg/files/wxsvg-1.1.2-libav.patch?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/wxsvg/files/wxsvg-1.1.2-libav.patch?rev=1.1&content-type=text/plain |
14 | |
15 | Index: wxsvg-1.1.2-libav.patch |
16 | =================================================================== |
17 | Include mathematics.h for av_rescale(). |
18 | https://bugs.gentoo.org/384281 |
19 | |
20 | --- a/src/mediadec_ffmpeg.cpp |
21 | +++ b/src/mediadec_ffmpeg.cpp |
22 | @@ -29,6 +29,7 @@ extern "C" { |
23 | #include <swscale.h> |
24 | #else |
25 | #include <libavformat/avformat.h> |
26 | +#include <libavutil/mathematics.h> |
27 | #include <libswscale/swscale.h> |
28 | #endif |
29 | } |