[DRE-commits] [asciidoctor] 01/02: Add a patch to fix loading of ERB module

Jérémy Bobbio lunar at moszumanska.debian.org
Fri Apr 11 09:16:45 UTC 2014


This is an automated email from the git hooks/post-receive script.

lunar pushed a commit to branch master
in repository asciidoctor.

commit 079f4293c4dce18054ed655fb0c0fbb623e57ca6
Author: Jérémy Bobbio <lunar at debian.org>
Date:   Fri Apr 11 10:28:11 2014 +0200

    Add a patch to fix loading of ERB module
---
 debian/patches/load_erb_directly.patch | 15 +++++++++++++++
 debian/patches/series                  |  1 +
 2 files changed, 16 insertions(+)

diff --git a/debian/patches/load_erb_directly.patch b/debian/patches/load_erb_directly.patch
new file mode 100644
index 0000000..7e20323
--- /dev/null
+++ b/debian/patches/load_erb_directly.patch
@@ -0,0 +1,15 @@
+From: Jérémy Bobbio <lunar at debian.org>
+Date: Thu, 11 Apr 2014 10:26:00 +0200
+Subject: Update asciidoctor.1 manpage
+
+--- a/lib/asciidoctor/renderer.rb
++++ b/lib/asciidoctor/renderer.rb
+@@ -159,7 +159,7 @@ class Renderer
+     end
+ 
+     if name == 'erb'
+-      Helpers.require_library 'erb'
++      require 'erb'
+       ::ERB
+     elsif name == 'erubis'
+       Helpers.require_library 'erubis', true
diff --git a/debian/patches/series b/debian/patches/series
index 4e1d439..a59460d 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 prune_tests_requiring_network_access.patch
 update-asciidoctor.1-manpage.patch
+load_erb_directly.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/asciidoctor.git



More information about the Pkg-ruby-extras-commits mailing list