diff options
author | 2004-04-26 01:27:08 +0000 | |
---|---|---|
committer | 2004-04-26 01:27:08 +0000 | |
commit | 2b390be3b82694984badabc8264e3870f7ef06fd (patch) | |
tree | e282b0c06ec921f5e02cc46c4241729f5c9d5c78 /net-irc/bitchx/files | |
parent | Add die following econf for bug 48950 (diff) | |
download | historical-2b390be3b82694984badabc8264e3870f7ef06fd.tar.gz historical-2b390be3b82694984badabc8264e3870f7ef06fd.tar.bz2 historical-2b390be3b82694984badabc8264e3870f7ef06fd.zip |
ported to amd64 and added amd64 keyword
Diffstat (limited to 'net-irc/bitchx/files')
-rw-r--r-- | net-irc/bitchx/files/BitchX-64bit.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/net-irc/bitchx/files/BitchX-64bit.patch b/net-irc/bitchx/files/BitchX-64bit.patch new file mode 100644 index 000000000000..369f2baafbfc --- /dev/null +++ b/net-irc/bitchx/files/BitchX-64bit.patch @@ -0,0 +1,22 @@ +--- BitchX/include/modval.h.64bit 2003-02-10 12:55:46.000000000 +0100 ++++ BitchX/include/modval.h 2003-02-10 12:56:08.000000000 +0100 +@@ -318,7 +318,7 @@ + #define show_window(x) ((void) (global[SHOW_WINDOW]((Window *)x))) + #define get_status_by_refnum(x, y) ((char *) (global[GET_STATUS_BY_REFNUM]((unsigned int)x, (unsigned int)y))) + #define get_visible_by_refnum(x) ((int) (global[GET_VISIBLE_BY_REFNUM]((char *)x))) +-#define get_window_by_desc(x) ((Window *) (global[GET_WINDOW_BY_DESC]((unsigned int)x))) ++#define get_window_by_desc(x) ((Window *) (global[GET_WINDOW_BY_DESC]((unsigned long)x))) + #define get_window_by_refnum(x) ((Window *) (global[GET_WINDOW_BY_REFNUM]((unsigned int)x))) + #define get_window_by_name(x) ((Window *) (global[GET_WINDOW_BY_NAME]((char *)x))) + #define next_window(x, y) ((void) (global[FUNC_NEXT_WINDOW]((char)x, (char *)y))) +--- BitchX/include/module.h.64bit 2003-02-10 12:48:32.000000000 +0100 ++++ BitchX/include/module.h 2003-02-10 12:48:43.000000000 +0100 +@@ -15,7 +15,7 @@ + + #include "struct.h" + +-typedef int (*Function_ptr)(); ++typedef long (*Function_ptr)(); + + #ifdef WANT_DLL + #ifdef HPUX |