[DRE-commits] [ruby-ncurses] 04/04: Add patch Absolute path to ruby interpreter

Per Andersson avtobiff-guest at moszumanska.debian.org
Thu Mar 20 13:25:30 UTC 2014


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

avtobiff-guest pushed a commit to branch master
in repository ruby-ncurses.

commit a7da4919773f564ab672ee6ea6a81bff44081bfd
Author: Per Andersson <avtobiff at gmail.com>
Date:   Thu Mar 20 14:20:19 2014 +0100

    Add patch Absolute path to ruby interpreter
    
    Patch shebang to use absolute path in examples/color_pairs.rb.
---
 debian/changelog                                            |  1 +
 debian/patches/0002-Absolute-path-to-ruby-interpreter.patch | 12 ++++++++++++
 debian/patches/series                                       |  1 +
 3 files changed, 14 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 5f0fdf7..1546d95 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ ruby-ncurses (1.4.7+dfsg-1) unstable; urgency=low
 
   * New upstream release (Closes: #736571)
   * Refresh patch Use ncursesw includes
+  * Add patch to use absolute path in shebang in examples/color_pairs.rb
 
  -- Per Andersson <avtobiff at gmail.com>  Thu, 20 Mar 2014 13:48:40 +0100
 
diff --git a/debian/patches/0002-Absolute-path-to-ruby-interpreter.patch b/debian/patches/0002-Absolute-path-to-ruby-interpreter.patch
new file mode 100644
index 0000000..9726a51
--- /dev/null
+++ b/debian/patches/0002-Absolute-path-to-ruby-interpreter.patch
@@ -0,0 +1,12 @@
+Description: Absolute path to ruby interpreter
+Author: Per Andersson <avtobiff at gmail.com>
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/examples/color_pairs.rb
++++ b/examples/color_pairs.rb
+@@ -1,4 +1,4 @@
+-#! ruby
++#!/usr/bin/ruby
+ 
+ require 'ncursesw'
+ 
diff --git a/debian/patches/series b/debian/patches/series
index 5d6ef3b..72218d7 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 0001-Use-ncursesw-includes.patch
+0002-Absolute-path-to-ruby-interpreter.patch

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



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