openbsd-ports/devel/stfl/patches/patch-stfl_internals_h
ajacoutot 15ce3a1ece Import stfl-0.22.
STFL is a library which implements a curses-based widget set for text
terminals. The public STFL API is only 14 simple function calls big and
there are already generic SWIG bindings. Thus is very easy to port STFL
to additional scripting languages.
<...>

ok jasper@
2012-12-30 17:59:36 +00:00

16 lines
374 B
Plaintext

$OpenBSD: patch-stfl_internals_h,v 1.1.1.1 2012/12/30 17:59:36 ajacoutot Exp $
--- stfl_internals.h.orig Sun Dec 30 09:25:50 2012
+++ stfl_internals.h Sun Dec 30 09:26:11 2012
@@ -28,7 +28,11 @@ extern "C" {
#endif
#include "stfl.h"
+#ifdef __OpenBSD__
+#include <curses.h>
+#else
#include <ncursesw/ncurses.h>
+#endif
#include <pthread.h>
struct stfl_widget_type;