nixpkgs/pkgs/development
Chuck c0cecd0e60 python3Packages.libxml2: Patch to work around python3 + utf-8 itstool crash
1. Gnumeric has unbalanced XML tags in its doc translations.
2. itstool's XML error handler tries to print this error with context.
3. libxml2's context snipper treats the data as bytes, not UTF-8.
4. python3Packages.libxml2 casts the context to a UTF-8 Python string.
5. itstool dereferences a null pointer.

This patch intervenes at #4.

In https://bugzilla.gnome.org/show_bug.cgi?id=789714#c4 , upstream
suggests that intervening at #3 would be better -- that each of the four
copies of xmlParserPrintFileContextInternal() have four additional UTF-8
problems, one of which is that the caret indicator ought to count
"unicode characters" not bytes.  But to position a caret correctly, a
character count is not sufficient -- this would need to use icu's BiDi
logic (with fallback to doing something wrong when libxml2 is configured
not to use icu) -- which makes a 'correct' fix a much larger project
than this simple band-aid.
2019-10-31 17:30:33 -07:00
..
androidndk-pkgs
arduino
beam-modules
bower-modules/generic
compilers
coq-modules coqPackages.coq-extensible-records: support for coq 8.9 and 8.10 2019-10-29 12:42:22 +00:00
dhall-modules
dotnet-modules/patches
em-modules/generic
go-modules
go-packages
guile-modules
haskell-modules
idris-modules
interpreters python35: 3.5.7 -> 3.5.8 2019-10-29 10:39:50 +01:00
java-modules
libraries python3Packages.libxml2: Patch to work around python3 + utf-8 itstool crash 2019-10-31 17:30:33 -07:00
lisp-modules
lua-modules
misc
mobile
node-packages
ocaml-modules Merge pull request #72171 from romildo/upd.ocamlearlybird 2019-10-29 14:31:09 +00:00
perl-modules perlPackages.Po4a: fix build (#72170) 2019-10-28 17:27:33 +01:00
pharo
pure-modules
python-modules pythonPackages.recommonmark: 0.5.0 -> 0.6.0 2019-10-29 19:04:10 +01:00
r-modules
ruby-modules solargraph: 0.35.2 -> 0.37.2 2019-10-27 17:16:29 -07:00
tools itstool: 2.0.2 -> 2.0.6 2019-10-30 17:32:15 -07:00
web