summaryrefslogtreecommitdiff
path: root/chat/quirc/patches
diff options
context:
space:
mode:
authordholland <dholland@pkgsrc.org>2008-08-02 20:36:50 +0000
committerdholland <dholland@pkgsrc.org>2008-08-02 20:36:50 +0000
commit60fd974aa24694dea7f92eae166c930920e2bbcf (patch)
tree66801852e2501fa68bd638525b0a8e5bf9ea1e9e /chat/quirc/patches
parent9d8c5ca5e4084dc954eac6ef4c12f61bd8ee6bc8 (diff)
downloadpkgsrc-60fd974aa24694dea7f92eae166c930920e2bbcf.tar.gz
Fix broken amd64 build
Diffstat (limited to 'chat/quirc/patches')
-rw-r--r--chat/quirc/patches/patch-aa11
1 files changed, 11 insertions, 0 deletions
diff --git a/chat/quirc/patches/patch-aa b/chat/quirc/patches/patch-aa
new file mode 100644
index 00000000000..481e7684234
--- /dev/null
+++ b/chat/quirc/patches/patch-aa
@@ -0,0 +1,11 @@
+$NetBSD: patch-aa,v 1.4 2008/08/02 20:36:50 dholland Exp $
+
+--- format.cc~ 2004-01-12 04:32:01.000000000 -0500
++++ format.cc 2008-08-02 16:35:59.000000000 -0400
+@@ -405,5 +405,5 @@ void fdisplay(char *type, int server, in
+ }
+
+ int fexists(const char *type) {
+- return (int)hash_get(&formats,type);
++ return hash_get(&formats,type) != NULL;
+ }