summaryrefslogtreecommitdiff
path: root/chat/ircII/patches/patch-ab
diff options
context:
space:
mode:
authorjtb <jtb@pkgsrc.org>2001-06-20 05:46:39 +0000
committerjtb <jtb@pkgsrc.org>2001-06-20 05:46:39 +0000
commit1489b1601a503924c3447ee7f267446c55497872 (patch)
treee903aefe4ec1d1218cee79f931c7581ca74db117 /chat/ircII/patches/patch-ab
parentc975c1f99eab0e181c11b5f8f5a507d62f3a673d (diff)
downloadpkgsrc-1489b1601a503924c3447ee7f267446c55497872.tar.gz
Add a patch from Rafal Boni <rafal@mediaone.net> to fix build on
mips platforms. PR pkg/13192.
Diffstat (limited to 'chat/ircII/patches/patch-ab')
-rw-r--r--chat/ircII/patches/patch-ab15
1 files changed, 15 insertions, 0 deletions
diff --git a/chat/ircII/patches/patch-ab b/chat/ircII/patches/patch-ab
new file mode 100644
index 00000000000..272486e635d
--- /dev/null
+++ b/chat/ircII/patches/patch-ab
@@ -0,0 +1,15 @@
+$NetBSD: patch-ab,v 1.3 2001/06/20 05:46:39 jtb Exp $
+
+--- include/ircterm.h.orig Wed Jun 13 15:36:59 2001
++++ include/ircterm.h Wed Jun 13 15:37:49 2001
+@@ -238,8 +238,8 @@
+
+ #endif /* _HPUX_SOURCE */
+
+-/* well, it works */
+-#ifdef mips
++/* cough, cough... This doesn't work (since c is often a char constant) */
++#if defined(mips) && !defined(__NetBSD__)
+ # define fputc(c,f) write(1,&(c),1)
+ # define fwrite(buffer,len,cnt,f) write(1,buffer,len)
+ #endif /*mips*/