summaryrefslogtreecommitdiff
path: root/community-testing/synfig/build-fix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community-testing/synfig/build-fix.patch')
-rw-r--r--community-testing/synfig/build-fix.patch31
1 files changed, 0 insertions, 31 deletions
diff --git a/community-testing/synfig/build-fix.patch b/community-testing/synfig/build-fix.patch
deleted file mode 100644
index be45fdc68..000000000
--- a/community-testing/synfig/build-fix.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-diff -wbBur synfig-core/src/modules/mod_libavcodec/trgt_av.cpp synfig-core.my/src/modules/mod_libavcodec/trgt_av.cpp
---- synfig-core/src/modules/mod_libavcodec/trgt_av.cpp 2011-06-05 13:04:07.000000000 +0400
-+++ synfig-core.my/src/modules/mod_libavcodec/trgt_av.cpp 2011-06-14 14:32:49.000000000 +0400
-@@ -31,6 +31,10 @@
- # include <config.h>
- #endif
-
-+#include <libavcodec/avcodec.h>
-+#include <libavformat/avformat.h>
-+#include <libswscale/swscale.h>
-+
- #include "trgt_av.h"
-
- extern "C"
-@@ -116,14 +120,14 @@
- picture = avcodec_alloc_frame();
- if (!picture)
- return NULL;
-- size = avpicture_get_size(pix_fmt, width, height);
-+ size = avpicture_get_size((enum ::PixelFormat)pix_fmt, width, height);
- picture_buf = (uint8_t *)malloc(size);
- if (!picture_buf) {
- av_free(picture);
- return NULL;
- }
- avpicture_fill((AVPicture *)picture, picture_buf,
-- pix_fmt, width, height);
-+ (enum ::PixelFormat)pix_fmt, width, height);
- return picture;
- }
-