tebako 0.15.5 → 0.15.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 870838f8bc3e816c81e57029f0723175ec84c10ab8f06310ba7ede8b1c45ab37
4
- data.tar.gz: d0d1a2740cb0400a4e1c62696758fbb9a0abbe20c622a3ed8135c78308471e5c
3
+ metadata.gz: c715e1aa147daa49822f94e67fccd62fba55abebce35579a9b5aec3fc13dd400
4
+ data.tar.gz: b9d4d2d079162a8e557c88cd46ee827fd82b3b7cbca6ebd4adf0935b25a4c266
5
5
  SHA512:
6
- metadata.gz: 3a5faf5d50ac825a8103f2ebdc6118f49e2bdbf8637b2aeecee26e3780dcddc1d71937d01c1ce8269f8a03c25b19d2b5b888c5bd2c2f1480647103e69ecb3860
7
- data.tar.gz: e9fccfd4b1573b2542f5ffcdac8fc19f7ab753ecdf7542bcb6199c364ea67c36b706560f8d00a6f7cf3036e65f0ceeaf3cb0067e21880b85fd5cd9807f3d516f
6
+ metadata.gz: abe104408b954c1da7cb133c9c55c5d3c9926bcf5e253e9b633d4a954cb333b78272a3128cb119554d27e3616f02ef48d1db80c51ae90710e520fca25c774234
7
+ data.tar.gz: fbae51e79b5525115f05f043c39d98d06a9e9b9ba4ccbd1a2ff2d31be0f035765b830e70cdce7b030c321b22eb853528297f90bed634a8927a929083614bddfb
@@ -268,7 +268,10 @@ module Tebako
268
268
  "win32/win32.c" => WIN32_WIN32_C_CLOCK_PATCH,
269
269
  # ....................................................
270
270
  # Group-wrap the static-ext ruby.exe link libraries
271
- "common.mk" => COMMON_MK_STATIC_RUBY_LINK_PATCH
271
+ "common.mk" => COMMON_MK_STATIC_RUBY_LINK_PATCH,
272
+ # ....................................................
273
+ # Group-wrap the generated Makefile's PROGRAM link (msys)
274
+ "template/Makefile.in" => TEMPLATE_MAKEFILE_IN_STATIC_RUBY_LINK_PATCH
272
275
  }
273
276
  end
274
277
 
@@ -188,7 +188,10 @@ module Tebako
188
188
  "win32/win32.c" => WIN32_WIN32_C_MSYS_PATCHES,
189
189
  # Group-wrap the static-ext ruby.exe link libraries for the final
190
190
  # build (same common.mk STATIC_RUBY rule as the toolchain build)
191
- "common.mk" => COMMON_MK_STATIC_RUBY_LINK_PATCH
191
+ "common.mk" => COMMON_MK_STATIC_RUBY_LINK_PATCH,
192
+ # ....................................................
193
+ # Group-wrap the generated Makefile's PROGRAM link (msys)
194
+ "template/Makefile.in" => TEMPLATE_MAKEFILE_IN_STATIC_RUBY_LINK_PATCH
192
195
  }
193
196
  end
194
197
  end
@@ -56,6 +56,20 @@ module Tebako
56
56
  "-Wl,--end-group $(OUTFLAG)$@ # tebako patched"
57
57
  }.freeze
58
58
 
59
+ # The PROGRAM link in template/Makefile.in (the generated Makefile --
60
+ # the one the exts.mk submake actually links ruby.exe with) has the same
61
+ # static-lib ordering problem on msys. Ruby 3.3+ links
62
+ # MAINLIBS+EXTLIBS; 3.1/3.2 link MAINLIBS+LIBS+EXTLIBS -- wrap both
63
+ # shapes (only one matches per version, the other is a harmless no-op).
64
+ TEMPLATE_MAKEFILE_IN_STATIC_RUBY_LINK_PATCH = {
65
+ "$(LIBRUBYARG) $(MAINLIBS) $(EXTLIBS) $(OUTFLAG)$@" =>
66
+ "$(LIBRUBYARG) -Wl,--start-group $(MAINLIBS) $(EXTLIBS) -Wl,--end-group $(OUTFLAG)$@ " \
67
+ "# tebako patched",
68
+ "$(LIBRUBYARG) $(MAINLIBS) $(LIBS) $(EXTLIBS) $(OUTFLAG)$@" =>
69
+ "$(LIBRUBYARG) -Wl,--start-group $(MAINLIBS) $(LIBS) $(EXTLIBS) -Wl,--end-group " \
70
+ "$(OUTFLAG)$@ # tebako patched"
71
+ }.freeze
72
+
59
73
  # Ruby patching definitions (common base)
60
74
  class Patch
61
75
  def patch_map
@@ -26,5 +26,5 @@
26
26
  # POSSIBILITY OF SUCH DAMAGE.
27
27
 
28
28
  module Tebako
29
- VERSION = "0.15.5"
29
+ VERSION = "0.15.6"
30
30
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tebako
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.15.5
4
+ version: 0.15.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.