1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-15 23:50:44 +00:00
freebsd-ports/lang/modula-3-socks/files/patch-aa
John Polstra 61ce7c4a22 This package implements SOCKS support for Modula-3 applications. It
will be used to support SOCKS operation in the soon-to-be-released next
version of CVSup.

A tip of the hat to:  Darryl Okahata, who developed the patches
necessary to make the SOCKS library work with Modula-3's multithreaded
I/O system.
1996-11-01 02:37:35 +00:00

28 lines
915 B
Plaintext

Index: SOCKS-SOURCE/h/socksdef.h
--- socksdef.h.orig Wed Aug 7 19:25:31 1996
+++ socksdef.h Wed Oct 30 21:05:37 1996
@@ -15,9 +15,11 @@
#define P_(x) ()
#endif /* ! ANSI C */
+#ifndef __FreeBSD__
extern int syslog P_((int , const char *, ...));
extern int openlog P_((const char *, int , int ));
extern int closelog P_((void));
+#endif
#define LOG_LOW LOG_NOTICE
#define LOG_HIGH LOG_ERR
@@ -34,9 +36,9 @@
#define INETD_SEC "/var/adm/inetd.sec"
#define DEFAULT_DEST "/opt/socks/bin" /* for socksify */
#else /* ! V4FS */
-#define SOCKD_DUMP_FILE "/usr/tmp/sockd.conf.dump"
+#define SOCKD_DUMP_FILE "/var/tmp/sockd.conf.dump"
#define SOCKD_CONF "/usr/local/etc/sockd.conf"
-#define SOCKS_CONF "/etc/socks.conf"
+#define SOCKS_CONF "/usr/local/etc/m3socks.conf"
#define OTHER_SOCKS_CONF "/usr/local/etc/socks.conf"
#define INETD_SEC "/usr/adm/inetd.sec"
#define DEFAULT_DEST "." /* for socksify */