[packages/draco] - patch to add missing include

qboosh qboosh at pld-linux.org
Sat Apr 27 22:24:01 CEST 2024


commit 097cb751fa6e25194df206adb9f028a9289145f5
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat Apr 27 22:18:33 2024 +0200

    - patch to add missing include

 draco-includes.patch | 10 ++++++++++
 draco.spec           |  2 ++
 2 files changed, 12 insertions(+)
---
diff --git a/draco.spec b/draco.spec
index 6d6cb37..87a2cc0 100644
--- a/draco.spec
+++ b/draco.spec
@@ -15,6 +15,7 @@ Source0:	https://github.com/google/draco/archive/%{version}/%{name}-%{version}.t
 Patch0:		%{name}-system-gtest.patch
 Patch1:		%{name}-c++17-filesystem.patch
 Patch2:		%{name}-tinygltf.patch
+Patch3:		%{name}-includes.patch
 URL:		https://github.com/google/draco
 BuildRequires:	cmake >= 3.12
 BuildRequires:	gtest-devel
@@ -91,6 +92,7 @@ Statyczna biblioteka draco.
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
+%patch3 -p1
 
 %build
 install -d build
diff --git a/draco-includes.patch b/draco-includes.patch
new file mode 100644
index 0000000..245eaaf
--- /dev/null
+++ b/draco-includes.patch
@@ -0,0 +1,10 @@
+--- draco-1.5.7/src/draco/io/gltf_utils.h.orig	2024-01-17 21:42:36.000000000 +0100
++++ draco-1.5.7/src/draco/io/gltf_utils.h	2024-04-27 22:08:33.242701146 +0200
+@@ -18,6 +18,7 @@
+ #include "draco/draco_features.h"
+ 
+ #ifdef DRACO_TRANSCODER_SUPPORTED
++#include <cstdint>
+ #include <iomanip>
+ #include <sstream>
+ #include <string>
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/draco.git/commitdiff/097cb751fa6e25194df206adb9f028a9289145f5



More information about the pld-cvs-commit mailing list