--- CommonConf/common.i386-apple-darwin-g++.in.orig	2008-06-10 21:24:28.000000000 +0200
+++ CommonConf/common.i386-apple-darwin-g++.in	2008-06-11 00:11:01.000000000 +0200
@@ -75,9 +75,9 @@
 
 ### Language #######################################################
 
-LANG_FLAGS          = 
+LANG_FLAGS          = --param max-inline-insns-single=15000 --param inline-unit-growth=1000 --param large-function-growth=20000
 #-frepo  -fno-implicit-templates
-COMPILER    		= 
+COMPILER    		= -ansi  -use_readonly_const -ftemplate-depth-100 -fPIC
 
 ifeq ($(LNK),)
 COMPILER           := $(COMPILER) -fno-common -fPIC 
--- Source/Base/Base/OSGBaseFunctions.inl.orig	2008-06-10 21:24:13.000000000 +0200
+++ Source/Base/Base/OSGBaseFunctions.inl	2008-06-10 21:48:50.000000000 +0200
@@ -1047,10 +1047,13 @@
 #else
 #ifdef __hpux
     return  isfinite(rValue);
+#ifdef __APPLE__
+    return  std::isfinite(rValue);
 #else
     return  finite(rValue);
 #endif
 #endif
+#endif
 }
 
 /*! \}                                                                 */
