[DRE-commits] [racc] 08/09: patchs: Refresh and add Dep3 headers

Sebastien Badia sbadia-guest at moszumanska.debian.org
Wed Aug 19 15:43:02 UTC 2015


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

sbadia-guest pushed a commit to branch master
in repository racc.

commit 840906a9d43800add6ea94ea134ce60776f11f8e
Author: Sebastien Badia <seb at sebian.fr>
Date:   Wed Aug 19 17:33:34 2015 +0200

    patchs: Refresh and add Dep3 headers
---
 debian/patches/010_disable_ext               | 11 ++++++++---
 debian/patches/020_test_helper_ruby_path_fix | 13 +++++++++----
 2 files changed, 17 insertions(+), 7 deletions(-)

diff --git a/debian/patches/010_disable_ext b/debian/patches/010_disable_ext
index 26d636d..38283ea 100644
--- a/debian/patches/010_disable_ext
+++ b/debian/patches/010_disable_ext
@@ -1,6 +1,11 @@
---- racc.orig/metadata.yml
-+++ racc/metadata.yml
-@@ -68,8 +68,6 @@ executables:
+Description: Disable build extension
+Author: Taku YASUI <tach at debian.org>
+Forwarded: not-needed
+Last-Update: 2012-05-08
+
+--- a/metadata.yml
++++ b/metadata.yml
+@@ -79,8 +79,6 @@ executables:
  - racc
  - racc2y
  - y2racc
diff --git a/debian/patches/020_test_helper_ruby_path_fix b/debian/patches/020_test_helper_ruby_path_fix
index a21cb33..3c1c04d 100644
--- a/debian/patches/020_test_helper_ruby_path_fix
+++ b/debian/patches/020_test_helper_ruby_path_fix
@@ -1,10 +1,15 @@
---- racc.orig/test/helper.rb
-+++ racc/test/helper.rb
-@@ -81,7 +81,8 @@ module Racc
+Description: Fix Ruby path for helper script
+Author: Taku YASUI <tach at debian.org>
+Forwarded: not-needed
+Last-Update: 2012-05-08
+
+--- a/test/helper.rb
++++ b/test/helper.rb
+@@ -77,7 +77,8 @@ module Racc
      def ruby arg
        Dir.chdir(TEST_DIR) do
          Tempfile.open 'test' do |io|
--          cmd = "#{ENV['_']} -I #{INC} #{arg} 2>#{io.path}"
+-          cmd = "#{ENV['_'] || Gem.ruby} -I #{INC} #{arg} 2>#{io.path}"
 +          cmd = File.symlink?("/proc/#{$$}/exe") ? File.readlink("/proc/#{$$}/exe") : ENV['_']
 +          cmd = "#{cmd} -I #{INC} #{arg} 2>#{io.path}"
            result = system(cmd)

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



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