Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37752832
en ru br
ALT Linux repos
S:1.4-alt1

Group :: Text tools
RPM: hspell

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: hspell-1.4-alt-fixes.patch
Download


--- 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 */
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin