From: Jakub Bogusz Date: Sat, 4 Jul 2020 20:02:16 +0000 (+0200) Subject: - added int-overflow (don't use arbitrary option values overflowing used signed type) X-Git-Tag: auto/th/mp4v2-3.0.4.0-2 X-Git-Url: http://git.pld-linux.org/gitweb.cgi?a=commitdiff_plain;h=b439c3e5b2096b97b347d3634ed8845fe8c2fc08;p=packages%2Fmp4v2.git - added int-overflow (don't use arbitrary option values overflowing used signed type) - release 2 --- diff --git a/mp4v2-int-overflow.patch b/mp4v2-int-overflow.patch new file mode 100644 index 0000000..fdc4507 --- /dev/null +++ b/mp4v2-int-overflow.patch @@ -0,0 +1,11 @@ +--- mp4v2-Release-MP4v2-3.0.4.0/libutil/Utility.h.orig 2019-04-08 15:28:47.000000000 +0200 ++++ mp4v2-Release-MP4v2-3.0.4.0/libutil/Utility.h 2020-07-04 21:51:51.847120315 +0200 +@@ -52,7 +52,7 @@ + { + protected: + enum LongCode { +- LC_NONE = 0xf0000000, // safe (cannot conflict with char values) ++ LC_NONE = 0xf000000, // safe (cannot conflict with char values) + LC_DEBUG, + LC_VERBOSE, + LC_HELP, diff --git a/mp4v2.spec b/mp4v2.spec index d1b17b7..486cb42 100644 --- a/mp4v2.spec +++ b/mp4v2.spec @@ -2,7 +2,7 @@ Summary: MP4v2 library provides API for creation and modification of MP4 files Summary(pl.UTF-8): Biblioteka MP4v2 - API do tworzenia i modyfikowania plików MP4 Name: mp4v2 Version: 3.0.4.0 -Release: 1 +Release: 2 License: MPL v1.1 Group: Applications/Multimedia #Source0Download: https://github.com/TechSmith/mp4v2/releases @@ -11,6 +11,7 @@ Source0: https://github.com/TechSmith/mp4v2/archive/Release-MP4v2-%{version}/%{n Patch0: %{name}-export.patch Patch1: %{name}-doc.patch Patch2: %{name}-nul.patch +Patch3: %{name}-int-overflow.patch URL: https://github.com/TechSmith/mp4v2 BuildRequires: help2man BuildRequires: libstdc++-devel @@ -78,6 +79,7 @@ Ten pakiet zawiera statyczną wersję biblioteki MP4v2. %patch0 -p1 %patch1 -p1 %patch2 -p1 +%patch3 -p1 # "txt" build fails without this directory mkdir -p doc/articles/txt