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 | 39d746badafb07e67a16ba2681eb16ad7c251820 (patch) | |
tree | fd03376b1b61853d083e8f21ef29da11f32add83 /chat/bitchx/patches | |
parent | 1df19050d43201be48210426aefd957e82c1161c (diff) | |
download | pkgsrc-39d746badafb07e67a16ba2681eb16ad7c251820.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))) + |