openbsd-ports/japanese/onew/patches/patch-sys_sys_h
espie e3b08592ce Likewise, the various onew were there only to satisfy jvim needs.
- pull all ports in one;
- PREFIX->LOCALBASE;
- don't substitute in conf file, use MAKE_FLAGS instead;
- rename patches;
- pass CFLAGS to sub makes
2001-03-28 15:17:34 +00:00

22 lines
613 B
Plaintext

$OpenBSD: patch-sys_sys_h,v 1.1.1.1 2001/03/28 15:17:35 espie Exp $
--- sys/sys.h.orig Fri Jun 30 06:56:38 1995
+++ sys/sys.h Wed Mar 28 03:58:57 2001
@@ -30,7 +30,7 @@
|| defined(MACH) \
|| defined(NeXT) \
|| defined(bsdi) \
- || defined(__FreeBSD__)
+ || defined(__FreeBSD__) || defined(__OpenBSD__)
#define USE_SGTTY
#define HAS_SELECT
#endif
@@ -69,7 +69,7 @@
#define READYCC(fp) (fp->_egptr - fp->_gptr)
#endif
#else
-#if defined(bsdi) || defined(__FreeBSD__)
+#if defined(bsdi) || defined(__FreeBSD__) || defined(__OpenBSD__)
#define READYCC(fp) (fp->_r)
#else
#define READYCC(fp) (fp->_cnt)