summaryrefslogtreecommitdiff
path: root/chat/iroffer
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2006-10-05 12:27:40 +0000
committerobache <obache@pkgsrc.org>2006-10-05 12:27:40 +0000
commit8030898e7e7a5a4f0cff0c5da57a59f4ee3a5637 (patch)
tree86c14a35ac493f924df385283b052d580d05cab1 /chat/iroffer
parent0e60547a680da8a478063f3d629ab7bcbd31379b (diff)
downloadpkgsrc-8030898e7e7a5a4f0cff0c5da57a59f4ee3a5637.tar.gz
Add missing patch files.
Diffstat (limited to 'chat/iroffer')
-rw-r--r--chat/iroffer/patches/patch-ac14
-rw-r--r--chat/iroffer/patches/patch-ad16
2 files changed, 30 insertions, 0 deletions
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");
+