From b4ec03df90824ca0f7c1130ef19f40724b800c3b Mon Sep 17 00:00:00 2001
From: Marcin Juszkiewicz <hrw@openembedded.org>
Date: Wed, 17 Jan 2007 19:59:10 +0000
Subject: ruby: rename dir to give patches for ruby-native

---
 packages/ruby/files/.mtn2git_empty                       |  0
 packages/ruby/files/disable_wide_getaddrinfo_check.patch | 16 ++++++++++++++++
 packages/ruby/files/extmk_run.patch                      | 15 +++++++++++++++
 packages/ruby/ruby-1.8.5/.mtn2git_empty                  |  0
 .../ruby/ruby-1.8.5/disable_wide_getaddrinfo_check.patch | 16 ----------------
 packages/ruby/ruby-1.8.5/extmk_run.patch                 | 15 ---------------
 6 files changed, 31 insertions(+), 31 deletions(-)
 create mode 100644 packages/ruby/files/.mtn2git_empty
 create mode 100644 packages/ruby/files/disable_wide_getaddrinfo_check.patch
 create mode 100644 packages/ruby/files/extmk_run.patch
 delete mode 100644 packages/ruby/ruby-1.8.5/.mtn2git_empty
 delete mode 100644 packages/ruby/ruby-1.8.5/disable_wide_getaddrinfo_check.patch
 delete mode 100644 packages/ruby/ruby-1.8.5/extmk_run.patch

(limited to 'packages')

diff --git a/packages/ruby/files/.mtn2git_empty b/packages/ruby/files/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
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)
diff --git a/packages/ruby/ruby-1.8.5/.mtn2git_empty b/packages/ruby/ruby-1.8.5/.mtn2git_empty
deleted file mode 100644
index e69de29bb2..0000000000
diff --git a/packages/ruby/ruby-1.8.5/disable_wide_getaddrinfo_check.patch b/packages/ruby/ruby-1.8.5/disable_wide_getaddrinfo_check.patch
deleted file mode 100644
index 82137896b9..0000000000
--- a/packages/ruby/ruby-1.8.5/disable_wide_getaddrinfo_check.patch
+++ /dev/null
@@ -1,16 +0,0 @@
---- 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/ruby-1.8.5/extmk_run.patch b/packages/ruby/ruby-1.8.5/extmk_run.patch
deleted file mode 100644
index 57926f51b0..0000000000
--- a/packages/ruby/ruby-1.8.5/extmk_run.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-============================================================
---- 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)
-- 
cgit v1.2.3