summaryrefslogtreecommitdiffstats
path: root/debian
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2021-07-23 12:23:15 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2021-07-23 12:23:15 +0900
commit3ae5e8503b233142b3cfce938e94c57baa2277ea (patch)
treecc13c535ab6b82c38a93ac760481a153360a57a5 /debian
parent766688b5179933bc1772c4572efcd884c4d8159f (diff)
downloadextra-dependencies-3ae5e8503b233142b3cfce938e94c57baa2277ea.tar.gz
extra-dependencies-3ae5e8503b233142b3cfce938e94c57baa2277ea.zip
DEB mp4v2: fixed FTBFS with c++11.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'debian')
-rw-r--r--debian/mp4v2/mp4v2-2.0.0~dfsg0/debian/changelog7
-rw-r--r--debian/mp4v2/mp4v2-2.0.0~dfsg0/debian/patches/0006-Fix_FTBFS_with_cxx11.diff23
-rw-r--r--debian/mp4v2/mp4v2-2.0.0~dfsg0/debian/patches/series1
3 files changed, 31 insertions, 0 deletions
diff --git a/debian/mp4v2/mp4v2-2.0.0~dfsg0/debian/changelog b/debian/mp4v2/mp4v2-2.0.0~dfsg0/debian/changelog
index 6192237e..f0385efe 100644
--- a/debian/mp4v2/mp4v2-2.0.0~dfsg0/debian/changelog
+++ b/debian/mp4v2/mp4v2-2.0.0~dfsg0/debian/changelog
@@ -1,3 +1,10 @@
+mp4v2 (2.0.0~dfsg0-5~debian11.0.0+4~a) bullseye; urgency=medium
+
+ * debian/patches/: patchset updated
+ - 0006-Fix_FTBFS_with_cxx11.diff
+
+ -- Michele Calgaro <michele.calgaro@yahoo.it> Fri, 23 Jul 2021 12:20:48 +0900
+
mp4v2 (2.0.0~dfsg0-5~debian11.0.0+3~a) bullseye; urgency=medium
* debian/patches/: patchset updated
diff --git a/debian/mp4v2/mp4v2-2.0.0~dfsg0/debian/patches/0006-Fix_FTBFS_with_cxx11.diff b/debian/mp4v2/mp4v2-2.0.0~dfsg0/debian/patches/0006-Fix_FTBFS_with_cxx11.diff
new file mode 100644
index 00000000..d73b1b85
--- /dev/null
+++ b/debian/mp4v2/mp4v2-2.0.0~dfsg0/debian/patches/0006-Fix_FTBFS_with_cxx11.diff
@@ -0,0 +1,23 @@
+Fixed FTBFS caused by c++11.
+--- a/src/mp4.cpp
++++ b/src/mp4.cpp
+@@ -870,7 +870,7 @@
+ }
+
+ catch (...) {
+- return MP4_INVALID_TRACK_ID;
++ return NULL;
+ }
+ }
+
+--- a/src/mp4util.h
++++ b/src/mp4util.h
+@@ -33,7 +33,7 @@
+ #ifndef ASSERT
+ # define ASSERT(expr) \
+ if (!(expr)) { \
+- throw new Exception("assert failure: "LIBMPV42_STRINGIFY((expr)), __FILE__, __LINE__, __FUNCTION__ ); \
++ throw new Exception("assert failure: " LIBMPV42_STRINGIFY((expr)), __FILE__, __LINE__, __FUNCTION__ ); \
+ }
+ #endif
+
diff --git a/debian/mp4v2/mp4v2-2.0.0~dfsg0/debian/patches/series b/debian/mp4v2/mp4v2-2.0.0~dfsg0/debian/patches/series
index b9231d74..0de0a03c 100644
--- a/debian/mp4v2/mp4v2-2.0.0~dfsg0/debian/patches/series
+++ b/debian/mp4v2/mp4v2-2.0.0~dfsg0/debian/patches/series
@@ -3,3 +3,4 @@
0003-Reproducible_build.patch
0004-Fix_ftbfs_with_gcc7.diff
0005-Fix_FTBFS_narrowing.diff
+0006-Fix_FTBFS_with_cxx11.diff