]> git.pld-linux.org Git - packages/transcode.git/commitdiff
- added libpostproc52.patch
authorSzymon Siwek <sls@pld-linux.org>
Mon, 30 Apr 2012 11:16:40 +0000 (11:16 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    libpostproc52.patch -> 1.1
    transcode.spec -> 1.133

libpostproc52.patch [new file with mode: 0644]
transcode.spec

diff --git a/libpostproc52.patch b/libpostproc52.patch
new file mode 100644 (file)
index 0000000..f9d09ba
--- /dev/null
@@ -0,0 +1,16 @@
+--- transcode-1.1.5/filter/filter_pp.c.orig    2012-04-30 12:17:34.732045838 +0200
++++ transcode-1.1.5/filter/filter_pp.c 2012-04-30 12:23:21.942284917 +0200
+@@ -38,8 +38,13 @@
+ /* FIXME: these use the filter ID as an index--the ID can grow
+  * arbitrarily large, so this needs to be fixed */
++#if LIBPOSTPROC_VERSION_INT < (52<<16)
+ static pp_mode_t *mode[100];
+ static pp_context_t *context[100];
++#else
++static pp_mode *mode[100];
++static pp_context *context[100];
++#endif
+ static int width[100], height[100];
+ static int pre[100];
index f01ace82dfc99ca3822d57bc513a650a23fbed2b..4a75890d192430c4f84d9bc66b90854ec3dd82b8 100644 (file)
@@ -37,6 +37,7 @@ Patch0:               %{name}-libx86_64.patch
 Patch1:                %{name}-ImageMagick.patch
 Patch2:                %{name}-mpa.patch
 Patch3:                %{name}-ffmpeg.patch
+Patch4:                libpostproc52.patch
 URL:           http://tcforge.berlios.de/
 %{?with_im:BuildRequires:      ImageMagick-devel >= 6.4.1-2}
 %{?with_sdl:BuildRequires:     SDL-devel >= 1.1.6}
@@ -137,6 +138,7 @@ Filtry transcode.
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
+%patch4 -p1
 
 %build
 %{__libtoolize}
This page took 0.115887 seconds and 4 git commands to generate.