1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-01 22:05:08 +00:00
freebsd-ports/editors/biew/files/patch-ad
Chris D. Faulhaber 7731b6961f Update port to 5.1.2
PR:		20150
Submitted by:	KATO Tsuguru <tkato@prontomail.ne.jp>
2000-08-01 23:43:35 +00:00

15 lines
407 B
Plaintext

--- biewlib/sysdep/generic/unix/vio.c.orig Thu Jul 6 14:31:08 2000
+++ biewlib/sysdep/generic/unix/vio.c Mon Jul 24 23:04:47 2000
@@ -84,7 +84,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))