aboutsummaryrefslogtreecommitdiffstats
path: root/packages/ruby/files
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openembedded.org>2007-01-17 19:59:10 +0000
committerMarcin Juszkiewicz <hrw@openembedded.org>2007-01-17 19:59:10 +0000
commitb4ec03df90824ca0f7c1130ef19f40724b800c3b (patch)
treecd471538c75251e2e1320048db97f6c61aba00e4 /packages/ruby/files
parent070f71e1d468e29882c8c2f42ed5f50c7fefa7ad (diff)
downloadopenembedded-b4ec03df90824ca0f7c1130ef19f40724b800c3b.tar.gz
openembedded-b4ec03df90824ca0f7c1130ef19f40724b800c3b.tar.bz2
openembedded-b4ec03df90824ca0f7c1130ef19f40724b800c3b.zip
ruby: rename dir to give patches for ruby-native
Diffstat (limited to 'packages/ruby/files')
-rw-r--r--packages/ruby/files/.mtn2git_empty0
-rw-r--r--packages/ruby/files/disable_wide_getaddrinfo_check.patch16
-rw-r--r--packages/ruby/files/extmk_run.patch15
3 files changed, 31 insertions, 0 deletions
diff --git a/packages/ruby/files/.mtn2git_empty b/packages/ruby/files/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/ruby/files/.mtn2git_empty
diff --git a/packages/ruby/files/disable_wide_getaddrinfo_check.patch b/packages/ruby/files/disable_wide_getaddrinfo_check.patch
new file mode 100644
index 0000000000..82137896b9
--- /dev/null
+++ b/packages/ruby/files/disable_wide_getaddrinfo_check.patch
@@ -0,0 +1,16 @@
+--- packages/ruby/ruby-1.8.5/disable_wide_getaddrinfo_check.patch f667776fd8760b7048cc9617930112347b0ef2c0
++++ packages/ruby/ruby-1.8.5/disable_wide_getaddrinfo_check.patch f667776fd8760b7048cc9617930112347b0ef2c0
+@@ -0,0 +1,13 @@
++--- ruby-1.8.5/ext/socket/extconf.rb.orig 2006-12-30 15:12:31.000000000 +1100
+++++ ruby-1.8.5/ext/socket/extconf.rb 2006-12-30 15:16:24.000000000 +1100
++@@ -216,6 +216,10 @@
++ }
++ EOF
++ end
+++# Ignore the actual result of the above test and assume that
+++# everything is OK.
+++getaddr_info_ok = true
+++
++ if ipv6 and not getaddr_info_ok
++ abort <<EOS
++
diff --git a/packages/ruby/files/extmk_run.patch b/packages/ruby/files/extmk_run.patch
new file mode 100644
index 0000000000..57926f51b0
--- /dev/null
+++ b/packages/ruby/files/extmk_run.patch
@@ -0,0 +1,15 @@
+============================================================
+--- packages/ruby/ruby-1.8.5/extmk_run.patch d9738b5a71e2f9a98d009af9fd0ef1ceaff9ef48
++++ packages/ruby/ruby-1.8.5/extmk_run.patch d9738b5a71e2f9a98d009af9fd0ef1ceaff9ef48
+@@ -0,0 +1,11 @@
++--- ruby-1.8.5/common.mk.orig 2006-12-30 13:07:32.000000000 +1100
+++++ ruby-1.8.5/common.mk 2006-12-30 13:08:32.000000000 +1100
++@@ -56,7 +56,7 @@
++ --make="$(MAKE)" \
++ --mflags="$(MFLAGS)" \
++ --make-flags="$(MAKEFLAGS)"
++-EXTMK_ARGS = $(SCRIPT_ARGS) --extout="$(EXTOUT)" --extension $(EXTS) --extstatic $(EXTSTATIC) --
+++EXTMK_ARGS = $(SCRIPT_ARGS) --with-ldflags="%%TARGET_LDFLAGS%%" --with-cflags="%%TARGET_CFLAGS%%" --extout="$(EXTOUT)" --extension $(EXTS) --extstatic $(EXTSTATIC) --
++
++ all: $(MKFILES) $(PREP) $(RBCONFIG) $(LIBRUBY)
++ @$(MINIRUBY) $(srcdir)/ext/extmk.rb $(EXTMK_ARGS)