Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 574782 Details for
Bug 665804
dev-games/mygui-3.2.2 : /.../MyGUI_OgreDataStream.h:13:10: fatal error: OgreDataStream.h: No such file or directory
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
mygui-3.2.2-ogre-1.10-compat.patch
file_665804.txt (text/plain), 4.76 KB, created by
Quentin Minster
on 2019-04-30 10:58:43 UTC
(
hide
)
Description:
mygui-3.2.2-ogre-1.10-compat.patch
Filename:
MIME Type:
Creator:
Quentin Minster
Created:
2019-04-30 10:58:43 UTC
Size:
4.76 KB
patch
obsolete
>diff --git a/CMake/Packages/FindOGRE_Old.cmake b/CMake/Packages/FindOGRE_Old.cmake >index 09b79e3..321b0df 100644 >--- a/CMake/Packages/FindOGRE_Old.cmake >+++ b/CMake/Packages/FindOGRE_Old.cmake >@@ -54,11 +54,11 @@ if (NOT OGRE_FOUND) > FIND_PACKAGE(Boost) > > if (Boost_FOUND) >- set (OGRE_INCLUDE_DIR ${OGRE_INCLUDE_DIR} ${Boost_INCLUDE_DIR}) >+ set (OGRE_INCLUDE_DIR ${OGRE_INCLUDE_DIR} ${OGRE_INCLUDE_DIRS} ${Boost_INCLUDE_DIR}) > set (OGRE_LIB_DIR ${OGRE_LIB_DIR} ${Boost_LIBRARY_DIRS} ${BOOST_LIBRARYDIR}) > else() > # trying to get boost from OGRE_SOURCE_DIR >- set (OGRE_INCLUDE_DIR ${OGRE_INCLUDE_DIR} ${OGRE_SOURCE_DIR}/boost) >+ set (OGRE_INCLUDE_DIR ${OGRE_INCLUDE_DIR} ${OGRE_INCLUDE_DIRS} ${OGRE_SOURCE_DIR}/boost) > set (OGRE_LIB_DIR ${OGRE_LIB_DIR} ${OGRE_SOURCE_DIR}/boost/lib) > endif() > >diff --git a/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreDataManager.cpp b/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreDataManager.cpp >index 0b05cdf..467df78 100644 >--- a/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreDataManager.cpp >+++ b/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreDataManager.cpp >@@ -106,7 +106,7 @@ namespace MyGUI > if (!pFileInfo->empty()) > pFileInfos.push_back(pFileInfo); > else >- pFileInfo.setNull(); >+ pFileInfo.reset(); > } > > result.reserve(resultSize); >@@ -134,7 +134,7 @@ namespace MyGUI > } > } > >- pFileInfo.setNull(); >+ pFileInfo.reset(); > } > > return result; >diff --git a/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreDataStream.cpp b/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreDataStream.cpp >index 82ec1ac..61b001b 100644 >--- a/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreDataStream.cpp >+++ b/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreDataStream.cpp >@@ -16,22 +16,22 @@ namespace MyGUI > > OgreDataStream::~OgreDataStream() > { >- mStream.setNull(); >+ mStream.reset(); > } > > bool OgreDataStream::eof() > { >- return mStream.isNull() ? true : mStream->eof(); >+ return mStream ? true : mStream->eof(); > } > > size_t OgreDataStream::size() > { >- return mStream.isNull() ? 0 : mStream->size(); >+ return mStream ? 0 : mStream->size(); > } > > void OgreDataStream::readline(std::string& _source, Char _delim) > { >- if (mStream.isNull()) >+ if (mStream) > { > _source.clear(); > return; >@@ -41,7 +41,7 @@ namespace MyGUI > > size_t OgreDataStream::read(void* _buf, size_t _count) > { >- if (mStream.isNull()) return 0; >+ if (mStream) return 0; > return mStream->read(_buf, _count); > } > >diff --git a/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreRenderManager.cpp b/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreRenderManager.cpp >index 2948ab4..07ec897 100644 >--- a/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreRenderManager.cpp >+++ b/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreRenderManager.cpp >@@ -293,7 +293,7 @@ namespace MyGUI > { > OgreTexture* texture = static_cast<OgreTexture*>(_texture); > Ogre::TexturePtr texture_ptr = texture->getOgreTexture(); >- if (!texture_ptr.isNull()) >+ if (!texture_ptr) > { > mRenderSystem->_setTexture(0, true, texture_ptr); > mRenderSystem->_setTextureUnitFiltering(0, Ogre::FO_LINEAR, Ogre::FO_LINEAR, Ogre::FO_NONE); >@@ -387,7 +387,7 @@ namespace MyGUI > if (item == mTextures.end()) > { > Ogre::TexturePtr texture = (Ogre::TexturePtr)Ogre::TextureManager::getSingleton().getByName(_name); >- if (!texture.isNull()) >+ if (!texture) > { > ITexture* result = createTexture(_name); > static_cast<OgreTexture*>(result)->setOgreTexture(texture); >diff --git a/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreTexture.cpp b/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreTexture.cpp >index 45ec397..c487233 100644 >--- a/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreTexture.cpp >+++ b/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreTexture.cpp >@@ -69,10 +69,10 @@ namespace MyGUI > mRenderTarget = nullptr; > } > >- if (!mTexture.isNull()) >+ if (!mTexture) > { > Ogre::TextureManager::getSingleton().remove(mTexture->getName()); >- mTexture.setNull(); >+ mTexture.reset(); > } > } > >@@ -254,7 +254,7 @@ namespace MyGUI > mPixelFormat = Ogre::PF_UNKNOWN; > mNumElemBytes = 0; > >- if (!mTexture.isNull()) >+ if (!mTexture) > { > mPixelFormat = mTexture->getFormat(); > >diff --git a/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreVertexBuffer.cpp b/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreVertexBuffer.cpp >index 9079176..6ea50ec 100644 >--- a/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreVertexBuffer.cpp >+++ b/Platforms/Ogre/OgrePlatform/src/MyGUI_OgreVertexBuffer.cpp >@@ -57,7 +57,7 @@ namespace MyGUI > { > delete mRenderOperation.vertexData; > mRenderOperation.vertexData = 0; >- mVertexBuffer.setNull(); >+ mVertexBuffer.reset(); > } > > void OgreVertexBuffer::resizeVertexBuffer()
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 665804
:
546740
|
546742
|
546744
|
546746
|
546748
|
546750
|
546752
|
556428
| 574782