openmw: move to MODCLANG_VERSION = 22

ok pascal
This commit is contained in:
tb
2026-06-09 03:25:29 +00:00
parent 3364bbbe90
commit d7381bbd73
2 changed files with 16 additions and 2 deletions
+2 -2
View File
@@ -5,7 +5,7 @@ ONLY_FOR_ARCHS = amd64 i386
COMMENT = open source implementation of TES III: Morrowind
V = 0.50.0
REVISION = 1
REVISION = 2
GH_ACCOUNT = OpenMW
GH_PROJECT = openmw
GH_TAGNAME = openmw-$V
@@ -34,7 +34,7 @@ WANTLIB += osgShadow osgSim osgText osgUtil osgViewer sqlite3
WANTLIB += swresample swscale unshield yaml-cpp z
MODULES = devel/cmake lang/lua x11/qt6 lang/clang
MODCLANG_VERSION = 19
MODCLANG_VERSION = 22
COMPILER = ports-clang
MODCMAKE_POLICY_VERSION_OVERRIDE= Yes
@@ -0,0 +1,14 @@
https://gitlab.com/OpenMW/openmw/-/commit/307a131ca09f705b97f15ede1f702630cca6b396
Index: components/sceneutil/texturetype.hpp
--- components/sceneutil/texturetype.hpp.orig
+++ components/sceneutil/texturetype.hpp
@@ -18,7 +18,7 @@ namespace SceneUtil
{
}
- static const osg::StateAttribute::Type AttributeType = static_cast<osg::StateAttribute::Type>(69420);
+ static const osg::StateAttribute::Type AttributeType = static_cast<osg::StateAttribute::Type>(69);
META_StateAttribute(SceneUtil, TextureType, AttributeType)
bool isTextureAttribute() const override { return true; }