Prechádzať zdrojové kódy

add missing include

Michael van Elst 22 rokov pred
rodič
commit
7087304cf5
2 zmenil súbory, kde vykonal 14 pridanie a 1 odobranie
  1. 11 0
      aspell/aspell.patch
  2. 3 1
      aspell/aspell.spec

+ 11 - 0
aspell/aspell.patch

@@ -0,0 +1,11 @@
+--- aspell-0.50.3/prog/checker_string.cpp.dist	2003-07-24 10:41:03.000000000 +0200
++++ aspell-0.50.3/prog/checker_string.cpp	2003-07-24 10:41:11.000000000 +0200
+@@ -10,6 +10,8 @@
+ #include "copy_ptr-t.hpp"
+ #include "asc_ctype.hpp"
+ 
++#include <assert.h>
++
+ static int get_line(FILE * in, CharVector & d)
+ {
+   d.resize(0);

+ 3 - 1
aspell/aspell.spec

@@ -38,12 +38,13 @@ Distribution: OpenPKG [BASE]
 Group:        Text
 License:      GPL
 Version:      %{V_aspell}
-Release:      20030723
+Release:      20030724
 
 #   list of sources
 Source0:      ftp://ftp.gnu.org/gnu/aspell/aspell-%{V_aspell}.tar.gz
 Source1:      ftp://ftp.gnu.org/gnu/aspell/dict/en/aspell-en-%{V_aspell_en}.tar.bz2
 Source2:      ftp://ftp.gnu.org/gnu/aspell/dict/de/aspell-de-%{V_aspell_de}.tar.bz2
+Patch0:       aspell.patch
 
 #   build information
 Prefix:       %{l_prefix}
@@ -68,6 +69,7 @@ AutoReqProv:  no
     %setup0 -q -c
     %setup1 -q -T -D -a 1
     %setup2 -q -T -D -a 2
+    %patch0 -p0
 
 %build
     #   configure GNU aspell