[DRE-commits] [ruby-ttfunk] 04/06: Add 0020-add-require-pathname.patch

Cédric Boutillier boutil at moszumanska.debian.org
Fri Aug 22 15:49:58 UTC 2014


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

boutil pushed a commit to branch master
in repository ruby-ttfunk.

commit fb954a53eab9dca0462e132f788b96801420c996
Author: Cédric Boutillier <boutil at debian.org>
Date:   Fri Aug 22 17:40:41 2014 +0200

    Add 0020-add-require-pathname.patch
---
 debian/patches/0020-add-require-pathname.patch | 13 +++++++++++++
 debian/patches/series                          |  1 +
 2 files changed, 14 insertions(+)

diff --git a/debian/patches/0020-add-require-pathname.patch b/debian/patches/0020-add-require-pathname.patch
new file mode 100644
index 0000000..6a9b474
--- /dev/null
+++ b/debian/patches/0020-add-require-pathname.patch
@@ -0,0 +1,13 @@
+Description: require pathname to avoid NameError: uninitialized constant TTFunk::File::Pathname
+Author: Cédric Boutillier <boutil at debian.org>
+Forwarded-Upstream: https://github.com/prawnpdf/ttfunk/pull/18
+Last-Update: 2014-08-22
+
+--- a/lib/ttfunk.rb
++++ b/lib/ttfunk.rb
+@@ -1,4 +1,5 @@
+ require 'stringio'
++require 'pathname'
+ require 'ttfunk/directory'
+ require 'ttfunk/resource_file'
+ 
diff --git a/debian/patches/series b/debian/patches/series
index d66b29f..5e734eb 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 0010-fix_example_metrics.patch
+0020-add-require-pathname.patch

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



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