commit:     3f32eaf545ba48564c1ba109fc2792079257032b
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Oct  5 19:03:20 2020 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Oct  5 19:03:59 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f32eaf5

dev-scheme/guile: fix 1.8.8 build with >=sys-apps/texinfo-6.7

Drop unicode.

Thanks-to: Dennis Nezic <dennisn <AT> dennisn.mooo.com>
Closes: https://bugs.gentoo.org/736469
Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../guile/files/guile-1.8.8-texinfo-6.7.patch      | 22 ++++++++++++++++++++++
 dev-scheme/guile/guile-1.8.8-r3.ebuild             |  3 ++-
 2 files changed, 24 insertions(+), 1 deletion(-)

diff --git a/dev-scheme/guile/files/guile-1.8.8-texinfo-6.7.patch 
b/dev-scheme/guile/files/guile-1.8.8-texinfo-6.7.patch
new file mode 100644
index 00000000000..6be52017a8d
--- /dev/null
+++ b/dev-scheme/guile/files/guile-1.8.8-texinfo-6.7.patch
@@ -0,0 +1,22 @@
+--- a/doc/ref/api-compound.texi.orig   2020-08-08 22:23:07.000000000 -0400
++++ b/doc/ref/api-compound.texi        2020-08-08 22:23:33.000000000 -0400
+@@ -905,7 +905,7 @@
+ @end deftypefn
+ 
+ @deftypefn {C Function} {const SCM *} scm_vector_elements (SCM vec, 
scm_t_array_handle *handle, size_t *lenp, ssize_t *incp)
+-Acquire�a handle for the vector @var{vec} and return a pointer to the
++Acquire a handle for the vector @var{vec} and return a pointer to the
+ elements of it.  This pointer can only be used to read the elements of
+ @var{vec}.  When @var{vec} is not a vector, an error is signaled.  The
+ handle mustr eventually be released with
+--- a/doc/ref/guile.info-2.orig        2020-08-08 22:22:59.000000000 -0400
++++ b/doc/ref/guile.info-2     2020-08-08 22:25:21.000000000 -0400
+@@ -4192,7 +4192,7 @@
+ 
+  -- C Function: const SCM * scm_vector_elements (SCM vec,
+           scm_t_array_handle *handle, size_t *lenp, ssize_t *incp)
+-     Acquire�a handle for the vector VEC and return a pointer to the
++     Acquire a handle for the vector VEC and return a pointer to the
+      elements of it.  This pointer can only be used to read the
+      elements of VEC.  When VEC is not a vector, an error is signaled.
+      The handle mustr eventually be released with

diff --git a/dev-scheme/guile/guile-1.8.8-r3.ebuild 
b/dev-scheme/guile/guile-1.8.8-r3.ebuild
index bd0e2037354..48800f8ea22 100644
--- a/dev-scheme/guile/guile-1.8.8-r3.ebuild
+++ b/dev-scheme/guile/guile-1.8.8-r3.ebuild
@@ -40,7 +40,8 @@ src_prepare() {
                "${FILESDIR}/${P}-readline.patch" \
                "${FILESDIR}/${P}-tinfo.patch" \
                "${FILESDIR}/${P}-sandbox.patch" \
-               "${FILESDIR}/${P}-mkdir-mask.patch"
+               "${FILESDIR}/${P}-mkdir-mask.patch" \
+               "${FILESDIR}/${PN}-1.8.8-texinfo-6.7.patch"
 
        sed \
                -e "s/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/g" \

Reply via email to