tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
texinfo. 6.5 -> 6.7
Christian Kampka
5 years ago
fb223f6a
728f8e21
+6
-50
5 changed files
expand all
collapse all
unified
split
pkgs
development
tools
misc
texinfo
6.5.nix
6.7.nix
common.nix
perl.patch
top-level
all-packages.nix
-4
pkgs/development/tools/misc/texinfo/6.5.nix
···
1
1
-
import ./common.nix {
2
2
-
version = "6.5";
3
3
-
sha256 = "0qjzvbvnv9003xdrcpi3jp7y68j4hq2ciw9frh2hghh698zlnxvp";
4
4
-
}
+4
pkgs/development/tools/misc/texinfo/6.7.nix
···
1
1
+
import ./common.nix {
2
2
+
version = "6.7";
3
3
+
sha256 = "1aicn1v3czqii08wc91jw089n1x3gfchkf808q2as59dak0h714q";
4
4
+
}
+1
-2
pkgs/development/tools/misc/texinfo/common.nix
···
26
26
inherit sha256;
27
27
};
28
28
29
29
-
patches = optional (version == "6.5") ./perl.patch
30
30
-
++ optional crossBuildTools ./cross-tools-flags.patch;
29
29
+
patches = optional crossBuildTools ./cross-tools-flags.patch;
31
30
32
31
# ncurses is required to build `makedoc'
33
32
# this feature is introduced by the ./cross-tools-flags.patch
-43
pkgs/development/tools/misc/texinfo/perl.patch
···
1
1
-
Adapted from http://svn.savannah.gnu.org/viewvc/texinfo/
2
2
-
Author: gavin
3
3
-
--- trunk/tp/Texinfo/Parser.pm 2018-06-04 19:51:36 UTC (rev 8006)
4
4
-
+++ trunk/tp/Texinfo/Parser.pm 2018-07-13 15:31:28 UTC (rev 8007)
5
5
-
@@ -5531,11 +5531,11 @@
6
6
-
}
7
7
-
} elsif ($command eq 'clickstyle') {
8
8
-
# REMACRO
9
9
-
- if ($line =~ /^\s+@([[:alnum:]][[:alnum:]\-]*)({})?\s*/) {
10
10
-
+ if ($line =~ /^\s+@([[:alnum:]][[:alnum:]\-]*)(\{\})?\s*/) {
11
11
-
$args = ['@'.$1];
12
12
-
$self->{'clickstyle'} = $1;
13
13
-
$remaining = $line;
14
14
-
- $remaining =~ s/^\s+@([[:alnum:]][[:alnum:]\-]*)({})?\s*(\@(c|comment)((\@|\s+).*)?)?//;
15
15
-
+ $remaining =~ s/^\s+@([[:alnum:]][[:alnum:]\-]*)(\{\})?\s*(\@(c|comment)((\@|\s+).*)?)?//;
16
16
-
$has_comment = 1 if (defined($4));
17
17
-
} else {
18
18
-
$self->line_error (sprintf($self->__(
19
19
-
--- trunk/tp/Texinfo/Convert/XSParagraph/xspara.c 2018-07-13 15:31:28 UTC (rev 8007)
20
20
-
+++ trunk/tp/Texinfo/Convert/XSParagraph/xspara.c 2018-07-13 15:39:29 UTC (rev 8008)
21
21
-
@@ -248,6 +248,11 @@
22
22
-
23
23
-
dTHX;
24
24
-
25
25
-
+#if PERL_VERSION > 27 || (PERL_VERSION == 27 && PERL_SUBVERSION > 8)
26
26
-
+ /* needed due to thread-safe locale handling in newer perls */
27
27
-
+ switch_to_global_locale();
28
28
-
+#endif
29
29
-
+
30
30
-
if (setlocale (LC_CTYPE, "en_US.UTF-8")
31
31
-
|| setlocale (LC_CTYPE, "en_US.utf8"))
32
32
-
goto success;
33
33
-
@@ -320,6 +325,10 @@
34
34
-
{
35
35
-
success: ;
36
36
-
free (utf8_locale);
37
37
-
+#if PERL_VERSION > 27 || (PERL_VERSION == 27 && PERL_SUBVERSION > 8)
38
38
-
+ /* needed due to thread-safe locale handling in newer perls */
39
39
-
+ sync_locale();
40
40
-
+#endif
41
41
-
/*
42
42
-
fprintf (stderr, "tried to set LC_CTYPE to UTF-8.\n");
43
43
-
fprintf (stderr, "character encoding is: %s\n",
+1
-1
pkgs/top-level/all-packages.nix
···
11363
11363
texinfo413 = callPackage ../development/tools/misc/texinfo/4.13a.nix { };
11364
11364
texinfo4 = texinfo413;
11365
11365
texinfo5 = callPackage ../development/tools/misc/texinfo/5.2.nix { };
11366
11366
-
texinfo6 = callPackage ../development/tools/misc/texinfo/6.5.nix { };
11366
11366
+
texinfo6 = callPackage ../development/tools/misc/texinfo/6.7.nix { };
11367
11367
texinfo = texinfo6;
11368
11368
texinfoInteractive = appendToName "interactive" (
11369
11369
texinfo.override { interactive = true; }