From 8030898e7e7a5a4f0cff0c5da57a59f4ee3a5637 Mon Sep 17 00:00:00 2001 From: obache Date: Thu, 5 Oct 2006 12:27:40 +0000 Subject: Add missing patch files. --- chat/iroffer/patches/patch-ac | 14 ++++++++++++++ chat/iroffer/patches/patch-ad | 16 ++++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 chat/iroffer/patches/patch-ac create mode 100644 chat/iroffer/patches/patch-ad (limited to 'chat/iroffer') diff --git a/chat/iroffer/patches/patch-ac b/chat/iroffer/patches/patch-ac new file mode 100644 index 00000000000..d7b415b8e82 --- /dev/null +++ b/chat/iroffer/patches/patch-ac @@ -0,0 +1,14 @@ +$NetBSD: patch-ac,v 1.1 2006/10/05 12:27:40 obache Exp $ + +--- src/iroffer_defines.h.orig 2005-12-13 11:54:17.000000000 +0900 ++++ src/iroffer_defines.h +@@ -204,7 +204,8 @@ + defined(_OS_NetBSD) || \ + defined(_OS_BSDI) || \ + defined(_OS_BSD_OS) || \ +- defined(_OS_Darwin) ++ defined(_OS_Darwin) || \ ++ defined(_OS_DragonFly) + #define _OS_BSD_ANY + + /* sunos */ 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"); + -- cgit v1.2.3