summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
diff options
context:
space:
mode:
authorDmitry Kalinkin <dmitry.kalinkin@gmail.com>2019-05-03 12:56:44 -0400
committerDmitry Kalinkin <dmitry.kalinkin@gmail.com>2019-05-03 12:56:44 -0400
commitfdada4a45fcf8905b61448094f4de388a89fb444 (patch)
tree7800d7ba7760388f47e847de3034e802507bb958 /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
parent56b560942c7b567b1e3d6c48cce0e5891f4e72e6 (diff)
nukeReferences: fix for store paths with special characters (like '+' or '.')
This introduces extra escaping for $NIX_STORE that gets interpolated into a PCRE. The escaping is performed using a standard Perl function "quotemeta" (see "perldoc -f quotemeta" for reference). The same value is also used in sed regex which uses POSIX basic regular expressions instead of PCRE, so it needs fewer characters to be escaped. It should not cause much problem to not change sed invocation, but I replace it with equivalent Perl expression (actually the behavior is changed to not output a newline character after the matched output).
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions