~ubuntu-branches/ubuntu/intrepid/ruby1.9/intrepid-updates

« back to all changes in this revision

Viewing changes to debian/patches/902_define_YAML_in_yaml_stringio.rb.dpatch

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2007-09-04 16:01:17 UTC
  • mfrom: (1.1.8 upstream)
  • Revision ID: james.westby@ubuntu.com-20070904160117-i15zckg2nhxe9fyw
Tags: 1.9.0+20070830-2ubuntu1
* Sync from Debian; remaining changes:
  - Add -g to CFLAGS.
* Fixes build failure on ia64.
* Fixes build failure with gcc-4.2 on lpia.
* Robustify check for target_os, fixing build failure on lpia.
* Set Ubuntu maintainer address.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#! /bin/sh /usr/share/dpatch/dpatch-run
 
2
## 902_define_YAML_in_yaml_stringio.rb.dpatch by akira yamada <akira@debian.org>
 
3
##
 
4
## All lines beginning with `## DP:' are a description of the patch.
 
5
## DP: YAML module is needed.  (It is a workaround for generating RDoc.)
 
6
 
 
7
@DPATCH@
 
8
diff -urNad ruby1.9-1.9.0+20070830~/lib/yaml/stringio.rb ruby1.9-1.9.0+20070830/lib/yaml/stringio.rb
 
9
--- ruby1.9-1.9.0+20070830~/lib/yaml/stringio.rb        2007-02-13 08:01:19.000000000 +0900
 
10
+++ ruby1.9-1.9.0+20070830/lib/yaml/stringio.rb 2007-08-30 12:25:33.000000000 +0900
 
11
@@ -49,6 +49,7 @@
 
12
         end
 
13
     end
 
14
 
 
15
+    module YAML
 
16
        #
 
17
        # Class method for creating streams
 
18
        #
 
19
@@ -78,6 +79,6 @@
 
20
         end
 
21
         io
 
22
        end
 
23
-
 
24
+    end
 
25
 end
 
26