summaryrefslogtreecommitdiffhomepage
path: root/patches
diff options
context:
space:
mode:
authorLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2017-07-30 22:10:01 +0200
committerLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2017-07-30 22:10:01 +0200
commiteddee680da17d8db464495af4fe5e57e4a332406 (patch)
treece8627acaf0b778699247cf6305b4eff231f6e27 /patches
parentd08b6722ad771e110e4e21201a203c0e465debe9 (diff)
downloadmidipix_build-eddee680da17d8db464495af4fe5e57e4a332406.tar.bz2
midipix_build-eddee680da17d8db464495af4fe5e57e4a332406.tar.xz
vars/build.vars, patches/ruby-2.3.0.local.patch: adds ruby v2.3.0 (via Redfoxmoon.)
Diffstat (limited to 'patches')
-rw-r--r--patches/ruby-2.3.0.local.patch38
1 files changed, 38 insertions, 0 deletions
diff --git a/patches/ruby-2.3.0.local.patch b/patches/ruby-2.3.0.local.patch
new file mode 100644
index 00000000..c0ff9277
--- /dev/null
+++ b/patches/ruby-2.3.0.local.patch
@@ -0,0 +1,38 @@
+--- ruby-2.3.0/enc/Makefile.in.orig 2015-01-18 04:56:52.000000000 +0100
++++ ruby-2.3.0/enc/Makefile.in 2017-07-30 20:20:04.296061880 +0200
+@@ -35,6 +35,7 @@
+ empty =
+ AR = @AR@
+ CC = @CC@
++LD = @CC@
+ ARFLAGS = @ARFLAGS@$(empty)
+ RANLIB = @RANLIB@
+ OUTFLAG = @OUTFLAG@$(empty)
+@@ -48,7 +49,7 @@
+ INCFLAGS = -I. -I$(arch_hdrdir) -I$(hdrdir) -I$(top_srcdir)
+ DEFS = @DEFS@
+ CPPFLAGS = @CPPFLAGS@ -DONIG_ENC_REGISTER=rb_enc_register
+-LDFLAGS = @LDFLAGS@
++LDFLAGS = @LDFLAGS@ -lruby-static -shared
+ LDSHARED = @LDSHARED@
+ ldflags = $(LDFLAGS)
+ dldflags = @DLDFLAGS@
+--- ruby-2.3.0/lib/mkmf.rb.orig 2015-12-16 10:25:48.000000000 +0100
++++ ruby-2.3.0/lib/mkmf.rb 2017-07-30 21:44:12.418432849 +0200
+@@ -1952,6 +1952,7 @@
+
+ CC = #{CONFIG['CC']}
+ CXX = #{CONFIG['CXX']}
++LD = #{CONFIG['CC']}
+ LIBRUBY = #{CONFIG['LIBRUBY']}
+ LIBRUBY_A = #{CONFIG['LIBRUBY_A']}
+ LIBRUBYARG_SHARED = #$LIBRUBYARG_SHARED
+@@ -1972,7 +1973,7 @@
+ DEFS = #{CONFIG['DEFS']}
+ CPPFLAGS = #{extconf_h}#{$CPPFLAGS}
+ CXXFLAGS = $(CCDLFLAGS) #$CXXFLAGS $(ARCH_FLAG)
+-ldflags = #{$LDFLAGS}
++ldflags = #{$LDFLAGS} -lruby-static -shared
+ dldflags = #{$DLDFLAGS} #{CONFIG['EXTDLDFLAGS']}
+ ARCH_FLAG = #{$ARCH_FLAG}
+ DLDFLAGS = $(ldflags) $(dldflags) $(ARCH_FLAG)