[SCM] mjpegtools/master: add patch to fix ftbfs against gcc 4.7

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Sep 2 09:48:13 UTC 2012


The following commit has been merged in the master branch:
commit dcb587ac5c9faa538964776310ee269ac68dd780
Author: Reinhard Tartler <siretart at tauware.de>
Date:   Sun Sep 2 10:28:32 2012 +0200

    add patch to fix ftbfs against gcc 4.7
    
    new compiler got more strict

diff --git a/debian/patches/11_fix_ftbfs_gcc4.7.patch b/debian/patches/11_fix_ftbfs_gcc4.7.patch
new file mode 100644
index 0000000..ea4ffb4
--- /dev/null
+++ b/debian/patches/11_fix_ftbfs_gcc4.7.patch
@@ -0,0 +1,15 @@
+From: Reinhard Tartler <siretart at tauware.de>
+Subject: Allow compilation with GCC 4.7
+Forwarded-upstream: no
+
+--- a/y4mdenoise/MotionSearcher.hh
++++ b/y4mdenoise/MotionSearcher.hh
+@@ -2196,7 +2196,7 @@ MotionSearcher<PIXEL_NUM,DIM,PIXEL_TOL,P
+ 	{
+ 		// This region is too small to be bothered with.
+ 		// Just get rid of it.
+-		DeleteRegion (a_pRegion);
++		this->DeleteRegion (a_pRegion);
+ 	}
+ 	else
+ 	{
diff --git a/debian/patches/series b/debian/patches/series
index 66c1e8a..4867918 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -8,3 +8,4 @@
 08_use_bash.patch
 09_script_path.patch
 10_usr_local.patch
+11_fix_ftbfs_gcc4.7.patch

-- 
mjpegtools packaging



More information about the pkg-multimedia-commits mailing list