FreeBSD Bugzilla – Attachment 124305 Details for
Bug 167826
[patch] readd socks5 support to irc/xchat
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 2.84 KB, created by
4721@hushmail.com
on 2012-05-12 18:10:06 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
4721@hushmail.com
Created:
2012-05-12 18:10:06 UTC
Size:
2.84 KB
patch
obsolete
>Index: irc/xchat/Makefile >=================================================================== >RCS file: /home/ncvs/ports/irc/xchat/Makefile,v >retrieving revision 1.152 >diff -u -r1.152 Makefile >--- irc/xchat/Makefile 26 Feb 2012 18:44:12 -0000 1.152 >+++ irc/xchat/Makefile 11 May 2012 17:40:50 -0000 >@@ -36,6 +36,7 @@ > NOTIFY "Depend on libnotify for notifications" off \ > PERL "Enable Perl support" on \ > PYTHON "Enable Python support" off \ >+ SOCKS "Build with socks5 support" off \ > TCL "Enable TCL support" off > > .if defined(WITH_PYTHON) >@@ -98,6 +99,11 @@ > PLIST_SUB+= PYTHON="@comment " > .endif > >+.if defined(WITH_SOCKS) >+LIB_DEPENDS+= socks.1:${PORTSDIR}/net/dante >+CONFIGURE_ARGS+=--enable-socks >+.endif >+ > .if defined(WITH_TCL) > USE_TCL= 84+ > .include "${PORTSDIR}/Mk/bsd.tcl.mk" >Index: irc/xchat/files/patch-socks >=================================================================== >RCS file: irc/xchat/files/patch-socks >diff -N irc/xchat/files/patch-socks >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ irc/xchat/files/patch-socks 11 May 2012 17:40:51 -0000 >@@ -0,0 +1,64 @@ >+--- configure.orig >++++ configure >+@@ -18485,13 +18485,13 @@ >+ >+ if test "$socks" = yes; then >+ socks=no >+- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SOCKSconnect in -lsocks5" >&5 >+-$as_echo_n "checking for SOCKSconnect in -lsocks5... " >&6; } >+-if test "${ac_cv_lib_socks5_SOCKSconnect+set}" = set; then : >++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Rconnect in -lsocks" >&5 >++$as_echo_n "checking for Rconnect in -lsocks... " >&6; } >++if test "${ac_cv_lib_socks_Rconnect+set}" = set; then : >+ $as_echo_n "(cached) " >&6 >+ else >+ ac_check_lib_save_LIBS=$LIBS >+-LIBS="-lsocks5 $LIBS" >++LIBS="-lsocks $LIBS" >+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext >+ /* end confdefs.h. */ >+ >+@@ -18501,27 +18501,27 @@ >+ #ifdef __cplusplus >+ extern "C" >+ #endif >+-char SOCKSconnect (); >++char Rconnect (); >+ int >+ main () >+ { >+-return SOCKSconnect (); >++return Rconnect (); >+ ; >+ return 0; >+ } >+ _ACEOF >+ if ac_fn_c_try_link "$LINENO"; then : >+- ac_cv_lib_socks5_SOCKSconnect=yes >++ ac_cv_lib_socks_Rconnect=yes >+ else >+- ac_cv_lib_socks5_SOCKSconnect=no >++ ac_cv_lib_socks_Rconnect=no >+ fi >+ rm -f core conftest.err conftest.$ac_objext \ >+ conftest$ac_exeext conftest.$ac_ext >+ LIBS=$ac_check_lib_save_LIBS >+ fi >+-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socks5_SOCKSconnect" >&5 >+-$as_echo "$ac_cv_lib_socks5_SOCKSconnect" >&6; } >+-if test "x$ac_cv_lib_socks5_SOCKSconnect" = x""yes; then : >++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socks_Rconnect" >&5 >++$as_echo "$ac_cv_lib_socks_Rconnect" >&6; } >++if test "x$ac_cv_lib_socks_Rconnect" = x""yes; then : >+ have_socks=yes >+ fi >+ >+@@ -18542,7 +18542,7 @@ >+ socks=yes >+ $as_echo "#define SOCKS 1" >>confdefs.h >+ >+- LIBS="$LIBS -lsocks5" >++ LIBS="$LIBS -lsocks" >+ fi >+ fi >+ fi
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 167826
: 124305