FreeBSD Bugzilla – Attachment 120709 Details for
Bug 163555
[PATCH] irc/bitchx is out of date and BitchX 1.2 does not compile (fix included)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch-bitchx.txt
patch-bitchx.txt (text/plain; charset=US-ASCII), 13.08 KB, created by
Chris Petrik
on 2012-09-15 16:35:48 UTC
(
hide
)
Description:
patch-bitchx.txt
Filename:
MIME Type:
Creator:
Chris Petrik
Created:
2012-09-15 16:35:48 UTC
Size:
13.08 KB
patch
obsolete
>Index: bitchx/pkg-plist >=================================================================== >--- bitchx/pkg-plist (revision 304308) >+++ bitchx/pkg-plist (working copy) >@@ -1,8 +1,7 @@ > @unexec if [ -f %D/share/bx/script/bxglobal.old ]; then rm -f %D/share/bx/script/bxglobal.old; fi > %%NOGNOME%%bin/BitchX >-%%NOGNOME%%bin/BitchX-1.1-final > %%GNOME%%bin/gtkBitchX >-%%GNOME%%bin/gtkBitchX-1.1-final >+%%GNOME%%bin/gtkBitchX-1.2c01-svn > %%NOGNOME%%bin/scr-bx > share/bx/BitchX.help > share/bx/BitchX.ircnames >@@ -913,10 +912,6 @@ > %%PORTDOCS%%share/bx/help/8_Scripts/webster > %%PORTDOCS%%share/bx/help/8_Scripts/window > %%PORTDOCS%%share/bx/help/README_FIRST >-%%PORTDOCS%%share/bx/help/commands >-%%PORTDOCS%%share/bx/help/findcomm >-%%PORTDOCS%%share/bx/help/functions >-%%PORTDOCS%%share/bx/help/out > %%PLUGINS%%share/bx/plugins/BitchX.hints > %%PLUGINS%%share/bx/plugins/acro.so > %%PLUGINS%%share/bx/plugins/autobot.so >@@ -927,11 +922,15 @@ > %%PLUGINS%%share/bx/plugins/pkga.so > %%PLUGINS%%share/bx/plugins/possum.so > %%PLUGINS%%share/bx/plugins/qmail.so >-%%PLUGINS%%share/bx/plugins/scan.so > %%PLUGINS%%share/bx/plugins/wavplay.so > %%PLUGINS%%share/bx/plugins/qbx.so > %%PLUGINS%%share/bx/plugins/arcfour.so > %%PLUGINS%%share/bx/plugins/autocycle.so >+%%PLUGINS%%share/bx/plugins/aim.so >+%%PLUGINS%%share/bx/plugins/cavlink.so >+%%PLUGINS%%share/bx/plugins/cdrom.so >+%%PLUGINS%%share/bx/plugins/nap.so >+%%PLUGINS%%share/bx/plugins/nicklist.so > %%XMMS%%share/bx/plugins/xmms.so > share/bx/plugins/.placeholder > share/bx/script/SCRIPTS >Index: bitchx/Makefile >=================================================================== >--- bitchx/Makefile (revision 304308) >+++ bitchx/Makefile (working copy) >@@ -6,16 +6,23 @@ > # > > PORTNAME= BitchX >-PORTVERSION= 1.1.0.1 >-PORTREVISION= 4 >+PORTVERSION= 1.2 > CATEGORIES+= irc >-MASTER_SITES= SF/bitchx/ircii-pana/ircii-pana-1.1 >-DISTNAME= ircii-pana-1.1-final >+#MASTER_SITES= # This port uses github >+DISTNAME= BitchX-BitchX${PORTVERSION}-${GH_COMMIT} > >-MAINTAINER?= danfe@FreeBSD.org >+MAINTAINER?= c.petrik.sosa@gmail.com > COMMENT?= Feature-rich scriptable IRC client > >-WRKSRC= ${WRKDIR}/BitchX >+USE_GITHUB= yes >+GH_ACCOUNT= BitchX >+GH_PROJECT= BitchX1.2 >+GH_TAGNAME= master >+GH_COMMIT= a22b86f >+ >+USE_AUTOTOOLS= autoconf >+#ACLOCAL_ARGS= -Im4 >+#WRKSRC= ${WRKDIR}/BitchX > USE_PERL5= yes > GNU_CONFIGURE= yes > WANT_GNOME= yes >@@ -63,7 +70,7 @@ > .endif > > .if defined(WITH_XMMS) >-LIB_DEPENDS+= xmms.4:${PORTSDIR}/multimedia/xmms >+LIB_DEPENDS+= xmms:${PORTSDIR}/multimedia/xmms > .endif > > .if defined(WITH_IPV6) >@@ -72,7 +79,7 @@ > > .if defined(WITH_PLUGINS) > PLUGINS=\ >-abot,acro,arcfour,autocycle,blowfish,encrypt,fserv,hint,pkga,possum,qbx,qmail,scan,wavplay >+abot,acro,aim,arcfour,autocycle,blowfish,cavlink,cdrom,encrypt,europa,fserv,hint,nap,nicklist,pkga,possum,qbx,qmail,wavplay,xmms > CONFIGURE_ARGS+= --with-plugins=${PLUGINS} > PLIST_SUB+= PLUGINS="" > .else >@@ -88,7 +95,7 @@ > .endif > .if (defined(WITH_XMMS) && defined(WITH_PLUGINS)) > PLUGINS=\ >-abot,acro,arcfour,autocycle,blowfish,encrypt,fserv,hint,pkga,possum,qbx,qmail,scan,wavplay,xmms >+abot,acro,aim,arcfour,autocycle,blowfish,cavlink,cdrom,encrypt,europa,fserv,hint,nap,nicklist,pkga,possum,qbx,qmail,wavplay,xmms > .endif > > .if (defined(WITH_PLUGINS) || defined(WITH_XMMS)) >@@ -111,9 +118,9 @@ > @${RMDIR} ${PREFIX}/share/bx/help > .endif > .if defined(WITH_GNOME) >- ${STRIP_CMD} ${PREFIX}/bin/gtkBitchX-1.1-final >+ ${STRIP_CMD} ${PREFIX}/bin/gtkBitchX > .else >- ${STRIP_CMD} ${PREFIX}/bin/BitchX-1.1-final >+ ${STRIP_CMD} ${PREFIX}/bin/BitchX > ${STRIP_CMD} ${PREFIX}/bin/scr-bx > .endif > @${TOUCH} ${PREFIX}/share/bx/plugins/.placeholder >Index: bitchx/distinfo >=================================================================== >--- bitchx/distinfo (revision 304308) >+++ bitchx/distinfo (working copy) >@@ -1,2 +1,2 @@ >-SHA256 (ircii-pana-1.1-final.tar.gz) = 7464cd75a10f2d117a10cf0184e5d4b9ece44de03a226402c17bdd3f2c7eca57 >-SIZE (ircii-pana-1.1-final.tar.gz) = 2532476 >+SHA256 (BitchX-BitchX1.2-a22b86f.tar.gz) = 78868bf79960fdb3cb716f38a90a084aaf9dfd76498e0c7df252ef1e43ca9a08 >+SIZE (BitchX-BitchX1.2-a22b86f.tar.gz) = 2555622 >Index: bitchx/files/patch-ap >=================================================================== >--- bitchx/files/patch-ap (revision 304308) >+++ bitchx/files/patch-ap (working copy) >@@ -1,11 +0,0 @@ >---- Makefile.in.orig Mon Mar 5 21:30:04 2001 >-+++ Makefile.in Fri Apr 19 15:09:40 2002 >-@@ -115,7 +115,7 @@ >- # This command will be used to install the BitchX help files. If you don't >- # want to install them, replace with the following: >- # INSTALL_HELP_CMD = @echo The help files have not been installed. >--INSTALL_HELP_CMD = @INSTALL_HELP_CMD@ >-+INSTALL_HELP_CMD = echo >- >- # This is where the optional plugins will be copied to. >- PLUGINDIR = @PLUGINDIR@ >Index: bitchx/files/patch-configure >=================================================================== >--- bitchx/files/patch-configure (revision 304308) >+++ bitchx/files/patch-configure (working copy) >@@ -1,132 +0,0 @@ >---- configure.orig 2003-04-11 05:09:04.000000000 +0400 >-+++ configure 2009-11-04 07:09:50.000000000 +0300 >-@@ -11830,100 +11830,27 @@ >- echo $ECHO_N "checking whether to enable IPv6 support... $ECHO_C" >&6 >- # Check whether --enable-ipv6 or --disable-ipv6 was given. >- if test "${enable_ipv6+set}" = set; then >-- enableval="$enable_ipv6" >-- case "$enableval" in >-+ enableval=$enable_ipv6; case "$enableval" in >- yes) >-- case "$(uname -s)" in >-- Linux) >-- if test -d "/usr/inet6/include"; then >-- CFLAGS="$CFLAGS -I/usr/inet6/include" >-- LIBS="-L/usr/inet6/lib -linet6 $LIBS" >-- echo "$as_me:$LINENO: result: yes (libinet6)" >&5 >--echo "${ECHO_T}yes (libinet6)" >&6 >-+ { $as_echo "$as_me:$LINENO: result: yes (notchecked)" >&5 >-+$as_echo "yes (notchecked)" >&6; } >- >- cat >>confdefs.h <<\_ACEOF >- #define IPV6 1 >- _ACEOF >- >-- else >-- if test -d "/usr/local/v6/lib"; then >-- LIBS="-L/usr/local/v6/lib -linet6 $LIBS" >-- echo "$as_me:$LINENO: result: yes (freebsd+kame)" >&5 >--echo "${ECHO_T}yes (freebsd+kame)" >&6 >-- >--cat >>confdefs.h <<\_ACEOF >--#define IPV6 1 >--_ACEOF >-- >-- else >-- if test "$cross_compiling" = yes; then >-- { echo "$as_me:$LINENO: WARNING: cross-compiling: assuming no ipv6" >&5 >--echo "$as_me: WARNING: cross-compiling: assuming no ipv6" >&2;} >-+ ;; >-+ *) >-+ { $as_echo "$as_me:$LINENO: result: no" >&5 >-+$as_echo "no" >&6; } >-+ ;; >-+ esac >- else >-- cat >conftest.$ac_ext <<_ACEOF >--#line $LINENO "configure" >--#include "confdefs.h" >-- >-- int main() >-- { >-- #if !defined(__GLIBC__) || (__GLIBC__ < 2) >-- #define NO_GLIBC_2 1 >-- #endif >-- >-- if (NO_GLIBC_2) >-- exit(0); >-- else >-- exit(1); >-- } >--_ACEOF >--rm -f conftest$ac_exeext >--if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 >-- (eval $ac_link) 2>&5 >-- ac_status=$? >-- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >-- (exit $ac_status); } && { ac_try='./conftest$ac_exeext' >-- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 >-- (eval $ac_try) 2>&5 >-- ac_status=$? >-- echo "$as_me:$LINENO: \$? = $ac_status" >&5 >-- (exit $ac_status); }; }; then >-- echo "$as_me:$LINENO: result: yes (glibc2)" >&5 >--echo "${ECHO_T}yes (glibc2)" >&6 >-+ { $as_echo "$as_me:$LINENO: result: no" >&5 >-+$as_echo "no" >&6; } >- >--cat >>confdefs.h <<\_ACEOF >--#define IPV6 1 >--_ACEOF >-- >-- >--else >-- echo "$as_me: program exited with status $ac_status" >&5 >--echo "$as_me: failed program was:" >&5 >--cat conftest.$ac_ext >&5 >--( exit $ac_status ) >--echo "$as_me:$LINENO: result: no" >&5 >--echo "${ECHO_T}no" >&6 >--fi >--rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext >- fi >-- fi >-- fi >-- ;; >-- *) >-- echo "$as_me:$LINENO: result: no (ipv6 support can currently be enabled on Linux only)" >&5 >--echo "${ECHO_T}no (ipv6 support can currently be enabled on Linux only)" >&6 >-- ;; >-- esac >-- ;; >-- no) >-- echo "$as_me:$LINENO: result: no" >&5 >--echo "${ECHO_T}no" >&6 >-- ;; >-- esac >--else >-- echo "$as_me:$LINENO: result: no" >&5 >--echo "${ECHO_T}no" >&6 >- >--fi; >- >- echo "$as_me:$LINENO: checking whether to enable SOCKS support" >&5 >- echo $ECHO_N "checking whether to enable SOCKS support... $ECHO_C" >&6 >-@@ -12609,7 +12536,7 @@ >- system="unknown" >- else >- if test -r "/etc/.relid" -a x"`uname -n`" = x"`uname -s`"; then >-- system="MP-RAS-`$AWK '{print }' /etc/.relid'`" >-+ system="MP-RAS-`$AWK '{print $3}' /etc/.relid`" >- fi >- fi >- fi >-@@ -13877,7 +13804,7 @@ >- system="unknown" >- else >- if test -r "/etc/.relid" -a x"`uname -n`" = x"`uname -s`"; then >-- system="MP-RAS-`$AWK '{print }' /etc/.relid'`" >-+ system="MP-RAS-`$AWK '{print $3}' /etc/.relid`" >- fi >- fi >- fi >Index: bitchx/files/patch-aq >=================================================================== >--- bitchx/files/patch-aq (revision 304308) >+++ bitchx/files/patch-aq (working copy) >@@ -9,15 +9,6 @@ > > /* if you use cidentd the filename is called .authlie instead of .noident. > * as well some modifications to the format of the file were made. So we >-@@ -449,7 +449,7 @@ >- #define DEFAULT_FTP_GRAB OFF >- #define DEFAULT_HTTP_GRAB OFF >- #define DEFAULT_HELP_WINDOW OFF >--#define DEFAULT_NICK_COMPLETION ON >-+#define DEFAULT_NICK_COMPLETION OFF >- #define DEFAULT_NICK_COMPLETION_LEN 2 >- #define DEFAULT_NICK_COMPLETION_TYPE 0 /* 0 1 2 */ >- #define DEFAULT_NOTIFY ON > @@ -480,9 +480,9 @@ > #define DEFAULT_AINV 0 > #define DEFAULT_ANNOY_KICK OFF >Index: bitchx/files/patch-amd64_fix >=================================================================== >--- bitchx/files/patch-amd64_fix (revision 304308) >+++ bitchx/files/patch-amd64_fix (working copy) >@@ -14,18 +14,6 @@ > > #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 >Index: bitchx/files/patch-source_gcc_fix >=================================================================== >--- bitchx/files/patch-source_gcc_fix (revision 304308) >+++ bitchx/files/patch-source_gcc_fix (working copy) >@@ -1,36 +0,0 @@ >-diff -ru source.orig/ctcp.c source/ctcp.c >---- source.orig/ctcp.c 2003-05-26 23:00:22.000000000 -0800 >-+++ source/ctcp.c 2008-01-28 07:31:56.000000000 -0900 >-@@ -176,7 +176,7 @@ >- >- /* CDE do ops and unban logging */ >- >--static char *ctcp_type[] = >-+char *ctcp_type[] = >- { >- "PRIVMSG", >- "NOTICE" >-diff -ru source.orig/term.c source/term.c >---- source.orig/term.c 2003-04-10 17:09:07.000000000 -0800 >-+++ source/term.c 2008-01-28 07:58:45.000000000 -0900 >-@@ -92,7 +92,7 @@ >- #endif >- >- extern char *getenv(); >--extern char *tparm(); >-+ >- >- /* >- * The old code assumed termcap. termcap is almost always present, but on >-diff -ru source.orig/timer.c source/timer.c >---- source.orig/timer.c 2003-04-10 17:09:07.000000000 -0800 >-+++ source/timer.c 2008-01-28 08:00:29.000000000 -0900 >-@@ -148,7 +148,7 @@ >- * This is put here on purpose -- we dont want any of the above functions >- * to have any knowledge of this struct. >- */ >--static TimerList *PendingTimers; >-+TimerList *PendingTimers; >- static char *schedule_timer (TimerList *ntimer); >- >- static char *current_exec_timer = empty_string; >Index: bitchx/files/patch-source_server_c >=================================================================== >--- bitchx/files/patch-source_server_c (revision 304308) >+++ bitchx/files/patch-source_server_c (working copy) >@@ -1,12 +0,0 @@ >-$OpenBSD: patch-source_server_c,v 1.1 2003/04/16 09:04:24 avsm Exp $ >---- source/server.c.orig Mon Apr 14 23:56:28 2003 >-+++ source/server.c Mon Apr 14 23:56:59 2003 >-@@ -144,7 +144,7 @@ void close_server (int cs_index, char *m >- if (x_debug & DEBUG_OUTBOUND) >- yell("Closing server %d because [%s]", >- cs_index, message ? message : empty_string); >-- snprintf(buffer, BIG_BUFFER_SIZE, "QUIT :%s\n", message); >-+ snprintf(buffer, sizeof buffer, "QUIT :%s\n", message); >- #ifdef HAVE_SSL >- if (get_server_ssl(cs_index)) >- SSL_write(server_list[cs_index].ssl_fd, buffer, strlen(buffer));
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 163555
: 120709