1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-15 23:50:44 +00:00
freebsd-ports/editors/biew/files/patch-ad
Will Andrews ab660dfb52 Update biew to 5.04.
PR:		18137
Submitted by:	KATO Tsuguru <tkato@prontomail.ne.jp>
2000-04-22 02:06:20 +00:00

15 lines
399 B
Plaintext

--- lib/sysdep/generic/unix/vio.c.orig Fri Apr 14 15:02:21 2000
+++ lib/sysdep/generic/unix/vio.c Mon Apr 17 23:49:05 2000
@@ -71,7 +71,11 @@
#endif
#ifdef _CURSES_
+#if defined(__FreeBSD_version) && __FreeBSD_version < 400010
+#include <ncurses/curses.h>
+#else
#include <curses.h>
+#endif
#define _bg(x) (((x) >> 4) & 7)
#define _fg(x) ((x) & 7)
#define _2cpair(x) (_bg(x) * 010 + _fg(x))