Fix compatibility with newer Perls. The first patch is taken from upstream: https://svn.savannah.gnu.org/viewvc/texinfo?view=revision&revision=8008 The second gets rid of a deprecation warning that breaks some tests. Taken from Fedora: . --- trunk/tp/Texinfo/Convert/XSParagraph/xspara.c 2017/04/30 14:57:26 7765 +++ trunk/tp/Texinfo/Convert/XSParagraph/xspara.c 2018/07/13 15:39:29 8008 @@ -248,6 +248,11 @@ dTHX; +#if PERL_VERSION > 27 || (PERL_VERSION == 27 && PERL_SUBVERSION > 8) + /* needed due to thread-safe locale handling in newer perls */ + switch_to_global_locale(); +#endif + if (setlocale (LC_CTYPE, "en_US.UTF-8") || setlocale (LC_CTYPE, "en_US.utf8")) goto success; @@ -320,6 +325,10 @@ { success: ; free (utf8_locale); +#if PERL_VERSION > 27 || (PERL_VERSION == 27 && PERL_SUBVERSION > 8) + /* needed due to thread-safe locale handling in newer perls */ + sync_locale(); +#endif /* fprintf (stderr, "tried to set LC_CTYPE to UTF-8.\n"); fprintf (stderr, "character encoding is: %s\n", diff -up texinfo-6.5/tp/Texinfo/Parser.pm.orig texinfo-6.5/tp/Texinfo/Parser.pm --- texinfo-6.5/tp/Texinfo/Parser.pm.orig 2018-06-12 13:40:29.356030136 +0200 +++ texinfo-6.5/tp/Texinfo/Parser.pm 2018-06-12 13:41:28.357725639 +0200 @@ -5478,11 +5478,11 @@ sub _parse_special_misc_command($$$$) } } elsif ($command eq 'clickstyle') { # REMACRO - if ($line =~ /^\s+@([[:alnum:]][[:alnum:]\-]*)({})?\s*/) { + if ($line =~ /^\s+@([[:alnum:]][[:alnum:]\-]*)(\{})?\s*/) { $args = ['@'.$1]; $self->{'clickstyle'} = $1; $remaining = $line; - $remaining =~ s/^\s+@([[:alnum:]][[:alnum:]\-]*)({})?\s*(\@(c|comment)((\@|\s+).*)?)?//; + $remaining =~ s/^\s+@([[:alnum:]][[:alnum:]\-]*)(\{})?\s*(\@(c|comment)((\@|\s+).*)?)?//; $has_comment = 1 if (defined($4)); } else { $self->line_error (sprintf($self->__( /td>
path: root/gnu/system/shadow.scm
AgeCommit message (Expand)Author
2019-04-23services: account: Make 'user-homes' a one-shot service....Ludovic Courtès
2019-03-07activation: Build account databases with (gnu build accounts)....Ludovic Courtès
2019-03-07activation: Operate on <user-account> and <user-group> records....Ludovic Courtès
2019-03-07system: Add (gnu system accounts)....Ludovic Courtès
2018-10-19system: Rename .zlogin to .zprofile....Chris Marusich
2018-07-23system: '.guile' skeleton now recommends 'guile-colorized'....Ludovic Courtès
2018-07-05Don't force colour in aliases....Tobias Geerinckx-Rice
2018-06-11system: Default .bashrc now sources /etc/bashrc....Ludovic Courtès
2018-04-04system: Add default '.nanorc' with syntax highlighting....Ludovic Courtès
2018-01-11Merge branch 'master' into core-updatesLeo Famulari
2018-01-09system: Extend .gdbinit to authorize extensions from /gnu/store/*/lib....Ludovic Courtès
2017-12-08gnu: guile: Move Readline support to a separate 'guile-readline' package....Ludovic Courtès