aspell.patch 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. Index: Makefile.in
  2. --- Makefile.in.orig 2008-04-07 06:56:53 +0200
  3. +++ Makefile.in 2010-01-29 20:12:00 +0100
  4. @@ -481,7 +481,7 @@
  5. top_srcdir = @top_srcdir@
  6. AUTOMAKE_OPTIONS = foreign subdir-objects
  7. SUBDIRS = . po manual
  8. -DIST_SUBDIRS = ${SUBDIRS} examples myspell lib5
  9. +DIST_SUBDIRS = ${SUBDIRS} myspell lib5
  10. filterdir = ${pkglibdir}
  11. optdir = ${pkgdatadir}
  12. Index: aspell6-de-20030222-1/configure
  13. --- aspell6-de-20030222-1/configure.orig 2004-11-04 03:46:10 +0100
  14. +++ aspell6-de-20030222-1/configure 2010-01-29 20:12:00 +0100
  15. @@ -66,9 +66,9 @@
  16. #echo $ASPELL
  17. if test x = "x$ASPELL"
  18. - then ASPELL=aspell; fi
  19. + then ASPELL=`which aspell`; fi
  20. if test x = "x$PREZIP"
  21. - then PREZIP=prezip-bin; fi
  22. + then PREZIP=`which prezip-bin`; fi
  23. #echo $ASPELL
  24. echo $ECHO_N "Finding Dictionary file location ... $ECHO_C"
  25. @@ -79,9 +79,9 @@
  26. datadir=`$ASPELL dump config data-dir`
  27. echo $datadir
  28. -echo "ASPELL = `which $ASPELL`" > Makefile
  29. +echo "ASPELL = $ASPELL" > Makefile
  30. echo "ASPELL_FLAGS = $ASPELL_FLAGS" >> Makefile
  31. -echo "PREZIP = `which $PREZIP`" >> Makefile
  32. +echo "PREZIP = $PREZIP" >> Makefile
  33. echo "DESTDIR = $DESTDIR" >> Makefile
  34. echo "dictdir = $dictdir" >> Makefile
  35. echo "datadir = $datadir" >> Makefile
  36. Index: aspell6-de-alt-2.1-1/configure
  37. --- aspell6-de-alt-2.1-1/configure.orig 2004-11-04 03:48:55 +0100
  38. +++ aspell6-de-alt-2.1-1/configure 2010-01-29 20:12:00 +0100
  39. @@ -66,9 +66,9 @@
  40. #echo $ASPELL
  41. if test x = "x$ASPELL"
  42. - then ASPELL=aspell; fi
  43. + then ASPELL=`which aspell`; fi
  44. if test x = "x$PREZIP"
  45. - then PREZIP=prezip-bin; fi
  46. + then PREZIP=`which prezip-bin`; fi
  47. #echo $ASPELL
  48. echo $ECHO_N "Finding Dictionary file location ... $ECHO_C"
  49. @@ -79,9 +79,9 @@
  50. datadir=`$ASPELL dump config data-dir`
  51. echo $datadir
  52. -echo "ASPELL = `which $ASPELL`" > Makefile
  53. +echo "ASPELL = $ASPELL" > Makefile
  54. echo "ASPELL_FLAGS = $ASPELL_FLAGS" >> Makefile
  55. -echo "PREZIP = `which $PREZIP`" >> Makefile
  56. +echo "PREZIP = $PREZIP" >> Makefile
  57. echo "DESTDIR = $DESTDIR" >> Makefile
  58. echo "dictdir = $dictdir" >> Makefile
  59. echo "datadir = $datadir" >> Makefile
  60. Index: aspell6-en-7.1-0/configure
  61. --- aspell6-en-7.1-0/configure.orig 2004-08-10 11:01:33 +0200
  62. +++ aspell6-en-7.1-0/configure 2010-01-29 20:12:00 +0100
  63. @@ -66,9 +66,9 @@
  64. #echo $ASPELL
  65. if test x = "x$ASPELL"
  66. - then ASPELL=aspell; fi
  67. + then ASPELL=`which aspell`; fi
  68. if test x = "x$PREZIP"
  69. - then PREZIP=prezip-bin; fi
  70. + then PREZIP=`which prezip-bin`; fi
  71. #echo $ASPELL
  72. echo $ECHO_N "Finding Dictionary file location ... $ECHO_C"
  73. @@ -79,9 +79,9 @@
  74. datadir=`$ASPELL dump config data-dir`
  75. echo $datadir
  76. -echo "ASPELL = `which $ASPELL`" > Makefile
  77. +echo "ASPELL = $ASPELL" > Makefile
  78. echo "ASPELL_FLAGS = $ASPELL_FLAGS" >> Makefile
  79. -echo "PREZIP = `which $PREZIP`" >> Makefile
  80. +echo "PREZIP = $PREZIP" >> Makefile
  81. echo "DESTDIR = $DESTDIR" >> Makefile
  82. echo "dictdir = $dictdir" >> Makefile
  83. echo "datadir = $datadir" >> Makefile
  84. Index: gen/mk-static-filter.pl
  85. --- gen/mk-static-filter.pl.orig 2007-12-03 07:43:09 +0100
  86. +++ gen/mk-static-filter.pl 2010-01-29 20:12:00 +0100
  87. @@ -159,7 +159,7 @@
  88. printf STATICFILTERS "\n const KeyInfo * ".${$filter}{"NAME"}."_options_begin = ".
  89. ${$filter}{"NAME"}."_options;\n";
  90. # If structure is empty, set options_end to same as options_begin.
  91. - if (%{$filter}) {
  92. + if ($firstopt) {
  93. printf STATICFILTERS "\n const KeyInfo * ".${$filter}{"NAME"}."_options_end = ".
  94. ${$filter}{"NAME"}."_options;\n";
  95. } else {
  96. Index: prog/checker_string.cpp
  97. --- prog/checker_string.cpp.orig 2006-11-25 16:07:15 +0100
  98. +++ prog/checker_string.cpp 2010-01-29 20:12:00 +0100
  99. @@ -6,6 +6,7 @@
  100. #include <assert.h>
  101. +#include <assert.h>
  102. #include "checker_string.hpp"
  103. #include "speller.hpp"
  104. #include "document_checker.hpp"