From ee279b31f703fee2840ea122d3fc709d160d8f3b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adri=C3=A1n=20Arroyo=20Calle?= Date: Tue, 23 Dec 2014 19:57:14 +0000 Subject: [PATCH] Fixing a type bug --- .../patches/openscenegraph_x86-3.2.1.patchset | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/games-engines/openscenegraph/patches/openscenegraph_x86-3.2.1.patchset b/games-engines/openscenegraph/patches/openscenegraph_x86-3.2.1.patchset index 6871ef357..593a5cef1 100644 --- a/games-engines/openscenegraph/patches/openscenegraph_x86-3.2.1.patchset +++ b/games-engines/openscenegraph/patches/openscenegraph_x86-3.2.1.patchset @@ -50,3 +50,28 @@ index 3720ea6..6f4c6bc 100644 -- 1.8.3.4 + +From 7fa67738f702dc39b16f2caa05b9301e09209a5b Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Adri=C3=A1n=20Arroyo=20Calle?= + +Date: Tue, 23 Dec 2014 19:56:17 +0000 +Subject: Stupid type-bug + + +diff --git a/src/osgDB/FileUtils.cpp b/src/osgDB/FileUtils.cpp +index 47436d5..060eb29 100644 +--- a/src/osgDB/FileUtils.cpp ++++ b/src/osgDB/FileUtils.cpp +@@ -71,8 +71,7 @@ typedef char TCHAR; + // variable. (MIN_ALLOWED is set low by default so it is + // unhelpful in this case.) + // Unfortunately, we can't use the label MAC_OS_X_VERSION_10_4 +- // for older OS's like Jaguar, Panther +- since they are not defined, ++ // for older OS's like Jaguar, Panther since they are not defined, + // so I am going to hardcode the number. + #if (MAC_OS_X_VERSION_MAX_ALLOWED <= 1040) + #define stat64 stat +-- +1.8.3.4 +