summaryrefslogtreecommitdiff
path: root/chat/iroffer/patches/patch-ad
diff options
context:
space:
mode:
Diffstat (limited to 'chat/iroffer/patches/patch-ad')
-rw-r--r--chat/iroffer/patches/patch-ad16
1 files changed, 16 insertions, 0 deletions
diff --git a/chat/iroffer/patches/patch-ad b/chat/iroffer/patches/patch-ad
new file mode 100644
index 00000000000..51a36fdddab
--- /dev/null
+++ b/chat/iroffer/patches/patch-ad
@@ -0,0 +1,16 @@
+$NetBSD: patch-ad,v 1.1 2006/10/05 12:27:40 obache Exp $
+
+--- src/iroffer_utilities.c.orig 2005-12-13 11:54:17.000000000 +0900
++++ src/iroffer_utilities.c
+@@ -197,8 +197,9 @@ void getos (void) {
+ defined(_OS_OpenBSD) || \
+ defined(_OS_NetBSD) || \
+ defined(_OS_BSDI) || \
+- defined(_OS_BSD_OS)
+- if (strcmp(u1.sysname,"FreeBSD") && strcmp(u1.sysname,"OpenBSD") && strcmp(u1.sysname,"BSD/OS") && strcmp(u1.sysname,"NetBSD"))
++ defined(_OS_BSD_OS) || \
++ defined(_OS_DragonFly)
++ if (strcmp(u1.sysname,"FreeBSD") && strcmp(u1.sysname,"OpenBSD") && strcmp(u1.sysname,"BSD/OS") && strcmp(u1.sysname,"NetBSD") && strcmp(u1.sysname,"DragonFly"))
+ outerror(OUTERROR_TYPE_WARN_LOUD,"Configured for *BSD but not running *BSD?!?");
+ printf(", Good\n");
+