1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-04 22:33:27 +00:00
freebsd-ports/lang/modula-3-socks/files/patch-aa
Andrey A. Chernov 2ccfa13cc7 Fix diff lines
1998-01-20 17:39:25 +00:00

28 lines
945 B
Plaintext

Index: SOCKS-SOURCE/h/socksdef.h
--- SOCKS-SOURCE/h/socksdef.h.orig Wed Aug 7 19:25:31 1996
+++ SOCKS-SOURCE/h/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 */