[DRE-commits] [SCM] ruby-platform.git branch, master, updated. debian/0.4.0-2-1-g5319080

Laurent Bigonville bigon at bigon.be
Thu May 24 12:34:17 UTC 2012


The following commit has been merged in the master branch:
commit 53190807ea03da413a437b117141b44c2a1c8d05
Author: Laurent Bigonville <bigon at bigon.be>
Date:   Thu May 24 14:33:31 2012 +0200

    Add debian/patches/add_hurd_detection.patch: GNU Hurd detection, thanks to Pino Toscano

diff --git a/debian/changelog b/debian/changelog
index 08d4e8a..750cbcb 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+ruby-platform (0.4.0-3) UNRELEASED; urgency=low
+
+  * Add debian/patches/add_hurd_detection.patch: GNU Hurd detection, thanks to
+    Pino Toscano
+
+ -- Laurent Bigonville <bigon at debian.org>  Thu, 24 May 2012 14:32:21 +0200
+
 ruby-platform (0.4.0-2) unstable; urgency=low
 
   * Add debian/ruby-platform-licence.mbox which contains the confirmation that
diff --git a/debian/patches/add_hurd_detection.patch b/debian/patches/add_hurd_detection.patch
new file mode 100644
index 0000000..2cd3ac4
--- /dev/null
+++ b/debian/patches/add_hurd_detection.patch
@@ -0,0 +1,14 @@
+Description: Add GNU Hurd detection
+Author: Pino Toscano <toscano.pino at tiscali.it>
+Forwarded: no
+
+--- a/platform_0_4.rb     2012-05-24 14:26:39.000000000 +0200
++++ b/platform_0_4.rb     2012-05-24 14:26:52.000000000 +0200
+@@ -59,6 +59,7 @@
+       [ /os2/i,      :os2,       :os2 ],
+       [ /solaris/i,  :unix,      :solaris ], 
+       [ /irix/i,     :unix,      :irix ], 
++      [ /gnu/i,      :unix,      :hurd ],
+       [ /.*/,        :unknown,   :unknown ]
+    ]
+    (*), OS, IMPL = PLATFORMS.find { |p| RUBY_PLATFORM =~ /#{p[0]}/ }
diff --git a/debian/patches/series b/debian/patches/series
index 75b5492..6fb5626 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 add_architectures.patch
+add_hurd_detection.patch

-- 
ruby-platform.git



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