1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-04 22:33:27 +00:00
freebsd-ports/japanese/sj3-server/files/patch-ab
Jun Kuriyama ab70e18b82 The current japanese/sj3 (sj3-2.0.1.13) has a security bug of sj3serv.
sj3-2.0.1.20 has already been released. In the version one, the bug
was fixed.

PR:		ports/8093
Submitted by:	taoka@infonets.hiroshima-u.ac.jp
1998-10-09 06:10:47 +00:00

22 lines
656 B
Plaintext

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"