Karl Hakimian ()
Tue, 3 Mar 1998 13:37:38 -0800
-- socks patch --
*** sockets.c.orig Thu Jan 15 10:50:33 1998
--- sockets.c Thu Feb 26 14:35:42 1998
***************
*** 21,26 ****
--- 21,30 ----
* sockets.c - functions to deal with sockets.
*/
+ #ifdef SOCKS
+ #include <socks.h>
+ #endif
+
#include <unistd.h>
#include <sys/socket.h>
#include <errno.h>
*** vncviewer.c.orig Thu Jan 15 10:50:33 1998
--- vncviewer.c Thu Feb 26 14:38:07 1998
***************
*** 21,26 ****
--- 21,30 ----
* vncviewer.c - VNC viewer for X.
*/
+ #ifdef SOCKS
+ #include <socks.h>
+ #endif
+
#include <vncviewer.h>
int
***************
*** 29,34 ****
--- 33,42 ----
fd_set fds;
struct timeval tv, *tvp;
int msWait;
+
+ #ifdef SOCKS
+ SOCKSinit(argv[0]);
+ #endif
processArgs(argc, argv);
*** Imakefile.orig Thu Jan 22 12:06:07 1998
--- Imakefile Tue Mar 3 13:31:18 1998
***************
*** 8,13 ****
--- 8,19 ----
SRCS = args.c listen.c rfbproto.c sockets.c vncviewer.c x.c
OBJS = args.o listen.o rfbproto.o sockets.o vncviewer.o x.o
INCLUDES = -I../include -I.
+
+ EXTRA_INCLUDES = -I/usr/local/include
+ EXTRA_DEFINES = -DSOCKS
+ EXTRA_LDOPTIONS = -L/usr/local/lib
+ LIBS = -lsocks5
+
VNCAUTH_LIB = ../libvncauth/libvncauth.a
all:: vncviewer
-- socks patch --
-- Karl Hakimian
This archive was generated by on Wed Feb 03 1999 - 15:32:42 GMT