[packages/m4] explicitly define encoding for texinfo file

atler atler at pld-linux.org
Thu Apr 30 12:45:39 CEST 2020


commit a1b0e941dbf715562448ff94626899a001beedd3
Author: Jan Palus <atler at pld-linux.org>
Date:   Thu Apr 30 10:44:15 2020 +0000

    explicitly define encoding for texinfo file
    
    decoding fails with utf-8 by default

 m4.spec | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/m4.spec b/m4.spec
index 6f555d2..f79ed55 100644
--- a/m4.spec
+++ b/m4.spec
@@ -78,6 +78,8 @@ Statyczna biblioteka m4.
 %patch0 -p1
 %patch1 -p1
 
+%{__sed} -i '1 i @documentencoding ISO-8859-1' doc/m4.texi
+
 %build
 %configure \
 	PACKAGE=m4 \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/m4.git/commitdiff/a1b0e941dbf715562448ff94626899a001beedd3



More information about the pld-cvs-commit mailing list