File OpenSceneGraph-1.2-gcc47.patch of Package OpenSceneGraph1
diff -Naur OpenSceneGraph-1.2.orig/OpenSceneGraph/include/osg/Array OpenSceneGraph-1.2/OpenSceneGraph/include/osg/Array
--- OpenSceneGraph-1.2.orig/OpenSceneGraph/include/osg/Array 2006-07-18 17:21:24.000000000 +0200
+++ OpenSceneGraph-1.2/OpenSceneGraph/include/osg/Array 2012-05-11 15:25:42.820212404 +0200
@@ -150,7 +150,7 @@
TemplateArray& operator = (const TemplateArray& array)
{
if (this==&array) return *this;
- assign(array.begin(),array.end());
+ this->assign(array.begin(),array.end());
return *this;
}
@@ -234,7 +234,7 @@
TemplateIndexArray& operator = (const TemplateIndexArray& array)
{
if (this==&array) return *this;
- assign(array.begin(),array.end());
+ this->assign(array.begin(),array.end());
return *this;
}
diff -Naur OpenSceneGraph-1.2.orig/OpenSceneGraph/src/osgPlugins/lwo/lwo2parser.h OpenSceneGraph-1.2/OpenSceneGraph/src/osgPlugins/lwo/lwo2parser.h
--- OpenSceneGraph-1.2.orig/OpenSceneGraph/src/osgPlugins/lwo/lwo2parser.h 2004-08-01 10:26:44.000000000 +0200
+++ OpenSceneGraph-1.2/OpenSceneGraph/src/osgPlugins/lwo/lwo2parser.h 2012-05-11 15:50:59.198255070 +0200
@@ -67,7 +67,7 @@
throw parser_error("invalid file format");
}
while (it < end)
- chk->data.push_back(parse_chunk(it, "FORM"));
+ chk->data.push_back(this->parse_chunk(it, "FORM"));
return chk;
}
}