1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-25 21:07:40 +00:00
freebsd-ports/japanese/canna-lib/files/patch-aa
Masafumi Max NAKANE e1d8feedad Changed the maintainer from Satoshi to Max.
This port now installs man pages.

(Patch-ac is responsible for following three items.)
This port now installs files into ${PREFIX}/{bin,include/canna,lib/canna}
instead of /usr/local/Canna/{bin,include,lib}.

Changed the location and the name of the lock file to /var/run/Canna.pid.

Changed the location of the log file to /var/log.

Now the readme file is not installed into the directory where the lock file
resides. (patch-ab)

In post-install:, /etc/services is checked and the user will be notified
if there is no entry for Canna.

Added new patch to modify source of several man pages to avoid it displaying
an empty page before showing its content. (patch-ad)
1996-09-18 08:02:06 +00:00

68 lines
1.6 KiB
Plaintext

*** canna/protodefs.h.orig Wed Mar 9 16:01:53 1994
--- canna/protodefs.h Sun Aug 11 06:54:35 1996
***************
*** 77,82 ****
--- 77,83 ----
#define I16toI32(x) (x)
#define I8toI32(x) (((x) & 0x80) ? ((x) | 0xffffff80) : (x))
+ #if 0
#ifdef HTONS /* hir, 1993.1.2 */
#undef HTONS
#endif
***************
*** 85,90 ****
--- 86,92 ----
work = htons( (len) ) ; \
bcopy( (char *)&work, (char *)(data), sizeof( short ) ) ; \
}
+ #endif
#ifndef MIN
#define MIN( n, m ) ( ((unsigned)(n) > (unsigned)(m)) ? (m) : (n) )
*** canna/widedef.h.orig Mon Jul 5 20:11:01 1993
--- canna/widedef.h Sun Aug 11 06:54:35 1996
***************
*** 27,32 ****
--- 27,36 ----
#ifndef _WIDEDEF_H_
#define _WIDEDEF_H_
+ #if defined(__FreeBSD__) || defined(__NetBSD__)
+ # include <machine/ansi.h>
+ #endif
+
#if __STDC__ || defined(SVR4) || defined(sun) /* This may be wrong. */
# if !defined(WCHAR16) && !defined(CANNA_WCHAR)
# define HAVE_WCHAR_OPERATION
***************
*** 40,45 ****
--- 44,61 ----
#endif
#endif /* HAVE_WCHAR_OPERATION */
+ #if defined(__FreeBSD__) || defined(__NetBSD__)
+ # ifdef _BSD_WCHAR_T_
+ # undef _BSD_WCHAR_T_
+ # ifdef WCHAR16
+ # define _BSD_WCHAR_T_ unsigned short
+ # else
+ # define _BSD_WCHAR_T_ unsigned long
+ # endif
+ # include <stddef.h>
+ # define _WCHAR_T
+ # endif
+ #else
#if !defined(WCHAR_T) && !defined(_WCHAR_T) && !defined(_WCHAR_T_) \
&& !defined(__WCHAR_T) && !defined(_GCC_WCHAR_T)
# ifdef WCHAR16
***************
*** 54,58 ****
--- 70,75 ----
# define __WCHAR_T
# define _GCC_WCHAR_T
#endif
+ #endif /* __FreeBSD__ || __NetBSD__ */
#endif /* _WIDEDEF_H_ */