? macosxtiger_intel.patch
Index: include/sys.h
===================================================================
RCS file: /home/cmunk/ircsystems/cvsroot/unreal/include/sys.h,v
retrieving revision 1.1.1.1.6.1.2.30
diff -u -r1.1.1.1.6.1.2.30 sys.h
--- include/sys.h	17 Jun 2007 22:38:55 -0000	1.1.1.1.6.1.2.30
+++ include/sys.h	5 Aug 2007 03:13:30 -0000
@@ -132,6 +132,13 @@
 #define dn_skipname  __dn_skipname
 #endif
 
+/*
+ * Mac OS X Tiger Support (Intel Only)
+ */
+#if defined(macosx) || defined(__APPLE__) && defined(__MACH__)
+#define OSXTIGER
+#endif
+
 #ifndef _WIN32
 extern VOIDSIG dummy();
 #endif
Index: src/ircd.c
===================================================================
RCS file: /home/cmunk/ircsystems/cvsroot/unreal/src/ircd.c,v
retrieving revision 1.1.1.1.6.1.2.219
diff -u -r1.1.1.1.6.1.2.219 ircd.c
--- src/ircd.c	20 Jun 2007 00:35:07 -0000	1.1.1.1.6.1.2.219
+++ src/ircd.c	5 Aug 2007 03:13:31 -0000
@@ -1500,7 +1500,7 @@
 	DeleteTempModules();
 	booted = FALSE;
 /* Hack to stop people from being able to read the config file */
-#if !defined(_WIN32) && !defined(_AMIGA) && DEFAULT_PERMISSIONS != 0
+#if !defined(_WIN32) && !defined(_AMIGA) && !defined(OSXTIGER) && DEFAULT_PERMISSIONS != 0
 	chmod(CPATH, DEFAULT_PERMISSIONS);
 #endif
 	init_dynconf();
Index: src/s_conf.c
===================================================================
RCS file: /home/cmunk/ircsystems/cvsroot/unreal/src/s_conf.c,v
retrieving revision 1.1.1.1.6.1.2.392
diff -u -r1.1.1.1.6.1.2.392 s_conf.c
--- src/s_conf.c	27 Jun 2007 11:30:08 -0000	1.1.1.1.6.1.2.392
+++ src/s_conf.c	5 Aug 2007 03:13:36 -0000
@@ -2684,7 +2684,7 @@
 	if (url_is_valid(ce->ce_vardata))
 		return remote_include(ce);
 #endif
-#if !defined(_WIN32) && !defined(_AMIGA) && DEFAULT_PERMISSIONS != 0
+#if !defined(_WIN32) && !defined(_AMIGA) && !defined(OSXTIGER) && DEFAULT_PERMISSIONS != 0
 	chmod(ce->ce_vardata, DEFAULT_PERMISSIONS);
 #endif
 #ifdef GLOBH
