  #   ifdef LINUX
        /* Try the easy approaches first:	*/
        if ((ptr_t)__data_start != 0) {
-Index: eglib/src/glib.h
-===================================================================
---- eglib/src/glib.h	(revision 129288)
-+++ eglib/src/glib.h	(working copy)
-@@ -494,7 +494,9 @@
- 	G_LOG_LEVEL_MASK              = ~(G_LOG_FLAG_RECURSION | G_LOG_FLAG_FATAL)
- } GLogLevelFlags;
- 
--void           g_print                (const gchar *format, ...);
-+//void           g_print                (const gchar *format, ...);
-+#define LOG_TAG "Mono"
-+#define g_print LOGI
- GLogLevelFlags g_log_set_always_fatal (GLogLevelFlags fatal_mask);
- GLogLevelFlags g_log_set_fatal_mask   (const gchar *log_domain, GLogLevelFlags fatal_mask);
- void           g_logv                 (const gchar *log_domain, GLogLevelFlags log_level, const gchar *format, va_list args);
-Index: mono/io-layer/collection.c
-===================================================================
---- mono/io-layer/collection.c	(revision 129288)
-+++ mono/io-layer/collection.c	(working copy)
-@@ -45,12 +45,7 @@
+diff --git a/mono/io-layer/collection.c b/mono/io-layer/collection.c
+index 2da5505..569563a 100644
+--- a/mono/io-layer/collection.c
++++ b/mono/io-layer/collection.c
+@@ -45,12 +45,7 @@ static gpointer collection_thread (gpointer unused G_GNUC_UNUSED)
  
  	pthread_exit (NULL);
  

 static void shm_semaphores_remove (void)
 {
 	int thr_ret;
@@ -564,12 +571,14 @@
 		_wapi_shm_sem_unlock (_WAPI_SHARED_SEM_PROCESS_COUNT_LOCK);
 	}
 }

 static void shm_semaphores_init (void)
 {
 	key_t key;
@@ -518,6 +523,7 @@ again:
 	else
 		munmap (tmp_shared, sizeof(struct _WapiHandleSharedLayout));
 }
