diff options
author | arved <arved@FreeBSD.org> | 2006-04-09 20:51:49 +0800 |
---|---|---|
committer | arved <arved@FreeBSD.org> | 2006-04-09 20:51:49 +0800 |
commit | 7485747e36e7d99d349a29a26392937766dbfd63 (patch) | |
tree | 75cdd30885fcea4a1a82a15e3b230a68d84054bf /irc/bitchx | |
parent | 7b2fff84b691f6ceccfccb383a2b94f77bc34be2 (diff) | |
download | freebsd-ports-gnome-7485747e36e7d99d349a29a26392937766dbfd63.tar.gz freebsd-ports-gnome-7485747e36e7d99d349a29a26392937766dbfd63.tar.zst freebsd-ports-gnome-7485747e36e7d99d349a29a26392937766dbfd63.zip |
Add patch to fix crash on startup on amd64/alpha.
Unmark IGNORE.
Submitted by: Goran Gajic
Tested on: sledge/beast
Approved by: maintainer timeout (3 months)
Diffstat (limited to 'irc/bitchx')
-rw-r--r-- | irc/bitchx/Makefile | 4 | ||||
-rw-r--r-- | irc/bitchx/files/patch-64bit | 38 |
2 files changed, 38 insertions, 4 deletions
diff --git a/irc/bitchx/Makefile b/irc/bitchx/Makefile index 1df0a47a4218..853d48053e07 100644 --- a/irc/bitchx/Makefile +++ b/irc/bitchx/Makefile @@ -77,10 +77,6 @@ LIB_DEPENDS+= xmms.4:${PORTSDIR}/multimedia/xmms USE_AUTOTOOLS= autoconf:253 .endif -.if ${ARCH} == "alpha" || ${ARCH} == "ia64" || ${ARCH} == "amd64" -IGNORE= dumps core on startup -.endif - .if defined(WITH_IPV6) CONFIGURE_ARGS+=--enable-ipv6 .endif diff --git a/irc/bitchx/files/patch-64bit b/irc/bitchx/files/patch-64bit new file mode 100644 index 000000000000..014a717f84b1 --- /dev/null +++ b/irc/bitchx/files/patch-64bit @@ -0,0 +1,38 @@ +diff -ur BitchX.orig/include/module.h BitchX/include/module.h +--- BitchX.orig/include/module.h Fri Apr 11 03:09:07 2003 ++++ include/module.h Sun Jan 8 17:18:15 2006 +@@ -15,7 +15,7 @@ + + #include "struct.h" + +-typedef int (*Function_ptr)(); ++typedef long (*Function_ptr)(); + + #ifdef WANT_DLL + #ifdef HPUX +diff -ur BitchX.orig/include/modval.h BitchX/include/modval.h +--- BitchX.orig/include/modval.h Fri Apr 11 03:09:07 2003 ++++ include/modval.h Sun Jan 8 17:18:15 2006 +@@ -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))) +diff -ur BitchX.orig/source/screen.c BitchX/source/screen.c +--- BitchX.orig/source/screen.c Thu Jul 31 09:01:08 2003 ++++ source/screen.c Sun Jan 8 17:18:18 2006 +@@ -1377,8 +1377,8 @@ + { + if (!w) + w = current_window; +- if (w->screen) +- w->screen->cursor_window = w; ++/* if (w->screen) ++ w->screen->cursor_window = w;*/ + } + + /* |