openbsd-ports/x11/ogre/patches/patch-OgreMain_include_OgreStringConverter_h
pascal 96d6effffe OGRE (Object-Oriented Graphics Rendering Engine) is a scene-oriented,
flexible 3D engine written in C++ designed to make it easier and
more intuitive for developers to produce applications utilising
hardware-accelerated 3D graphics. The class library abstracts all
the details of using the underlying system libraries like Direct3D
and OpenGL and provides an interface based on world objects and
other intuitive classes.

lots of feedback & macppc testing mpi@, also tested by kirby@ and Antti Harri.

ok kirby@
2012-03-18 14:31:00 +00:00

13 lines
874 B
Plaintext

$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 = ' ',