diff options
author | heas <heas@pkgsrc.org> | 2004-06-27 00:35:04 +0000 |
---|---|---|
committer | heas <heas@pkgsrc.org> | 2004-06-27 00:35:04 +0000 |
commit | e96bb2c59fd6f8c3f52c1114206e3fad0c6b0734 (patch) | |
tree | fd03376b1b61853d083e8f21ef29da11f32add83 /chat/bitchx/patches | |
parent | 04959172c82b7869fd34c8e015f3938b90d31f38 (diff) | |
download | pkgsrc-e96bb2c59fd6f8c3f52c1114206e3fad0c6b0734.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/patches')
-rw-r--r-- | chat/bitchx/patches/patch-an | 15 |
1 files changed, 15 insertions, 0 deletions
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))) + |