summaryrefslogtreecommitdiff
path: root/dev-games/ogre/files/ogre-14.5.2-fix-tests.patch
blob: 4eb74eb8b7bc43829532dbe822bf0a169a639dcc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
https://github.com/OGRECave/ogre/issues/3640
https://github.com/OGRECave/ogre/pull/3642
https://github.com/OGRECave/ogre/commit/526fc2571ec7785822e440656ae841070f5901f5

From 9d5ded11a1b6a7ea078816318fde64645d176e3c Mon Sep 17 00:00:00 2001
From: Pavel Rojtberg <rojtberg@gmail.com>
Date: Sun, 31 May 2026 13:48:23 +0200
Subject: [PATCH] Plugins: DotScene - unregister in uninstall

to match registration
--- a/PlugIns/DotScene/include/OgreDotSceneLoader.h
+++ b/PlugIns/DotScene/include/OgreDotSceneLoader.h
@@ -87,8 +87,8 @@ class _OgreDotScenePluginExport DotScenePlugin : public Plugin
 
     void install() override;
     void initialise() override {}
-    void shutdown() override;
-    void uninstall() override {}
+    void uninstall() override;
+    void shutdown() override {}
 private:
     Codec* mCodec;
 };
--- a/PlugIns/DotScene/src/DotSceneLoader.cpp
+++ b/PlugIns/DotScene/src/DotSceneLoader.cpp
@@ -1143,7 +1143,7 @@ void DotScenePlugin::install()
     Codec::registerCodec(mCodec);
 }
 
-void DotScenePlugin::shutdown() {
+void DotScenePlugin::uninstall() {
     Codec::unregisterCodec(mCodec);
     delete mCodec;
 }