summaryrefslogtreecommitdiff
path: root/chat/ircII
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
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')
-rw-r--r--chat/ircII/distinfo3
-rw-r--r--chat/ircII/patches/patch-ab15
2 files changed, 17 insertions, 1 deletions
diff --git a/chat/ircII/distinfo b/chat/ircII/distinfo
index c7915eb2761..9ac3dd6e7b5 100644
--- a/chat/ircII/distinfo
+++ b/chat/ircII/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.2 2001/04/18 11:07:17 agc Exp $
+$NetBSD: distinfo,v 1.3 2001/06/20 05:46:39 jtb Exp $
SHA1 (ircii-20001231.tar.bz2) = a156ef76edfb5e9797d5e98a310fe53ec89211af
Size (ircii-20001231.tar.bz2) = 513659 bytes
SHA1 (patch-aa) = 3bd1f330a21fd80d19394c5f2d96bf5ae1aff594
+SHA1 (patch-ab) = 263d34d9f5af092a170a762f5337007d9a2cca37
SHA1 (patch-ac) = 0afd36f3ad2247b0d42dfebab210822dd5dfe151
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*/