[DRE-commits] [ruby-kramdown] 03/06: Remove fix-datadir-path.patch, applied upstream

Cédric Boutillier boutil at moszumanska.debian.org
Sat Aug 27 13:38:16 UTC 2016


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

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

commit 9b6f4dfd66afea3cc4c94f939279f721b5128013
Author: Cédric Boutillier <boutil at debian.org>
Date:   Sat Aug 27 11:39:22 2016 +0200

    Remove fix-datadir-path.patch, applied upstream
---
 debian/patches/fix-datadir-path.patch | 16 ----------------
 debian/patches/series                 |  1 -
 2 files changed, 17 deletions(-)

diff --git a/debian/patches/fix-datadir-path.patch b/debian/patches/fix-datadir-path.patch
deleted file mode 100644
index a0a8a54..0000000
--- a/debian/patches/fix-datadir-path.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-Description: fix config class to find installed data
-Author: Cédric Boutillier <boutil at debian.org>
-Forwarded: https://github.com/gettalong/kramdown/pull/345
-Last-Update: 2016-06-08
-
---- a/lib/kramdown/document.rb
-+++ b/lib/kramdown/document.rb
-@@ -53,7 +53,7 @@
-     unless defined?(@@data_dir)
-       require 'rbconfig'
-       @@data_dir = File.expand_path(File.join(File.dirname(__FILE__), '..', '..', 'data', 'kramdown'))
--      @@data_dir = File.expand_path(File.join(Config::CONFIG["datadir"], "kramdown")) if !File.exists?(@@data_dir)
-+      @@data_dir = File.expand_path(File.join(RbConfig::CONFIG["datadir"], "kramdown")) if !File.exists?(@@data_dir)
-       raise "kramdown data directory not found! This is a bug, please report it!" unless File.directory?(@@data_dir)
-     end
-     @@data_dir
diff --git a/debian/patches/series b/debian/patches/series
index 1865b85..64fc72c 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,2 @@
 skip_missing_math_engines.patch
-fix-datadir-path.patch
 rouge2.patch

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



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