Control: tags 782720 + patch
Control: tags 782720 + pending

Dear maintainer,

I've prepared an NMU for aspell-is (versioned as 0.51-0-4.1).
This patch solves the bug of the file name that is not utf-8, 
if the maintainer renames the file in sources.

Regards.

Simon
diff -u aspell-is-0.51-0/debian/changelog aspell-is-0.51-0/debian/changelog
--- aspell-is-0.51-0/debian/changelog
+++ aspell-is-0.51-0/debian/changelog
@@ -1,3 +1,10 @@
+aspell-is (0.51-0-4.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fixed utf-8 filename bug (closes: #782720).
+
+ -- Simon Barotte <simon.baro...@gmail.com>  Sat, 15 Oct 2016 23:33:14 +0200
+
 aspell-is (0.51-0-4) unstable; urgency=low
 
   * Converted to use aspell-autobuildhash to build the dictionary hashes
diff -u aspell-is-0.51-0/debian/rules aspell-is-0.51-0/debian/rules
--- aspell-is-0.51-0/debian/rules
+++ aspell-is-0.51-0/debian/rules
@@ -4,6 +4,12 @@
 
 DICT_LANG := is
 
+configure/aspell-$(DICT_LANG)::
+	iconv -f ISO-8859-1 -t utf-8 Makefile.pre > Makefile_utf8.pre
+	rm Makefile.pre
+	mv Makefile_utf8.pre Makefile.pre
+	sed -ri 's/íslenska.alias/islenska.alias/' Makefile.pre
+
 install/aspell-$(DICT_LANG)::
 	for f in *.cwl; do \
 	    gzip -9 -c "$$f" > "$(DEB_DESTDIR)/usr/share/aspell/"$$f".gz"; \

Reply via email to