tags 482223 patch

Well this package got RMed before I was able to patch, but I'm sending a
patch anyway in case someone wants to pick this package back up.

Below is a dpatch which can be dropped into debian/patches and
debian/patches/00-list which gets libinstrudeo building again.  I didn't
bother to test the resulting binaries.

thanks,
stew
#! /bin/sh /usr/share/dpatch/dpatch-run
## 04-fix-482223.dpatch by  <[EMAIL PROTECTED]>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: fix for http://bugs.debian.org/482223

@DPATCH@
diff -urNad libinstrudeo-0.1.4~/src/libinstrudeo/isdffmpegexporter.cpp 
libinstrudeo-0.1.4/src/libinstrudeo/isdffmpegexporter.cpp
--- libinstrudeo-0.1.4~/src/libinstrudeo/isdffmpegexporter.cpp  2008-06-07 
10:54:10.000000000 -0400
+++ libinstrudeo-0.1.4/src/libinstrudeo/isdffmpegexporter.cpp   2008-06-07 
10:54:11.000000000 -0400
@@ -202,7 +202,7 @@
             av_freep(&outputContext->streams[i]);
        }
        //close file
-        url_fclose (&outputContext->pb);
+        url_fclose (outputContext->pb);
        
        //free format context
         av_free (outputContext);
diff -urNad libinstrudeo-0.1.4~/src/libinstrudeo/isdffmpegexporter.h 
libinstrudeo-0.1.4/src/libinstrudeo/isdffmpegexporter.h
--- libinstrudeo-0.1.4~/src/libinstrudeo/isdffmpegexporter.h    2007-01-10 
07:31:39.000000000 -0500
+++ libinstrudeo-0.1.4/src/libinstrudeo/isdffmpegexporter.h     2008-06-07 
10:55:21.000000000 -0400
@@ -47,8 +47,10 @@
 
 #include <libinstrudeo/isdexporter.h>
 
-#include <ffmpeg/avcodec.h>
-#include <ffmpeg/avformat.h>
+extern "C" {
+    #include <ffmpeg/avcodec.h>
+    #include <ffmpeg/avformat.h>
+}
 
 using namespace std;
 

Attachment: signature.asc
Description: Digital signature

Reply via email to