summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
Diffstat (limited to 'package')
-rw-r--r--package/ruby/Makefile10
-rw-r--r--package/ruby/patches/patch-missing_isinf_c19
-rw-r--r--package/ruby/patches/patch-missing_isnan_c11
3 files changed, 5 insertions, 35 deletions
diff --git a/package/ruby/Makefile b/package/ruby/Makefile
index 0987e40e9..11c1c07f0 100644
--- a/package/ruby/Makefile
+++ b/package/ruby/Makefile
@@ -4,16 +4,16 @@
include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= ruby
-PKG_VERSION:= 2.3.3
+PKG_VERSION:= 2.4.0
PKG_RELEASE:= 1
-PKG_HASH:= 241408c8c555b258846368830a06146e4849a1d58dcaf6b14a3b6a73058115b7
+PKG_HASH:= 152fd0bd15a90b4a18213448f485d4b53e9f7662e1508190aa5b702446b29e3d
PKG_DESCR:= scripting language
PKG_SECTION:= dev/lang
PKG_BUILDDEP:= ruby-host libressl zlib
PKG_NEEDS:= threads
PKG_URL:= http://www.ruby-lang.org/
-PKG_SITES:= http://ftp.ruby-lang.org/pub/ruby/2.3/
-PKG_NOPARALLEL:= 1
+PKG_SITES:= http://ftp.ruby-lang.org/pub/ruby/2.4/
+#PKG_NOPARALLEL:= 1
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
@@ -42,7 +42,7 @@ HOST_CONFIGURE_ARGS+= --disable-install-doc \
--disable-rubygems
HOST_ALL_TARGET:= main
HOST_INSTALL_TARGET:= install-nodoc
-HOST_XAKE_FLAGS:= V=1 DESTDIR=""
+HOST_XAKE_FLAGS:= DESTDIR=""
ruby-install:
${INSTALL_DIR} ${IDIR_RUBY}/usr/lib/ruby
diff --git a/package/ruby/patches/patch-missing_isinf_c b/package/ruby/patches/patch-missing_isinf_c
deleted file mode 100644
index 6029850b9..000000000
--- a/package/ruby/patches/patch-missing_isinf_c
+++ /dev/null
@@ -1,19 +0,0 @@
---- ruby-2.0.0-p247.orig/missing/isinf.c 2011-05-15 13:55:52.000000000 +0200
-+++ ruby-2.0.0-p247/missing/isinf.c 2013-10-24 09:18:55.000000000 +0200
-@@ -5,6 +5,7 @@
- #define _IEEE 1
- #include <nan.h>
-
-+
- int
- isinf(double n)
- {
-@@ -52,6 +53,8 @@ static double zero(void) { return 0.0; }
- static double one (void) { return 1.0; }
- static double inf (void) { return one() / zero(); }
-
-+#undef isinf
-+
- int
- isinf(double n)
- {
diff --git a/package/ruby/patches/patch-missing_isnan_c b/package/ruby/patches/patch-missing_isnan_c
deleted file mode 100644
index f85fef4ec..000000000
--- a/package/ruby/patches/patch-missing_isnan_c
+++ /dev/null
@@ -1,11 +0,0 @@
---- ruby-2.0.0-p247.orig/missing/isnan.c 2010-07-28 10:12:01.000000000 +0200
-+++ ruby-2.0.0-p247/missing/isnan.c 2013-10-24 09:02:41.000000000 +0200
-@@ -4,6 +4,8 @@
-
- static int double_ne(double n1, double n2);
-
-+#undef isnan
-+
- int
- isnan(double n)
- {