Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37574086
en ru br
Репозитории ALT

Группа :: Работа с текстами
Пакет: hspell

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: hspell-1.4-alt-fixes.patch
Скачать


--- hspell/Makefile.in
+++ hspell/Makefile.in
@@ -137,8 +137,7 @@ install: all
 	cp hspell.3 $(DESTDIR)$(MAN3)/
 	chmod 644 $(DESTDIR)$(MAN3)/hspell.3
 	test -d $(DESTDIR)$(LIBDIR) || mkdir -m 755 -p $(DESTDIR)$(LIBDIR)
-	cp libhspell.a $(DESTDIR)$(LIBDIR)/
-	chmod 644 $(DESTDIR)$(LIBDIR)/libhspell.a
+	-install -pm644 libhspell.a $(DESTDIR)$(LIBDIR)/
 	test -d $(DESTDIR)$(INCLUDEDIR) || mkdir -m 755 -p $(DESTDIR)$(INCLUDEDIR)
 	cp hspell.h linginfo.h $(DESTDIR)$(INCLUDEDIR)/
 	chmod 644 $(DESTDIR)$(INCLUDEDIR)/hspell.h $(DESTDIR)$(INCLUDEDIR)/linginfo.h
--- hspell/configure.in
+++ hspell/configure.in
@@ -46,7 +46,7 @@ AC_MSG_NOTICE([Checking features selected by user (see configure --help)...])
 
 dnl Our TARGETS variable chooses what to compile. Some things are
 dnl optionally compiled depending on --enable-* paramters to configure.
-TARGETS="hebrew.wgz.sizes hspell libhspell.a"
+TARGETS="hebrew.wgz.sizes hspell"
 AC_SUBST(TARGETS)
 
 dnl "fatverb" optional feature: (--enable-fatverb)
--- hspell/hspell.c
+++ hspell/hspell.c
@@ -266,7 +266,7 @@ main(int argc, char *argv[])
 	int wordlen=0, offset=0, wordstart;
 	int c;
 	int res;
-	FILE *slavefp;
+	FILE *slavefp = NULL;
 	int terse_mode=0;
 	hspell_hash wrongwords;
 	int preflen; /* used by -l */
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin