[packages/LCEVCdec] add missing includes
atler
atler at pld-linux.org
Tue Oct 27 00:19:16 CET 2026
commit 4d5121021609e7b1a32af959b16869d99e7b7bb1
Author: Jan Palus <atler at pld-linux.org>
Date: Tue Oct 27 00:07:12 2026 +0100
add missing includes
LCEVCdec.spec | 2 ++
includes.patch | 20 ++++++++++++++++++++
2 files changed, 22 insertions(+)
---
diff --git a/LCEVCdec.spec b/LCEVCdec.spec
index 4b2a417..20ddb66 100644
--- a/LCEVCdec.spec
+++ b/LCEVCdec.spec
@@ -15,6 +15,7 @@ Group: Libraries
#Source0Download: https://github.com/v-novaltd/LCEVCdec/releases
Source0: https://github.com/v-novaltd/LCEVCdec/archive/%{version}/%{name}-%{version}.tar.gz
# Source0-md5: c555fc9a0d2e54fba4d658f5d85b33f8
+Patch0: includes.patch
URL: https://github.com/v-novaltd/LCEVCdec
BuildRequires: CLI11-devel
%if %{with vulkan}
@@ -96,6 +97,7 @@ Dokumentacja API bibliotek dekodera LCEVC.
%prep
%setup -q
+%patch -P0 -p1
# fake for git archive, not checkout
printf RELEASE > .githash
diff --git a/includes.patch b/includes.patch
new file mode 100644
index 0000000..5b293d8
--- /dev/null
+++ b/includes.patch
@@ -0,0 +1,20 @@
+--- LCEVCdec-4.2.0/src/utility/src/string_utils.cpp.orig 2026-06-16 16:38:48.000000000 +0200
++++ LCEVCdec-4.2.0/src/utility/src/string_utils.cpp 2026-10-26 23:59:32.041691038 +0100
+@@ -15,6 +15,7 @@
+ // Several utility functions that any sane string library would provide.
+ //
+ #include <fmt/core.h>
++#include <fmt/format.h>
+ #include <LCEVC/utility/string_utils.h>
+
+ #include <algorithm>
+--- LCEVCdec-4.2.0/src/utility/src/bin_reader.cpp.orig 2026-06-16 16:38:48.000000000 +0200
++++ LCEVCdec-4.2.0/src/utility/src/bin_reader.cpp 2026-10-27 00:01:26.965167887 +0100
+@@ -20,6 +20,7 @@
+ #include <LCEVC/utility/bin_reader.h>
+ #include <LCEVC/utility/byte_order.h>
+
++#include <cstring>
+ #include <fstream>
+ #include <string_view>
+
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/LCEVCdec.git/commitdiff/848221924b077b9444bc772e08a638c10e7830f6
More information about the pld-cvs-commit
mailing list