diff options
Diffstat (limited to 'mail/imapproxy/patches/patch-ac')
-rw-r--r-- | mail/imapproxy/patches/patch-ac | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/mail/imapproxy/patches/patch-ac b/mail/imapproxy/patches/patch-ac new file mode 100644 index 00000000000..eed62e00ddc --- /dev/null +++ b/mail/imapproxy/patches/patch-ac @@ -0,0 +1,48 @@ +$NetBSD: patch-ac,v 1.1 2006/08/06 18:55:46 schwarz Exp $ + +--- configfile.c.orig 2006-08-06 19:27:25.000000000 +0200 ++++ configfile.c 2006-08-06 20:41:51.000000000 +0200 +@@ -19,6 +19,7 @@ + */ + + ++#include <sys/types.h> + #include <stdio.h> + #include <string.h> + #include <strings.h> +@@ -95,7 +96,7 @@ + + int check_and_set_log_facility(char *var,char *val) + { +-#ifdef SOLARIS /* Solaris */ ++#if defined(SOLARIS) || defined(__sgi) /* Solaris or IRIX */ + char *values[] = { "LOG_AUTH", "LOG_CRON", "LOG_DAEMON", "LOG_KERN", + "LOG_LOCAL0", "LOG_LOCAL1", "LOG_LOCAL2", "LOG_LOCAL3", "LOG_LOCAL4", + "LOG_LOCAL5", "LOG_LOCAL6", "LOG_LOCAL7", "LOG_LPR", "LOG_MAIL", "LOG_NEWS", +@@ -113,7 +114,7 @@ + LOG_LOCAL0, LOG_LOCAL1, LOG_LOCAL2, LOG_LOCAL3, LOG_LOCAL4, + LOG_LOCAL5, LOG_LOCAL6, LOG_LOCAL7, LOG_LPR, LOG_MAIL, LOG_NEWS, + LOG_SYSLOG, LOG_USER, LOG_UUCP }; +-#endif /* Solaris */ ++#endif /* Solaris or IRIX */ + + int i = 0; + +@@ -482,7 +483,7 @@ + + char *log_facility_to_str(int x) + { +-#ifdef SOLARIS /* Solaris */ ++#if defined(SOLARIS) || defined(__sgi) /* Solaris or IRIX */ + char *values[] = { "LOG_AUTH", "LOG_CRON", "LOG_DAEMON", "LOG_KERN", + "LOG_LOCAL0", "LOG_LOCAL1", "LOG_LOCAL2", "LOG_LOCAL3", "LOG_LOCAL4", + "LOG_LOCAL5", "LOG_LOCAL6", "LOG_LOCAL7", "LOG_LPR", "LOG_MAIL", "LOG_NEWS", +@@ -500,7 +501,7 @@ + LOG_LOCAL0, LOG_LOCAL1, LOG_LOCAL2, LOG_LOCAL3, LOG_LOCAL4, + LOG_LOCAL5, LOG_LOCAL6, LOG_LOCAL7, LOG_LPR, LOG_MAIL, LOG_NEWS, + LOG_SYSLOG, LOG_USER, LOG_UUCP }; +-#endif /* Solaris */ ++#endif /* Solaris or IRIX */ + + int i = 0; + |