[packages/ogre] - add header required for std::stringstream use, rel 2

baggins baggins at pld-linux.org
Sat Mar 12 10:52:17 CET 2022


commit bba9240b42a35f8f82650bf2cab6abf97aae27fc
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sat Mar 12 10:51:27 2022 +0100

    - add header required for std::stringstream use, rel 2

 ogre.spec          |  4 +++-
 stringstream.patch | 10 ++++++++++
 2 files changed, 13 insertions(+), 1 deletion(-)
---
diff --git a/ogre.spec b/ogre.spec
index 6261c49..a72a923 100644
--- a/ogre.spec
+++ b/ogre.spec
@@ -26,7 +26,7 @@ Summary:	Object-oriented Graphics Rendering Engine
 Summary(pl.UTF-8):	OGRE - zorientowany obiektowo silnik renderowania grafiki
 Name:		ogre
 Version:	13.3.1
-Release:	1
+Release:	2
 License:	MIT
 Group:		Applications/Graphics
 Source0:	https://github.com/OGRECave/ogre/archive/v%{version}/%{name}-%{version}.tar.gz
@@ -35,6 +35,7 @@ Source1:	https://github.com/ocornut/imgui/archive/v1.85/imgui-1.85.tar.gz
 # Source1-md5:	bb710a24164a8dd54369bc4282d9d3b9
 Patch0:		%{name}-python.patch
 Patch1:		x32.patch
+Patch2:		stringstream.patch
 URL:		https://www.ogre3d.org/
 %{?with_samples:BuildRequires:	CEGUI-devel}
 BuildRequires:	FreeImage-devel
@@ -120,6 +121,7 @@ Przykłady do OGRE.
 %setup -q -a1
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 
 install -d build
 %{__mv} imgui-1.85 build/
diff --git a/stringstream.patch b/stringstream.patch
new file mode 100644
index 0000000..c66a6c2
--- /dev/null
+++ b/stringstream.patch
@@ -0,0 +1,10 @@
+--- ogre-13.3.1/OgreMain/include/OgrePrerequisites.h~	2022-02-17 13:56:55.000000000 +0100
++++ ogre-13.3.1/OgreMain/include/OgrePrerequisites.h	2022-03-12 10:40:20.699804609 +0100
+@@ -30,6 +30,7 @@
+ #include "OgrePlatform.h"
+ 
+ #include <string>
++#include <sstream>
+ #include <memory>
+ 
+ namespace Ogre {
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ogre.git/commitdiff/bba9240b42a35f8f82650bf2cab6abf97aae27fc



More information about the pld-cvs-commit mailing list