Преглед изворни кода

term.h also requires inclusion of curses.h

Michael van Elst пре 23 година
родитељ
комит
0249fb162e
2 измењених фајлова са 13 додато и 1 уклоњено
  1. 10 0
      joe/joe.patch
  2. 3 1
      joe/joe.spec

+ 10 - 0
joe/joe.patch

@@ -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>
+ #endif
+ #endif

+ 3 - 1
joe/joe.spec

@@ -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}" \