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

28 lines
915 B
Plaintext
Raw Normal View History

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 */