diff options
author | Hans de Graaff <graaff@gentoo.org> | 2017-01-20 07:39:23 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2017-01-20 07:39:52 +0100 |
commit | 19c7cf709b34e5de586524a00b38e45e39c0340c (patch) | |
tree | 7da33588338144be0c98913f2ef402a4e897bf88 /dev-ruby/asciimath/files | |
parent | dev-ruby/haml: add ruby23 (diff) | |
download | gentoo-19c7cf709b34e5de586524a00b38e45e39c0340c.tar.gz gentoo-19c7cf709b34e5de586524a00b38e45e39c0340c.tar.bz2 gentoo-19c7cf709b34e5de586524a00b38e45e39c0340c.zip |
dev-ruby/asciimath: add 1.0.4
Package-Manager: portage-2.3.0
Diffstat (limited to 'dev-ruby/asciimath/files')
-rw-r--r-- | dev-ruby/asciimath/files/asciimath-1.0.4-backslashes.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/dev-ruby/asciimath/files/asciimath-1.0.4-backslashes.patch b/dev-ruby/asciimath/files/asciimath-1.0.4-backslashes.patch new file mode 100644 index 000000000000..9bf08ce34046 --- /dev/null +++ b/dev-ruby/asciimath/files/asciimath-1.0.4-backslashes.patch @@ -0,0 +1,22 @@ +From 1c06fdc8086077f4785479f78b0823a4a72d7948 Mon Sep 17 00:00:00 2001 +From: Pepijn Van Eeckhoudt <pepijn@vaneeckhoudt.net> +Date: Thu, 12 May 2016 18:02:45 +0200 +Subject: [PATCH] Remove spurious backslashes + +--- + spec/parser_spec.rb | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/spec/parser_spec.rb b/spec/parser_spec.rb +index def78e0..3fa5a75 100644 +--- a/spec/parser_spec.rb ++++ b/spec/parser_spec.rb +@@ -45,7 +45,7 @@ + '"Скорость"=("Расстояние")/("Время")' => + '<math><mtext>Скорость</mtext><mo>=</mo><mfrac><mtext>Расстояние</mtext><mtext>Время</mtext></mfrac></math>', + 'bb (a + b) + cc c = fr (d^n)' => +- '<math><mstyle mathvariant=\"bold\"><mrow><mi>a</mi><mo>+</mo><mi>b</mi></mrow></mstyle><mo>+</mo><mstyle mathvariant=\"script\"><mi>c</mi></mstyle><mo>=</mo><mstyle mathvariant=\"fraktur\"><msup><mi>d</mi><mi>n</mi></msup></mstyle></math>' ++ '<math><mstyle mathvariant="bold"><mrow><mi>a</mi><mo>+</mo><mi>b</mi></mrow></mstyle><mo>+</mo><mstyle mathvariant="script"><mi>c</mi></mstyle><mo>=</mo><mstyle mathvariant="fraktur"><msup><mi>d</mi><mi>n</mi></msup></mstyle></math>' + } + + version = RUBY_VERSION.split('.').map { |s| s.to_i } |