DEB mp4v2: fixed FTBFS with c++11.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/4/head
Michele Calgaro 3 years ago
parent 766688b517
commit 3ae5e8503b
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -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 mp4v2 (2.0.0~dfsg0-5~debian11.0.0+3~a) bullseye; urgency=medium
* debian/patches/: patchset updated * debian/patches/: patchset updated

@ -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

@ -3,3 +3,4 @@
0003-Reproducible_build.patch 0003-Reproducible_build.patch
0004-Fix_ftbfs_with_gcc7.diff 0004-Fix_ftbfs_with_gcc7.diff
0005-Fix_FTBFS_narrowing.diff 0005-Fix_FTBFS_narrowing.diff
0006-Fix_FTBFS_with_cxx11.diff

Loading…
Cancel
Save