File OpenSceneGraph-1.2-missing-sentinel.patch of Package OpenSceneGraph1
Index: OpenSceneGraph-1.2/Producer/src/ConfigParser.cpp
===================================================================
--- OpenSceneGraph-1.2.orig/Producer/src/ConfigParser.cpp
+++ OpenSceneGraph-1.2/Producer/src/ConfigParser.cpp
@@ -2266,7 +2266,7 @@ bool CameraConfig::parseFile( const std:
execlp( cpp_path, "cpp", "-P", 0L );
else
*/
- execlp( cpp_path, "cpp", "-P", fileName.c_str(), 0L );
+ execlp( cpp_path, "cpp", "-P", fileName.c_str(), NULL );
// This should not execute unless an error happens
perror( "execlp" );