openbsd-ports/x11/ogre/patches/patch-OgreMain_include_OgreStringConverter_h

13 lines
874 B
Plaintext
Raw Normal View History

$OpenBSD: patch-OgreMain_include_OgreStringConverter_h,v 1.1.1.1 2012/03/18 14:31:00 pascal Exp $
--- OgreMain/include/OgreStringConverter.h.orig Sat Mar 17 18:11:31 2012
+++ OgreMain/include/OgreStringConverter.h Sat Mar 17 18:11:51 2012
@@ -91,7 +91,7 @@ namespace Ogre {
static String toString(int val, unsigned short width = 0,
char fill = ' ',
std::ios::fmtflags flags = std::ios::fmtflags(0) );
-#if OGRE_ARCH_TYPE == OGRE_ARCHITECTURE_64 || OGRE_PLATFORM == OGRE_PLATFORM_APPLE || OGRE_PLATFORM == OGRE_PLATFORM_IPHONE
+#if OGRE_ARCH_TYPE == OGRE_ARCHITECTURE_64 || OGRE_PLATFORM == OGRE_PLATFORM_APPLE || OGRE_PLATFORM == OGRE_PLATFORM_IPHONE || defined(__OpenBSD__)
/** Converts an unsigned int to a String. */
static String toString(unsigned int val,
unsigned short width = 0, char fill = ' ',