OpenPKG CVS Repository http://cvs.openpkg.org/ ____________________________________________________________________________
Server: cvs.openpkg.org Name: Matthias Kurz Root: /v/openpkg/cvs Email: [EMAIL PROTECTED] Module: openpkg-src Date: 11-Jun-2005 08:03:56 Branch: HEAD Handle: 2005061107035400 Modified files: openpkg-src/ispell ispell.patch ispell.spec Log: fixing segfault caused by bad initialization Summary: Revision Changes Path 1.3 +21 -8 openpkg-src/ispell/ispell.patch 1.47 +1 -1 openpkg-src/ispell/ispell.spec ____________________________________________________________________________ patch -p0 <<'@@ .' Index: openpkg-src/ispell/ispell.patch ============================================================================ $ cvs diff -u -r1.2 -r1.3 ispell.patch --- openpkg-src/ispell/ispell.patch 20 May 2004 20:25:37 -0000 1.2 +++ openpkg-src/ispell/ispell.patch 11 Jun 2005 06:03:54 -0000 1.3 @@ -1,6 +1,6 @@ ---- config.X.orig Mon Jan 23 19:28:24 1995 -+++ config.X Sun Mar 18 13:11:18 2001 -@@ -107,9 +107,6 @@ +--- config.X 10 Jun 2005 18:16:04 -0000 1.1.1.1 ++++ config.X 10 Jun 2005 19:53:17 -0000 +@@ -211,9 +211,6 @@ #include <sys/param.h> #include <sys/types.h> @@ -10,9 +10,22 @@ /* ** Things that normally go in a Makefile. Define these just like you ---- ispell.c.orig 2004-05-19 18:07:49.552575166 +0200 -+++ ispell.c 2004-05-19 18:08:46.017820502 +0200 -@@ -494,6 +494,11 @@ +--- exp_table.c 10 Jun 2005 18:16:05 -0000 1.1.1.1 ++++ exp_table.c 10 Jun 2005 19:54:09 -0000 +@@ -36,8 +36,8 @@ + + e->size = 0; + e->max_size = 1; +- e->exps = malloc (e->size * sizeof (*e->exps)); +- e->flags = malloc (e->size * sizeof (*e->flags) * MASKSIZE); ++ e->exps = malloc (e->max_size * sizeof (*e->exps)); ++ e->flags = malloc (e->max_size * sizeof (*e->flags) * MASKSIZE); + e->orig_word = orig_word; + } + +--- ispell.c 10 Jun 2005 18:16:05 -0000 1.1.1.1 ++++ ispell.c 10 Jun 2005 19:53:17 -0000 +@@ -507,6 +507,11 @@ #else /* MINIMENU */ (void) printf ("\t!MINIMENU\n"); #endif /* MINIMENU */ @@ -22,5 +35,5 @@ + (void) printf ("\t!NO8BIT\n"); +#endif /* NO8BIT */ (void) printf ("\tMINWORD = %d\n", MINWORD); - (void) printf ("\tMSDOS_BINARY_OPEN = 0x%x\n", - (unsigned int) MSDOS_BINARY_OPEN); + #ifdef MSDOS + (void) printf ("\tMSDOS\n"); @@ . patch -p0 <<'@@ .' Index: openpkg-src/ispell/ispell.spec ============================================================================ $ cvs diff -u -r1.46 -r1.47 ispell.spec --- openpkg-src/ispell/ispell.spec 4 May 2005 05:27:25 -0000 1.46 +++ openpkg-src/ispell/ispell.spec 11 Jun 2005 06:03:54 -0000 1.47 @@ -37,7 +37,7 @@ Group: Text License: BSD Version: %{V_ispell} -Release: 20050504 +Release: 20050611 # list of sources Source0: http://fmg-www.cs.ucla.edu/geoff/tars/ispell-%{V_ispell}.tar.gz @@ . ______________________________________________________________________ The OpenPKG Project www.openpkg.org CVS Repository Commit List openpkg-cvs@openpkg.org