1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
freebsd-ports/japanese/sj3-lib/files/patch-ab

22 lines
656 B
Plaintext
Raw Normal View History

diff -arcN ../sj3-2.0.1.13.old/include/Const.h ./include/Const.h
*** ../sj3-2.0.1.13.old/include/Const.h Tue Aug 13 03:13:39 1996
--- ./include/Const.h Wed Aug 21 14:01:27 1996
***************
*** 87,93 ****
--- 87,101 ----
#define ProtoName "tcp"
#define PortNumber "3000"
#else
+ /*
+ * Change the default Port number of sj3 for FreeBSD.
+ * Patched by Hidekazu Kuroki(hidekazu@cs.titech.ac.jp) 1996/8/20
+ */
+ #ifdef __FreeBSD__
+ #define PortNumber 3086
+ #else /* ! __FreeBSD__ */
#define PortNumber 3000
+ #endif /* ! __FreeBSD__ */
#endif
#define SocketName "/tmp/sj3sock"
#define LockFile "/tmp/SJ3SERV.EXIST"