diff options
author | heas <heas> | 2004-06-27 00:35:04 +0000 |
---|---|---|
committer | heas <heas> | 2004-06-27 00:35:04 +0000 |
commit | 3280bf333f039f2bec8ff7fdd8140f64e8f97642 (patch) | |
tree | fd03376b1b61853d083e8f21ef29da11f32add83 /chat/bitchx | |
parent | 5e0ddda40ba83e48bf24893aa5fe182343d2d925 (diff) | |
download | pkgsrc-3280bf333f039f2bec8ff7fdd8140f64e8f97642.tar.gz |
Fix pointers for cursor_not_in_display() & cursor_in_display(). Fixes
BUS error on sparc64. Appears to apply to version Bitchx 1.1 too.
Diffstat (limited to 'chat/bitchx')
-rw-r--r-- | chat/bitchx/Makefile | 4 | ||||
-rw-r--r-- | chat/bitchx/distinfo | 3 | ||||
-rw-r--r-- | chat/bitchx/patches/patch-an | 15 |
3 files changed, 19 insertions, 3 deletions
diff --git a/chat/bitchx/Makefile b/chat/bitchx/Makefile index 8d3c8703e99..6cd78e71bde 100644 --- a/chat/bitchx/Makefile +++ b/chat/bitchx/Makefile @@ -1,9 +1,9 @@ -# $NetBSD: Makefile,v 1.28 2004/03/29 07:28:51 xtraeme Exp $ +# $NetBSD: Makefile,v 1.29 2004/06/27 00:35:04 heas Exp $ # DISTNAME= ircii-pana-1.0c19 PKGNAME= bitchx-1.0.3.19 -PKGREVISION= 6 +PKGREVISION= 7 CATEGORIES= chat MASTER_SITES= ftp://ftp.bitchx.org/pub/BitchX/source/ \ ftp://ftp.bitchx.org/pub/BitchX/source/old/ diff --git a/chat/bitchx/distinfo b/chat/bitchx/distinfo index ad73b8a1aef..b6d8ad3de63 100644 --- a/chat/bitchx/distinfo +++ b/chat/bitchx/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.9 2003/12/02 01:55:48 jmcneill Exp $ +$NetBSD: distinfo,v 1.10 2004/06/27 00:35:04 heas Exp $ SHA1 (ircii-pana-1.0c19.tar.gz) = 4821ebbd3f55ec2cfc2a20e2109e34ea45b3f144 Size (ircii-pana-1.0c19.tar.gz) = 2533621 bytes @@ -15,3 +15,4 @@ SHA1 (patch-aj) = 156be839ab2dc5abebb918398f64c62373f3561e SHA1 (patch-ak) = 4e70e8d42b104b91849e79930fabe8c5a43d10f5 SHA1 (patch-al) = dd501c530af801bece9f035b4355d1ecaaa7658a SHA1 (patch-am) = 6ed1f089f46ca1fb95192e14c1f26f3a7e6a9a98 +SHA1 (patch-an) = 59a6dc31a90b88bbffac5bb4629feaa2488afeff diff --git a/chat/bitchx/patches/patch-an b/chat/bitchx/patches/patch-an new file mode 100644 index 00000000000..f4316e56571 --- /dev/null +++ b/chat/bitchx/patches/patch-an @@ -0,0 +1,15 @@ +$NetBSD: patch-an,v 1.1 2004/06/27 00:35:04 heas Exp $ + +--- include/modval.h.orig 2001-05-19 20:40:58.000000000 +0000 ++++ include/modval.h +@@ -279,8 +279,8 @@ extern Function_ptr *global; + #define output_line(x) ((int) (global[OUTPUT_LINE]((const unsigned char *)x))) + #define output_with_count(x, y, z) ((int) (global[OUTPUT_WITH_COUNT]((const unsigned char *)x, (int)y, (int)z))) + #define scroll_window(x) ((void) (global[SCROLL_WINDOW]((Window *)x))) +-#define cursor_not_in_display(x) ((void) (global[CURSOR_IN_DISPLAY]((Screen *)x))) +-#define cursor_in_display(x) ((void) (global[CURSOR_IN_DISPLAY]((Screen *)x))) ++#define cursor_not_in_display(x) ((void) (global[CURSOR_NOT_IN_DISPLAY]((Screen *)x))) ++#define cursor_in_display(x) ((void) (global[CURSOR_IN_DISPLAY]((Window *)x))) + #define is_cursor_in_display(x) ((int) (global[IS_CURSOR_IN_DISPLAY]((Screen *)x))) + #define repaint_window(x, y, z) ((void) (global[REPAINT_WINDOW]((Window *)x, (int)y, (int)z))) + |