[packages/OpenCOLLADA] Rel 3; fix build

arekm arekm at pld-linux.org
Sat Aug 2 00:22:24 CEST 2025


commit 5d234224ce929ee43a9455122806d846f8902fc7
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Sat Aug 2 00:22:19 2025 +0200

    Rel 3; fix build

 OpenCOLLADA.spec |  4 +++-
 build.patch      | 20 ++++++++++++++++++++
 2 files changed, 23 insertions(+), 1 deletion(-)
---
diff --git a/OpenCOLLADA.spec b/OpenCOLLADA.spec
index 565620f..2143863 100644
--- a/OpenCOLLADA.spec
+++ b/OpenCOLLADA.spec
@@ -7,7 +7,7 @@ Summary:	3DS Max / Maya scenes exporter to COLLADA format
 Summary(pl.UTF-8):	Biblioteki do eksportu scen 3DS Max / Maya do formatu COLLADA
 Name:		OpenCOLLADA
 Version:	1.6.68
-Release:	2
+Release:	3
 License:	MIT
 Group:		Libraries
 #Source0Download: https://github.com/KhronosGroup/OpenCOLLADA/releases
@@ -16,6 +16,7 @@ Source0:	https://github.com/KhronosGroup/OpenCOLLADA/archive/v%{version}/%{name}
 Patch0:		%{name}-pcre.patch
 Patch1:		%{name}-system-zlib.patch
 Patch2:		%{name}-install-paths.patch
+Patch3:		build.patch
 URL:		http://www.opencollada.org/
 BuildRequires:	cmake >= 2.6
 BuildRequires:	libstdc++-devel >= 6:4.7
@@ -63,6 +64,7 @@ Statyczne biblioteki OpenCOLLADA.
 %patch -P0 -p1
 %patch -P1 -p1
 %patch -P2 -p1
+%patch -P3 -p1
 
 %build
 install -d build
diff --git a/build.patch b/build.patch
new file mode 100644
index 0000000..d88f457
--- /dev/null
+++ b/build.patch
@@ -0,0 +1,20 @@
+--- OpenCOLLADA-1.6.68/DAEValidator/library/src/DaeValidator.cpp~	2018-11-26 23:43:10.000000000 +0100
++++ OpenCOLLADA-1.6.68/DAEValidator/library/src/DaeValidator.cpp	2025-08-02 00:13:28.938888771 +0200
+@@ -4,6 +4,7 @@
+ #include "Strings.h"
+ #include "StringUtil.h"
+ #include <cmath>
++#include <cstdint>
+ #include "no_warning_iomanip"
+ #include "no_warning_iostream"
+ #include <set>
+--- OpenCOLLADA-1.6.68/DAEValidator/library/src/XmlDoc.cpp~	2018-11-26 23:43:10.000000000 +0100
++++ OpenCOLLADA-1.6.68/DAEValidator/library/src/XmlDoc.cpp	2025-08-02 00:14:32.412609652 +0200
+@@ -3,6 +3,7 @@
+ #if IS_GNUC_AND_GNUC_VERSION_LT(5,1,1)
+ #include <cstring>
+ #endif
++#include <cstdint>
+ 
+ #include "XmlDoc.h"
+ #include "XmlNode.h"
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/OpenCOLLADA.git/commitdiff/5d234224ce929ee43a9455122806d846f8902fc7



More information about the pld-cvs-commit mailing list