tebako 0.13.3 → 0.13.4
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 +4 -4
- data/CMakeLists.txt +4 -0
- data/lib/tebako/packager/pass1_patch.rb +9 -0
- data/lib/tebako/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bd66721b801c97f1aea46d966e31f06f87e1c317a351c912b41243b65180e8ee
|
4
|
+
data.tar.gz: f232c76a4cb3624435785ad467fc90d88dd95e933685ce05fedbf5b73098f6d9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3bafe4874a1a36fa91099f1aa55f9236bdb469363b6d3bc83daed7be6932f4b19dde841b4d2f1f4ab2c70d979407760b444e95e28e00bd28e8f7b09772f5cca8
|
7
|
+
data.tar.gz: 19683dd962edcc5e80d31e302874e09593b97c1a2c7eec5fd2ccc81f29ccd87054f1018359f37db20a121d3d59c9aea99d5e8bf4ad944c857ce331842ad42bc4
|
data/CMakeLists.txt
CHANGED
@@ -321,6 +321,10 @@ endif(IS_GNU)
|
|
321
321
|
set(RUBY_L_FLAGS "-L${DEPS_LIB_DIR} -L${CMAKE_CURRENT_BINARY_DIR}")
|
322
322
|
set(RUBY_C_FLAGS "-fPIC -I${DEPS_INCLUDE_DIR} -I${CMAKE_CURRENT_SOURCE_DIR}/include -Wno-incompatible-pointer-types")
|
323
323
|
|
324
|
+
if(${RUBY_VER} VERSION_LESS "3.2.0" AND CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL "15.0.0" AND "${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
|
325
|
+
string(CONCAT RUBY_C_FLAGS ${RUBY_C_FLAGS} " -std=gnu17")
|
326
|
+
endif(${RUBY_VER} VERSION_LESS "3.2.0" AND CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL "15.0.0" AND "${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
|
327
|
+
|
324
328
|
# Shadow
|
325
329
|
# https://github.com/deivid-rodriguez/byebug/issues/825
|
326
330
|
# (it happens under some conditions though it is hard to explain when)
|
@@ -121,6 +121,11 @@ module Tebako
|
|
121
121
|
"Logging::message \"=== Checking done. ===\\n\"" => OPENSSL_EXTCONF_RB_SUBST
|
122
122
|
}.freeze
|
123
123
|
|
124
|
+
ENC_JIS_PROPS_H_PATCH = {
|
125
|
+
"static const struct enc_property *onig_jis_property(/*const char *str, unsigned int len*/);" =>
|
126
|
+
"/* tebako patched */ static const struct enc_property *onig_jis_property(const char *str, size_t len);"
|
127
|
+
}.freeze
|
128
|
+
|
124
129
|
def initialize(mount_point, ruby_ver)
|
125
130
|
super(mount_point)
|
126
131
|
@ruby_ver = ruby_ver
|
@@ -161,6 +166,10 @@ module Tebako
|
|
161
166
|
# fails to deal with a default gem from statically linked extension
|
162
167
|
pm.store("lib/rubygems/openssl.rb", RUBYGEMS_OPENSSL_RB_PATCH) if @ruby_ver.ruby3x?
|
163
168
|
|
169
|
+
# ....................................................
|
170
|
+
# fix onig_jis_property signature (gcc 15 compatibility issue)
|
171
|
+
pm.store("enc/jis/props.h", ENC_JIS_PROPS_H_PATCH) unless @ruby_ver.ruby32?
|
172
|
+
|
164
173
|
pm.freeze
|
165
174
|
end
|
166
175
|
end
|
data/lib/tebako/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tebako
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.13.
|
4
|
+
version: 0.13.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-
|
11
|
+
date: 2025-05-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|