[DRE-commits] [ruby-shindo] 03/05: refresh patches

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Sat Apr 19 11:44:06 UTC 2014


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

praveen pushed a commit to branch master
in repository ruby-shindo.

commit 9fcb31887a91dc85dd2f77e755f0b090053b438d
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date:   Sat Apr 19 17:01:06 2014 +0530

    refresh patches
---
 debian/changelog               |  1 +
 debian/patches/fix-paths.patch | 16 ++++++++++++----
 2 files changed, 13 insertions(+), 4 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 17e90c2..10ae20f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,7 @@ ruby-shindo (0.3.8-1) UNRELEASED; urgency=low
   * New upstream release
   * Bump standards version to 3.9.5 (no changes)
   * Bump gem2deb build dep to 0.7.5 (ruby 2.x)
+  * Refresh patches
 
  -- Pirate Praveen <praveen at debian.org>  Sat, 19 Apr 2014 16:53:37 +0530
 
diff --git a/debian/patches/fix-paths.patch b/debian/patches/fix-paths.patch
index 32c47fa..4656b6e 100644
--- a/debian/patches/fix-paths.patch
+++ b/debian/patches/fix-paths.patch
@@ -4,19 +4,27 @@ Last-Updated: 2013-05-17
 
 --- a/bin/shindo
 +++ b/bin/shindo
-@@ -1,4 +1,4 @@
+@@ -1,8 +1,4 @@
  #!/usr/bin/env ruby
  @thread_locals = { :interactive => true }
 -require File.expand_path(File.join(File.dirname(__FILE__), '..', 'lib', 'shindo', 'verbose'))
--require File.expand_path(File.join(File.dirname(__FILE__), '..', 'lib', 'shindo', 'bin'))
+-if Kernel.respond_to?(:require_relative)
+-  require_relative File.expand_path(File.join(File.dirname(__FILE__), '..', 'lib', 'shindo', 'bin'))
+-else
+-  require File.expand_path(File.join(File.dirname(__FILE__), '..', 'lib', 'shindo', 'bin'))
+-end
 +require 'shindo/verbose'
 +require 'shindo/bin'
 --- a/bin/shindont
 +++ b/bin/shindont
-@@ -1,4 +1,4 @@
+@@ -1,8 +1,4 @@
  #!/usr/bin/env ruby
  @thread_locals = { :interactive => false }
 -require File.expand_path(File.join(File.dirname(__FILE__), '..', 'lib', 'shindo', 'taciturn'))
--require File.expand_path(File.join(File.dirname(__FILE__), '..', 'lib', 'shindo', 'bin'))
+-if Kernel.respond_to?(:require_relative)
+-  require_relative File.expand_path(File.join(File.dirname(__FILE__), '..', 'lib', 'shindo', 'bin'))
+-else
+-  require File.expand_path(File.join(File.dirname(__FILE__), '..', 'lib', 'shindo', 'bin'))
+-end
 +require 'shindo/taciturn'
 +require 'shindo/bin'

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



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