tags 739462 + pending
thanks

Dear maintainer,

I've prepared an NMU for vtk (versioned as 5.8.0-17.1) and uploaded it
to DELAYED/5. Please feel free to tell me if I should delay it longer.

Regards.
diff -Nru vtk-5.8.0/debian/changelog vtk-5.8.0/debian/changelog
--- vtk-5.8.0/debian/changelog	2014-05-10 09:07:27.000000000 -0400
+++ vtk-5.8.0/debian/changelog	2014-05-11 09:33:15.000000000 -0400
@@ -1,3 +1,10 @@
+vtk (5.8.0-17.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Add libav10.patch to allow compilation against libav10 (Closes: #739462)
+
+ -- Reinhard Tartler <siret...@tauware.de>  Sun, 11 May 2014 09:33:01 -0400
+
 vtk (5.8.0-17) unstable; urgency=medium
 
   [ Jordi Mallach ]
diff -Nru vtk-5.8.0/debian/patches/libav10.patch vtk-5.8.0/debian/patches/libav10.patch
--- vtk-5.8.0/debian/patches/libav10.patch	1969-12-31 19:00:00.000000000 -0500
+++ vtk-5.8.0/debian/patches/libav10.patch	2014-05-11 09:32:14.000000000 -0400
@@ -0,0 +1,22 @@
+Index: vtk-5.8.0/IO/vtkFFMPEGWriter.cxx
+===================================================================
+--- vtk-5.8.0.orig/IO/vtkFFMPEGWriter.cxx	2014-02-26 08:26:05.000000000 +0000
++++ vtk-5.8.0/IO/vtkFFMPEGWriter.cxx	2014-02-26 08:38:08.309159872 +0000
+@@ -135,7 +135,7 @@
+     }
+ 
+   //chosen a codec that is easily playable on windows
+-  this->avOutputFormat->video_codec = CODEC_ID_MJPEG;
++  this->avOutputFormat->video_codec = AV_CODEC_ID_MJPEG;
+ 
+   //assign the format to the context
+   this->avFormatContext->oformat = this->avOutputFormat;
+@@ -157,7 +157,7 @@
+   
+   //Set up the codec.
+   AVCodecContext *c = this->avStream->codec;
+-  c->codec_id = (CodecID)this->avOutputFormat->video_codec;
++  c->codec_id = (AVCodecID)this->avOutputFormat->video_codec;
+   c->codec_type = AVMEDIA_TYPE_VIDEO;
+   c->width = this->Dim[0];
+   c->height = this->Dim[1];
diff -Nru vtk-5.8.0/debian/patches/series vtk-5.8.0/debian/patches/series
--- vtk-5.8.0/debian/patches/series	2014-05-09 05:55:26.000000000 -0400
+++ vtk-5.8.0/debian/patches/series	2014-05-11 09:32:29.000000000 -0400
@@ -2,3 +2,4 @@
 libav9.patch
 freetype.patch
 tcl-links.patch
+libav10.patch

Reply via email to