1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-16 03:24:07 +00:00
freebsd-ports/editors/biew/files/patch-af
Sergey A. Osokin 01a6b1fcb3 Update to 5.6.0.
Move doc-files from pkg-plist to Makefile.

Approved by:	Ryan Thompson <ryan@sasknow.com> (maintainer)
2004-04-01 08:47:24 +00:00

15 lines
438 B
Plaintext

--- biewlib/sysdep/generic/unix/keyboard.c.orig Wed Mar 31 16:16:47 2004
+++ biewlib/sysdep/generic/unix/keyboard.c Wed Mar 31 16:16:58 2004
@@ -44,7 +44,11 @@
#endif
#ifdef _CURSES_
+#if defined(__FreeBSD_version) && __FreeBSD_version < 400010
+#include <ncurses/curses.h>
+#else
#include <curses.h>
+#endif
char *rawkb_name="Curses";
unsigned rawkb_size=sizeof(int); /* size of rawkb_buf elements 1,2 or 4*/
int rawkb_method=0;