diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-09-08 01:07:24 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-09-08 01:07:24 +0100 |
commit | e3cf2c86fca1750343c1885311f857f185ee4f2d (patch) | |
tree | d9d1fbc20509d4c90f57fb2d9e1459bc8034c831 /dev-erlang | |
parent | f1af93971b7490792d8541bc790e0d8c6d787059 (diff) |
gentoo resync : 08.09.2019
Diffstat (limited to 'dev-erlang')
-rw-r--r-- | dev-erlang/Manifest.gz | bin | 5343 -> 5347 bytes | |||
-rw-r--r-- | dev-erlang/fast_yaml/Manifest | 1 | ||||
-rw-r--r-- | dev-erlang/fast_yaml/files/fast_yaml-1.0.20-dont-escape-simple-quote.patch | 31 |
3 files changed, 32 insertions, 0 deletions
diff --git a/dev-erlang/Manifest.gz b/dev-erlang/Manifest.gz Binary files differindex 392cb2df1334..04f19282f338 100644 --- a/dev-erlang/Manifest.gz +++ b/dev-erlang/Manifest.gz diff --git a/dev-erlang/fast_yaml/Manifest b/dev-erlang/fast_yaml/Manifest index 687f66c951a4..ef34ab6d8db7 100644 --- a/dev-erlang/fast_yaml/Manifest +++ b/dev-erlang/fast_yaml/Manifest @@ -1,3 +1,4 @@ +AUX fast_yaml-1.0.20-dont-escape-simple-quote.patch 1240 BLAKE2B d9ce45488944ce4c3cb7cfe5cbb504363bdf0a795a418ab8cb7532c4fe5869a8d4f83dd6efc059380d05837f63d0fd314694778de9de7da68b6108a36645d238 SHA512 d7392cb834b36ceb18a306263c90c16ad48a3e85c76945e2bd660daf76f7c123fb23a55d1fd0fda8f909e3c08796801df6494dacc79bd9ec2c908e757fc6de7f DIST fast_yaml-1.0.17.tar.gz 49925 BLAKE2B 654a8f6ed516fc851a78a360c5f57faa302b068dbb84f9f26f3b0b8204e2cd55569ca27699181415453de469e524348b0db990736647df41843070446a20c9de SHA512 596e834a63b9ca78eee9b5021c711fdac2d7bd148dbbd6b0c162ec87f94dc41ebf7c8cd3d86c8a2c94da07d0926d31601d63123103678d42905243bb86c5f4a4 DIST fast_yaml-1.0.20.tar.gz 54476 BLAKE2B 553b433a4cbfa859b25f39e74766047f490cd11d327f73e948237fd4321e7a9f160656cb312b60fc1379c8e35f3c613ad76dc0a44a2f73b8ca09ce61a8e036e7 SHA512 583c36caf0dd492518b631bc4882530a12f83bc1de952aa8b053f4c3fb828be65d127954a5277b320a0ef28cf8b8df6db88e76b323f2774af061a9e9bd88e061 DIST fast_yaml-1.0.3.tar.gz 49351 BLAKE2B ef705ef36f3ab2e43ac434abcce58f8fc3e0f1b0c0cfa88596c9b34b76ece0a2277a5f97046c789176231010711f906d5ec961b2053622404418e6a6d9380778 SHA512 321de1c0ff830de8a556bd661e600a66bccd944d6503a87a02111bcfb0b23c8c60b128296e7bb07ea39f923a04ebc7cd15e33971ca6691f16a75340c0695aee9 diff --git a/dev-erlang/fast_yaml/files/fast_yaml-1.0.20-dont-escape-simple-quote.patch b/dev-erlang/fast_yaml/files/fast_yaml-1.0.20-dont-escape-simple-quote.patch new file mode 100644 index 000000000000..453374dbf175 --- /dev/null +++ b/dev-erlang/fast_yaml/files/fast_yaml-1.0.20-dont-escape-simple-quote.patch @@ -0,0 +1,31 @@ +From e789f68895f71b7ad31057177810ca0161bf790e Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Pawe=C5=82=20Chmielowski?= <pchmielowski@process-one.net> +Date: Tue, 6 Aug 2019 12:37:28 +0200 +Subject: [PATCH] Don't escape ' inside "", this is not valid yaml + +This fixes issue #13 +--- + src/fast_yaml.erl | 3 +-- + 1 file changed, 1 insertion(+), 2 deletions(-) + +diff --git a/src/fast_yaml.erl b/src/fast_yaml.erl +index db2be4a..11e453c 100644 +--- a/src/fast_yaml.erl ++++ b/src/fast_yaml.erl +@@ -146,7 +146,6 @@ encode(B, _) when is_binary(B) -> + ($\s) -> [$\s]; % $\s == "space" + ($\t) -> [$\\, "t"]; % $\t == "tab" + ($\v) -> [$\\, "v"]; % $\v == "vertical tab" +- ($') -> [$\\, $']; % $" == simple quote + ($") -> [$\\, $"]; % $" == double quote + ($\\) -> [$\\, $\\]; % $\\ == backslash + (C) -> C +@@ -382,7 +381,7 @@ encode_decode_vertical_tab_test() -> + + encode_decode_simple_quote_test() -> + FileName = filename:join(["..", "test", "temp_test.yml"]), +- Binary = <<"\'\"\'">>, ++ Binary = <<"'\"'">>, + Encoded = encode([[{'Source', Binary}]]), + file:write_file(FileName, Encoded), + Decoded = decode_from_file(FileName, [plain_as_atom]), |