/[pkg-ruby-extras]/trunk/tokyocabinet-ruby/debian/patches/change_require_statements_using_relative_paths.patch
ViewVC logotype

Contents of /trunk/tokyocabinet-ruby/debian/patches/change_require_statements_using_relative_paths.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 5780 - (show annotations) (download)
Wed Aug 18 20:38:42 2010 UTC (2 years, 9 months ago) by spk-guest
File size: 1653 byte(s)
[svn-inject] Application des modifications Debian (1.30-2) pour le trunk
1 Description: Change require statements using relative paths for Ruby 1.9.2
2 * memsize.rb, tcatest.rb, tcbtest.rb, tcftest.rb, tchtest.rb, tcttest.rb:
3 replace «require 'tokyocabinet'» by «require './tokyocabinet'»
4 Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=593098
5 Author: Laurent Arnoud <laurent@spkdev.net>
6 --- a/memsize.rb
7 +++ b/memsize.rb
8 @@ -1,6 +1,6 @@
9 #! /usr/bin/ruby
10
11 -require 'tokyocabinet'
12 +require './tokyocabinet'
13 include TokyoCabinet
14
15 def memoryusage()
16 --- a/tcatest.rb
17 +++ b/tcatest.rb
18 @@ -16,7 +16,7 @@
19 #-------------------------------------------------------------------------------------------------
20
21
22 -require 'tokyocabinet'
23 +require './tokyocabinet'
24 include TokyoCabinet
25
26
27 --- a/tcbtest.rb
28 +++ b/tcbtest.rb
29 @@ -16,7 +16,7 @@
30 #-------------------------------------------------------------------------------------------------
31
32
33 -require 'tokyocabinet'
34 +require './tokyocabinet'
35 include TokyoCabinet
36
37
38 --- a/tcftest.rb
39 +++ b/tcftest.rb
40 @@ -16,7 +16,7 @@
41 #-------------------------------------------------------------------------------------------------
42
43
44 -require 'tokyocabinet'
45 +require './tokyocabinet'
46 include TokyoCabinet
47
48
49 --- a/tchtest.rb
50 +++ b/tchtest.rb
51 @@ -16,7 +16,7 @@
52 #-------------------------------------------------------------------------------------------------
53
54
55 -require 'tokyocabinet'
56 +require './tokyocabinet'
57 include TokyoCabinet
58
59
60 --- a/tcttest.rb
61 +++ b/tcttest.rb
62 @@ -16,7 +16,7 @@
63 #-------------------------------------------------------------------------------------------------
64
65
66 -require 'tokyocabinet'
67 +require './tokyocabinet'
68 include TokyoCabinet
69
70

  ViewVC Help
Powered by ViewVC 1.1.5