[DRE-commits] [SCM] racc.git branch, master, updated. debian/1.4.8-1-5-gc2c71b5

Taku YASUI tach at debian.org
Sun Jun 17 16:18:58 UTC 2012


The following commit has been merged in the master branch:
commit b64c23de59ab993eb2f0a4fb06051b590dd3bbb9
Author: Taku YASUI <tach at debian.org>
Date:   Mon Jun 18 01:02:00 2012 +0900

    Fix not to use deprecated functions.

diff --git a/debian/changelog b/debian/changelog
index 93e6930..73467b5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+racc (1.4.8-3) UNRELEASED; urgency=low
+
+  * Fix not to use deprecated functions.
+    - Add debian/patches/040_fix_deprecated
+
+ -- Taku YASUI <tach at debian.org>  Mon, 18 Jun 2012 01:01:35 +0900
+
 racc (1.4.8-1) unstable; urgency=low
 
   * New upstream release.
diff --git a/debian/patches/040_fix_deprecated b/debian/patches/040_fix_deprecated
new file mode 100644
index 0000000..383d468
--- /dev/null
+++ b/debian/patches/040_fix_deprecated
@@ -0,0 +1,11 @@
+--- a/lib/racc/parserfilegenerator.rb
++++ b/lib/racc/parserfilegenerator.rb
+@@ -114,7 +114,7 @@
+       footer
+     end
+ 
+-    c = ::Config::CONFIG
++    c = ::RbConfig::CONFIG
+     RUBY_PATH = "#{c['bindir']}/#{c['ruby_install_name']}#{c['EXEEXT']}"
+ 
+     def shebang(path)
diff --git a/debian/patches/series b/debian/patches/series
index b297d1e..6682f68 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
 010_disable_ext
 020_test_helper_ruby_path_fix
 030_move_test_log
+040_fix_deprecated

-- 
racc.git



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