[DRE-commits] [SCM] ruby-mmap.git branch, master, updated. 704bdc396db7760bc33e1ac6e95d3a2808c6b5fe

Paul van Tilburg paulvt at debian.org
Wed Dec 28 20:25:16 UTC 2011


The following commit has been merged in the master branch:
commit 136cafb8d950fbcd254273f1a2ea2f9096f29159
Author: Paul van Tilburg <paulvt at debian.org>
Date:   Wed Dec 28 21:00:34 2011 +0100

    Added fix_mmap_sofile_require to make mmap.rb require the right file.

diff --git a/debian/changelog b/debian/changelog
index c2b4bd0..da9eb63 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -15,8 +15,11 @@ ruby-mmap (0.2.6-4) UNRELEASED; urgency=low
       convention the team is the default maintainer.
     - Added libmmap-ruby and libdbus-ruby1.8 as transitional packages.
   * debian/copyright: reworked to fit the DEP5 format.
+  * debian/patches:
+    - Added fix_mmap_sofile_require to make mmap.rb require the right
+      file.
 
- -- Paul van Tilburg <paulvt at debian.org>  Wed, 05 Oct 2011 16:39:57 +0200
+ -- Paul van Tilburg <paulvt at debian.org>  Wed, 28 Dec 2011 20:52:42 +0100
 
 libmmap-ruby (0.2.6-3) unstable; urgency=low
 
diff --git a/debian/patches/fix_mmap_sofile_require b/debian/patches/fix_mmap_sofile_require
new file mode 100644
index 0000000..795ed18
--- /dev/null
+++ b/debian/patches/fix_mmap_sofile_require
@@ -0,0 +1,13 @@
+Index: ruby-mmap/lib/mmap.rb
+===================================================================
+--- ruby-mmap.orig/lib/mmap.rb	2011-10-09 17:08:02.000000000 +0200
++++ ruby-mmap/lib/mmap.rb	2011-12-28 20:51:56.000000000 +0100
+@@ -4,7 +4,7 @@
+ #
+ # === WARNING
+ # === The variables $' and $` are not available with gsub! and sub!
+-require 'mmap/mmap'
++require 'mmap.so'
+ 
+ class Mmap
+   include Comparable
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..d51b28b
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+fix_mmap_sofile_require

-- 
ruby-mmap.git



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