@@ -0,0 +1,10 @@
+--- termcap.c.dist 2003-07-02 16:35:41.000000000 +0200
++++ termcap.c 2003-07-02 16:35:50.000000000 +0200
+@@ -20,6 +20,7 @@
+ #endif
+ #ifdef TERMINFO
+ #ifdef HAVE_TERM_H
++#include <curses.h>
+ #include <term.h>
@@ -33,10 +33,11 @@ Distribution: OpenPKG [EVAL]
Group: Editor
License: GPL
Version: 2.9.8
-Release: 20030630
+Release: 20030702
# list of sources
Source0: http://osdn.dl.sourceforge.net/sourceforge/joe-editor/joe-%{version}.tar.gz
+Patch0: joe.patch
# build information
Prefix: %{l_prefix}
@@ -59,6 +60,7 @@ AutoReqProv: no
%prep
%setup -q
+ %patch -p0
%build
CC="%{l_cc}" \