File guile-use-utf8.patch of Package guile.9958

Index: guile-2.0.9/libguile/random.c
===================================================================
--- guile-2.0.9.orig/libguile/random.c	2013-02-27 19:40:07.000000000 +0000
+++ guile-2.0.9/libguile/random.c	2019-02-25 14:24:46.932446775 +0000
@@ -376,7 +376,7 @@ make_rstate (scm_t_rstate *state)
  * Scheme level interface.
  */
 
-SCM_GLOBAL_VARIABLE_INIT (scm_var_random_state, "*random-state*", scm_seed_to_random_state (scm_from_locale_string ("URL:http://stat.fsu.edu/~geo/diehard.html")));
+SCM_GLOBAL_VARIABLE_INIT (scm_var_random_state, "*random-state*", scm_seed_to_random_state (scm_from_utf8_string ("URL:http://stat.fsu.edu/~geo/diehard.html")));
 
 SCM_DEFINE (scm_random, "random", 1, 1, 0, 
             (SCM n, SCM state),
openSUSE Build Service is sponsored by