[DRE-commits] [SCM] adlint.git branch, master, updated. upstream/1.0.0-10-gdcbfd60

TANIGUCHI Takaki takaki at asis.media-as.org
Sun Mar 4 05:49:53 UTC 2012


The following commit has been merged in the master branch:
commit 5598ff86cbf0463555b09e92e7d8ac9a08af173d
Author: TANIGUCHI Takaki <takaki at asis.media-as.org>
Date:   Fri Mar 2 11:29:41 2012 +0900

    fix etc path

diff --git a/patches/fix_etc_path b/patches/fix_etc_path
new file mode 100644
index 0000000..b5b616d
--- /dev/null
+++ b/patches/fix_etc_path
@@ -0,0 +1,65 @@
+Index: adlint/bin/adlint
+===================================================================
+--- adlint.orig/bin/adlint	2012-03-02 10:28:48.039548163 +0900
++++ adlint/bin/adlint	2012-03-02 11:27:56.451702350 +0900
+@@ -36,7 +36,7 @@
+ $bindir = Pathname.new(__FILE__).realpath.dirname
+ $prefix = Pathname.new("..").expand_path($bindir)
+ $libdir = Pathname.new("lib").expand_path($prefix)
+-$etcdir = Pathname.new("etc").expand_path($prefix)
++$etcdir = Pathname.new("etc/adlint").expand_path("/")
+ 
+ $stdout.set_encoding(Encoding.default_external)
+ $stderr.set_encoding(Encoding.default_external)
+Index: adlint/bin/adlint_chk
+===================================================================
+--- adlint.orig/bin/adlint_chk	2012-03-02 10:28:48.039548163 +0900
++++ adlint/bin/adlint_chk	2012-03-02 11:28:08.619702829 +0900
+@@ -36,7 +36,7 @@
+ $bindir = Pathname.new(__FILE__).realpath.dirname
+ $prefix = Pathname.new("..").expand_path($bindir)
+ $libdir = Pathname.new("lib").expand_path($prefix)
+-$etcdir = Pathname.new("etc").expand_path($prefix)
++$etcdir = Pathname.new("etc/adlint").expand_path("/")
+ 
+ $stdout.set_encoding(Encoding.default_external)
+ $stderr.set_encoding(Encoding.default_external)
+Index: adlint/bin/adlint_cma
+===================================================================
+--- adlint.orig/bin/adlint_cma	2012-03-02 10:28:48.039548163 +0900
++++ adlint/bin/adlint_cma	2012-03-02 11:28:22.111703359 +0900
+@@ -36,7 +36,7 @@
+ $bindir = Pathname.new(__FILE__).realpath.dirname
+ $prefix = Pathname.new("..").expand_path($bindir)
+ $libdir = Pathname.new("lib").expand_path($prefix)
+-$etcdir = Pathname.new("etc").expand_path($prefix)
++$etcdir = Pathname.new("etc/adlint").expand_path("/")
+ 
+ $stdout.set_encoding(Encoding.default_external)
+ $stderr.set_encoding(Encoding.default_external)
+Index: adlint/bin/adlint_sma
+===================================================================
+--- adlint.orig/bin/adlint_sma	2012-03-02 10:28:48.039548163 +0900
++++ adlint/bin/adlint_sma	2012-03-02 11:28:34.779703860 +0900
+@@ -36,7 +36,7 @@
+ $bindir = Pathname.new(__FILE__).realpath.dirname
+ $prefix = Pathname.new("..").expand_path($bindir)
+ $libdir = Pathname.new("lib").expand_path($prefix)
+-$etcdir = Pathname.new("etc").expand_path($prefix)
++$etcdir = Pathname.new("etc/adlint").expand_path("/")
+ 
+ $stdout.set_encoding(Encoding.default_external)
+ $stderr.set_encoding(Encoding.default_external)
+Index: adlint/bin/adlintize
+===================================================================
+--- adlint.orig/bin/adlintize	2012-03-02 10:28:48.039548163 +0900
++++ adlint/bin/adlintize	2012-03-02 11:28:44.731704252 +0900
+@@ -36,7 +36,7 @@
+ $bindir = Pathname.new(__FILE__).realpath.dirname
+ $prefix = Pathname.new("..").expand_path($bindir)
+ $libdir = Pathname.new("lib").expand_path($prefix)
+-$etcdir = Pathname.new("etc").expand_path($prefix)
++$etcdir = Pathname.new("etc/adlint").expand_path("/")
+ 
+ $:.unshift($libdir.to_s)
+ 
diff --git a/patches/series b/patches/series
new file mode 100644
index 0000000..6947ecc
--- /dev/null
+++ b/patches/series
@@ -0,0 +1 @@
+fix_etc_path

-- 
adlint.git



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